HP 5500 Ei 5500 Si Switch Series Configuration Guide
Have a look at the manual HP 5500 Ei 5500 Si Switch Series Configuration Guide online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 1114 HP manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
285 # Create VLAN 100, assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/4 to this VLAN, and enable MLD snooping and IPv6 PIM snooping in the VLAN. [SwitchA] vlan 100 [SwitchA-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/4 [SwitchA-vlan100] mld-snooping enable [SwitchA-vlan100] pim-snooping ipv6 enable [SwitchA-vlan100] quit 7. Verify the configuration: # On Switch A, display the IPv6 PIM snoo ping neighbor information of VLAN 100. [SwitchA] display pim-snooping ipv6 neighbor vlan 100 Total number of neighbors: 4 VLAN ID: 100 Total number of neighbors: 4 Neighbor Port Expires Option Flags FE80::1 GE1/0/1 02:02:23 LAN Prune Delay \ FE80::2 GE1/0/2 03:00:05 LAN Prune Delay \ FE80::3 GE1/0/3 02:22:13 LAN Prune Delay \ FE80::4 GE1/0/4 03:07:22 LAN Prune Delay \ The output shows that Router A, Router B, Router C, and Router D are IPv6 PIM snooping neighbors. # On Switch A, display the IPv6 PIM snooping routing information of VLAN 100. [SwitchA] display pim-snooping ipv6 routing-table vlan 100 slot 1 Total 2 entry(ies) FSM Flag: NI-no info, J-join, PP-prune pending VLAN ID: 100 Total 2 entry(ies) (*, FF1E::101) Upstream neighbor: FE80::1 Upstream port: GE1/0/1 Total number of downstream ports: 1 1: GE1/0/3 Expires: 00:03:01, FSM: J (*, FF2E::101) Upstream neighbor: FE80::1 Upstream port: GE1/0/2 Total number of downstream ports: 1 1: GE1/0/4 Expires: 00:01:05, FSM: J The output shows that Switch A will forward the multicast data intended for IPv6 multicast group FF1E::101 to only Router C, and forward the mu lticast data intended for IPv6 multicast group FF2E::101 to only Router D.
286 Troubleshooting IPv6 PIM snooping IPv6 PIM snooping does not work Symptom IPv6 PIM snooping does not work. Analysis MLD snooping or IPv6 PIM snooping is not enabled on the switch. Solution 1. Use the display current-configuration c o m m a n d t o c h e c k t h e s t a t u s o f M L D s n o o p i n g a n d I P v 6 P I M snooping. 2. If MLD snooping is not enabled, enter system view and use the mld-snooping command to enable MLD snooping globally. Then, enter VLAN view and use the mld-snooping enable and pim-snooping ipv6 enable commands to enable MLD snooping and IPv6 PIM snooping in the VLAN. 3. If IPv6 PIM snooping is not enabled, enter VLAN view and use the pim-snooping ipv6 enable command to enable IPv6 PIM snooping in the VLAN. Some downstream IPv6 PIM-capable routers cannot receive multicast data Symptom In a network with fragmented join/prune messages, some downstream IPv6 PIM-capable routers cannot receive multicast data. Analysis IPv6 PIM snooping cannot reassemble messages, and it cannot maintain the status of downstream routers that the join/prune message fragments carry. To ensure the normal operation of the system, IPv6 PIM snooping must broadcast join/prune message frag ments in the VLAN. However, if the VLAN has an IPv6 PIM-capable router that has the join suppression function enabled, the broadcast join/prune message fragments might suppress the join messages of other IPv6 PIM-capable routers in the VLAN. As a result, some IPv6 PIM-capable routers cannot re ceive the multicast data addressed to a specific multicast group because their join messages are suppressed. To solve this problem, disable the join suppression function on all IPv6 PIM-capable routers that connect to the IPv6 PIM snooping-capable switch in the VLAN. Solution 1. Use the pim ipv6 hello-option neighbor-tracking command to enable the neighbor tracking function on the interfaces of IPv6 PIM-ca pable routers that connect to the IPv6 PIM snooping-capable switch. 2. If the network has an IPv6 PIM-capable router that cannot be enabled with the neighbor tracking function, be sure to disable IPv6 PIM snooping on the IPv6 PIM snooping-capable switch.
287 Configuring IPv6 multicast VLANs Overview As shown in Figure 75, in the traditional IPv6 multicast programs-on-demand mode, when hosts (Host A, Host B, and Host C), which belong to different VLANs, require IPv6 multicast programs on demand service, the Layer 3 device, Router A, must forward a separate copy of the multicast traffic in each user VL A N to the Layer 2 devic e, Swi tch A . This resu l ts i n not only waste of network bandwidth but also extra burden on the Layer 3 device. Figure 75 Multicast transmission without IPv6 multicast VLAN The IPv6 multicast VLAN feature configured on the Layer 2 device is the solution to this issue. With the IPv6 multicast VLAN feature, the Layer 3 device needs to replicate the multicast traffic only in the IPv6 multicast VL AN instead of making a separate copy of the multicast traffic in each user VL AN. This saves the network bandwidth and lessens the burden of the Layer 3 device. The IPv6 multicast VLAN feature can be implemented in sub-VLAN-based IPv6 multicast VLAN and port-based IPv6 multicast VLAN. Sub-VLAN-based IPv6 multicast VLAN As shown in Figure 76 , Host A, Host B and Host C are in differ ent user VLANs. On Switch A, configure VLAN 10 as an IPv6 multicast VLAN, configure all the user VLANs as sub-VLANs of VLAN 10, and enable MLD snooping in the IPv6 multicast VLAN. Source Receiver Host A IPv6 Multicast packetsVLAN 2 VLAN 3 VLAN 4 VLAN 2 VLAN 3 VLAN 4 Switch A Receiver Host B Receiver Host CRouter A MLD querier
288 Figure 76 Sub-VLAN-based IPv6 multicast VLAN After the configuration, MLD snooping manages router ports in the IPv6 multicast VLAN and member ports in the sub-VLANs. When forwarding multicast dat a to Switch A, Router A sends only one copy of multicast data to Switch A in the IPv6 multicast VLAN, and Switch A distributes the data to the sub-VLANs that contain receivers. Port-based IPv6 multicast VLAN As shown in Figure 77, Ho st A, Host B, and Host C are in different user VLANs. All the user ports are hybrid ports. On Switch A, configure VLAN 10 as an IPv6 multicast VLAN, assign all the user ports to VLAN 10, and enable MLD snooping in the IPv6 multicast VLAN and all user VLANs. Figure 77 Port-based IPv6 multicast VLAN A f t e r t h e c o n fi g u ra t i o n, i f Swi t c h A re c eive s a n M L D m e s s a g e o n a u s e r p o r t, i t t a g s t h e m e s s a g e wi t h t h e I P v 6 m u l t i c a s t V L A N I D a n d re l a ys i t t o t h e M L D q u e ri e r, s o t h a t M L D s n o o p i n g c a n u n i f o r m l y m a n a g e t h e router ports and member ports in the IPv6 multicast VLAN. When Router A forwards multicast data to Switch A, it sends only one copy of multicast data to Switch A in the IPv6 multicast VL AN, and Switch A distributes the data to all member ports in the IPv6 multicast VLAN. For more information about MLD snooping, router ports, and member ports, see Configuring MLD sn ooping . Source VLAN 2 VLAN 3 VLAN 4 GE1/0/1 GE1/0/2 GE1/0/3 GE1/0/4 Switch A IPv6 Multicast packets Receiver Host A Receiver Host B Receiver Host C Router A MLD querier VLAN 10 (IPv6 Multicast VLAN)
289 For more information about VLAN tags, see Layer 2—LAN Switching Configuration Guide. IPv6 multicast VLAN configuration task list Configuration task Remarks Configuring a sub-VLAN-based IPv6 multicast VLAN Required Use either approach. Configuring a port-based IPv6 multicast VLAN Configuring user port attributes Configuring IPv6 multicast VLAN ports NOTE: If you have configured both sub-VLAN-based IPv6 multicast VLAN and port-based IPv6 multicast VLAN on a device, the port-based IPv6 multicast VLAN configuration is given preference. Configuring a sub-VLAN-based IPv6 multicast VLAN Configuration prerequisites Before you configure a sub-VLAN-based IPv6 multicast VLAN, complete the following tasks: • Create VLANs as required. • Enable MLD snooping in the VLAN to be configured as an IPv6 multicast VLAN. Configuration guidelines • You cannot configure an IPv6 multicast VLAN on a device with IP multicast routing enabled. • The VLAN to be configured as an IPv6 multicast VLAN must exist. • The VLANs to be configured as the sub-VLANs of the IPv6 multicast VLAN must exist and must not be IPv6 multicast VLANs or sub-VLANs of any other IPv6 multicast VLAN. • The total number of sub-VLANs of an IPv6 multicast VLAN must not exceed the maximum number the system can support. Configuration procedure In this approach, you configure a VLAN as an IPv6 multicast VLAN, and configure user VLANs as sub-VLANs of the IPv6 multicast VLAN. To configure a sub-VLAN-based IPv6 multicast VLAN: Step Command Remarks 1. Enter system view. system-view N/A 2. Configure the specified VLAN as an IPv6 multicast VLAN and enter IPv6 multicast VLAN view. multicast-vlan ipv6 vlan-id No IPv6 multicast VLAN configured by default.
290 Step Command Remarks 3. Configure the specified VLANs as sub-VLANs of the IPv6 multicast VLAN. subvlan vlan-list By default, an IPv6 multicast VLAN has no sub-VLANs. Configuring a port-based IPv6 multicast VLAN When you configure a port-based IPv6 multicast VLAN, you need to configure the attributes of each user port and then assign the ports to the IPv6 multicast VLAN. A user port can be configured as a multicast VLAN port o n l y i f i t i s a n E t h e r n e t p o r t o r L a ye r 2 a g g re g a t e interface. In Ethernet interface view or Layer 2 aggregate interf ace view, configurations that you make are effective only on the current interface. In port group view, co nfigurations that you make are effective on all ports in the current port group. Configuration prerequisites Before you configure a port-based IPv6 multicast VLAN, complete the following tasks: • Create VLANs as required. • Enable MLD snooping in the VLAN to be configured as an IPv6 multicast VLAN. • Enable MLD snooping in all the user VLANs. Configuring user port attributes Configure the user ports as hybrid ports to permit packets of the specified user VLAN to pass and configure the user VLAN to which the user ports belong as the default VLAN. Configure the user ports to permit packets of the IPv6 multicast VLAN to pass and untag the packets. After receiving multicast packets tagged with the IPv6 multicast VLAN ID from the upstream device, the Layer 2 device untags the multicast packets and forwards them to its downstream device. To configure user port attributes: Step Command Remarks 1. Enter system view. system-view N/A 2. Enter interface view or port group view. • Enter interface view: interface interface-type interface-number • Enter port group view: port-group manual port-group-name Use either command. 3. Configure the user port link type as hybrid. port link-type hybrid Access by default. 4. Specify the user VLAN that comprises the current user ports as the default VLAN. port hybrid pvid vlan vlan-id VLAN 1 by default.
291 Step Command Remarks 5. Configure the current user ports to permit packets of the specified IPv6 multicast VLAN to pass and untag the packets. port hybrid vlan vlan-id-list { tagged | untagged } By default, a hybrid port permits only packets of VLAN 1 to pass. For more information about the port link-type, port hybrid pvid vlan , and port hybrid vlan commands, see Layer 2—LAN Switching Command Reference. Configuring IPv6 multicast VLAN ports Configuration guidelines In this approach, you configure a VLAN as an IPv6 multicast VLAN and assign user ports to it. You can do this by either adding the user ports in the IPv6 multicast VLAN or specifying the IPv6 multicast VLAN on the user ports. These two methods provide the same result. You cannot configure an IPv6 multicast VLAN on a device with multicast routing enabled. The VLAN to be configured as an IPv6 multicast VLAN must exist. A port can belong to only one IPv6 multicast VLAN. Configuration procedure To configure IPv6 multicast VLAN ports in IPv6 multicast VLAN view: Step Command Remarks 1. Enter system view. system-view N/A 2. Configure the specified VLAN as an IPv6 multicast VLAN and enter IPv6 multicast VLAN view. multicast-vlan ipv6 vlan-id No IPv6 multicast VLAN configured by default. 3. Configure the ports as member ports of the IPv6 multicast VLAN. port interface-list By default, an IPv6 multicast VLAN has no member ports. To configure IPv6 multicast VLAN ports in interface view or port group view: Step Command Remarks 1. Enter system view. system-view N/A 2. Configure the specified VLAN as an IPv6 multicast VLAN and enter IPv6 multicast VLAN view. multicast-vlan ipv6 vlan-id Not an IPv6 multicast VLAN by default. 3. Return to system view. quit N/A 4. Enter interface view or port group view. • Enter interface view: interface interface-type interface-number • Enter port group view: port-group manual port-group-name Use either command.
292 Step Command Remarks 5. Configure the ports as member ports of the IPv6 multicast VLAN. port multicast-vlan ipv6 vlan-id By default, a user port does not belong to any IPv6 multicast VLAN. Displaying and maintaining IPv6 multicast VLAN Task Command Remarks Display information about an IPv6 multicast VLAN. display multicast-vlan ipv6 [ vlan-id ] [ | { begin | exclude | include } regular-expression ] Available in any view IPv6 multicast VLAN configuration examples Sub-VLAN-based multicast VLAN configuration example Network requirements As shown in Figure 78, MLDv1 runs on Router A, and MLDv1 snooping runs on Switch A. Router A acts as the MLD querier. The IPv6 multicast source sends IPv6 multicast data to the IPv6 multicast group FF1E::101. Host A, Host B, Host C, and Host D are receivers of the IPv6 multicast group. The hosts belong to VLAN 2 through VLAN 5 respectively. Configure the sub-VLAN-based IPv6 multicast VLAN feature on Switch A so that Router A just sends IPv6 multicast data to Switch A through the IPv6 multicast VLAN and Switch A forwards the traffic to the receivers that belong to different user VLANs.
293 Figure 78 Network diagram Configuration procedure 1. Enable IPv6 forwarding and configure IPv6 addresses: Enable IPv6 forwarding on each device and co nfigure an IPv6 address and address prefix for each interface as per Figure 78. (Details not shown.) 2. Configure Router A: # Enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface and enable MLD on the host-side interface GigabitEthernet 1/0/2. system-view [RouterA] multicast ipv6 routing-enable [RouterA] interface gigabitethernet 1/0/1 [RouterA-GigabitEthernet1/0/1] pim ipv6 dm [RouterA-GigabitEthernet1/0/1] quit [RouterA] interface gigabitethernet 1/0/2 [RouterA-GigabitEthernet1/0/2] pim ipv6 dm [RouterA-GigabitEthernet1/0/2] mld enable 3. Configure Switch A: # Enable MLD snooping globally. system-view [SwitchA] mld-snooping [SwitchA-mld-snooping] quit # Create VLAN 2 through VLAN 5. [SwitchA] vlan 2 to 5 # Configure GigabitEthernet 1/0/2 as a trunk port that permits packets from VLAN 2 and VLAN 3 to pass through. [SwitchA] interface gigabitethernet 1/0/2 Source G E1 /0 /2 G E1/ 0 /3 Switch A MLD querier Router A GE1/0/11::2/64 GE1/0/2 2001::1/64 1::1/64 GE1/0/1 Switch B Switch CG E1/ 0 /1 G E1/ 0 /1 Receiver Host A VLAN 2 ReceiverHost B VLAN 3 Receiver Host C VLAN 4 ReceiverHost D VLAN 5 GE1/0/2 GE1/0/3 GE1/0/2 GE1/0/3
294 [SwitchA-GigabitEthernet1/0/2] port link-type trunk [SwitchA-GigabitEthernet1/0/2] port trunk permit vlan 2 3 [SwitchA-GigabitEthernet1/0/2] quit # Configure GigabitEthernet 1/0/3 as a trunk port that permits packets from VLAN 4 and VLAN 5 to pass through. [SwitchA] interface gigabitethernet 1/0/3 [SwitchA-GigabitEthernet1/0/3] port link-type trunk [SwitchA-GigabitEthernet1/0/3] port trunk permit vlan 4 5 [SwitchA-GigabitEthernet1/0/3] quit # Create VLAN 10, assign GigabitEthernet 1/0/ 1 to this VLAN and enable MLD snooping in the VLAN. [SwitchA] vlan 10 [SwitchA-vlan10] port gigabitethernet 1/0/1 [SwitchA-vlan10] mld-snooping enable [SwitchA-vlan10] quit # Configure VLAN 10 as an IPv6 multicast VLAN and configure VLAN 2 through VLAN 5 as its sub-VLANs. [SwitchA] multicast-vlan ipv6 10 [SwitchA-ipv6-mvlan-10] subvlan 2 to 5 [SwitchA-ipv6-mvlan-10] quit 4. Configure Switch B: # Enable MLD snooping globally. system-view [SwitchB] mld-snooping [SwitchB-mld-snooping] quit # Create VLAN 2, assign GigabitEthernet 1/0/2 to VLAN 2, and enable MLD snooping in the VLAN. [SwitchB] vlan 2 [SwitchB-vlan2] port gigabitethernet 1/0/2 [SwitchB-vlan2] mld-snooping enable [SwitchB-vlan2] quit # Create VLAN 3, assign GigabitEthernet 1/0/3 to VLAN 3, and enable MLD snooping in the VLAN. [SwitchB] vlan 3 [SwitchB-vlan3] port gigabitethernet 1/0/3 [SwitchB-vlan3] mld-snooping enable [SwitchB-vlan3] quit # Configure GigabitEthernet 1/0/1 as a trunk port that permits packets from VLAN 2 and VLAN 3 to pass through. [SwitchB] interface gigabitethernet 1/0/1 [SwitchB-GigabitEthernet1/0/1] port link-type trunk [SwitchB-GigabitEthernet1/0/1] port trunk permit vlan 2 3 5. Configure Switch C: The configurations required on Switch C are similar to those on Switch B. 6. Verify the configuration: # Display information about the IPv6 multicast VLAN.