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+.
325 Configuring MLD SSM mappings By performing this configuration multiple times, you can map an IPv6 multicast group to different IPv6 multicast sources. If MLDv2 is enabled on a VLAN interface of a switch , and if a port in that VLAN is configured as a simulated host, the simulated host will send MLDv2 repo rts even if you did not specify an IPv6 multicast source when you configure simulated joining with the mld-snooping host-join c o m m a n d. I n t h i s c a s e, t h e corresponding IPv6 multicast group will not be created based on the configured MLD SSM mappings. For more information about the mld-snooping host-join command, see IP Multicast Command Reference . To configure an MLD SSM mapping: Step Command Remarks 1. Enter system view. system-view N/A 2. Enter MLD view. mld N/A 3. Configure an MLD SSM mapping. ssm-mapping ipv6-group-address prefix-length ipv6-source-address No MLD mappings are configured by default. Configuring MLD proxying Configuration prerequisites Before you configure the MLD proxying feature, complete the following tasks: • Enable IPv6 forwarding and configure an IPv6 unic ast routing protocol so that all devices in the domain are interoperable at the network layer. • Enable IPv6 multicast routing. Enabling MLD proxying You can enable MLD proxying on the interface in the direction toward the root of the multicast forwarding tree to make the device serve as an MLD proxy. Configuration guidelines • Each device can have only one interface serving as the MLD proxy interface. • You cannot enable MLD on interfaces with MLD proxying enabled. Moreover, only the mld require-router-alert , mld send-router-alert , and mld version commands can take effect on such interfaces. • You cannot enable other IPv6 multicast routing protocols (such as IPv6 PIM-DM or IPv6 PIM-SM) on interfaces with MLD proxying enabled, or vice versa. However, the source-lifetime, source-policy , and ssm-policy commands configured in IPv6 PIM view can still take effect. • You cannot enable MLD proxying on a VL AN inter face with MLD snooping enabled, or vice versa. Configuration procedure To enable MLD proxying:
326 Step Command Remarks 1. Enter system view. system-view N/A 2. Enter interface view. interface interface-type interface-number N/A 3. Enable the MLD proxying feature. mld proxying enable Disabled by default Configuring IPv6 multicast forwarding on a downstream interface Typically, to avoid duplicate multicast flows, only queriers can forward IPv6 multicast traffic. On MLD proxy devices, a downstream interface must be a querier in order to forward IPv6 multicast traffic to downstream hosts. If the interface has failed in the querier election, you must manually enable IPv6 multicast forwarding on this interface. IMPORTANT: On a multi-access network with more than one MLD proxy devices, you cannot enable IPv6 multicast forwarding on any other non-querier downstream inte rface after one of the downstream interfaces of these MLD proxy devices has been elected as the querier. Otherwise, duplicate multicast flows mi ght be received on the multi-access network. To enable IPv6 multicast forwarding on a downstream interface Step Command Remarks 1. Enter system view. system-view N/A 2. Enter interface view. interface interface-type interface-number N/A 3. Enable IPv6 multicast forwarding on a non-querier downstream interface. mld proxying forwarding Disabled by default Displaying and maintaining MLD Task Command Remarks Display MLD group information. display mld group [ ipv6-group-address | interface interface-type interface-number ] [ static | verbose ] [ | { begin | exclude | include } regular-expression ] Available in any view Display Layer 2 port information about MLD groups. display mld group port-info [ vlan vlan-id ] [ slot slot-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ] Available in any view
327 Task Command Remarks Display information about the hosts tracked by MLD on an interface. display mld host interface interface-type interface-number group ipv6-group-address [ source ipv6-source-address ] [ | { begin | exclude | include } regular-expression ] Available in any view Display information about the hosts tracked by MLD on the Layer 2 ports. display mld host port-info vlan vlan-id group ipv6-group-address [ source ipv6-source-address ] [ vlan vlan-id ] [ slot slot-number ] [ | { begin | exclude | include } regular-expression ] Available in any view Display MLD configuration and running information on the specified interface or all MLD-enabled interfaces. display mld interface [ interface-type interface-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ] Available in any view Display the information of the MLD proxying groups. display mld proxying group [ group-address ] [ verbose ] [ | { begin | exclude | include } regular-expression ] Available in any view Display the information of the MLD routing table. display mld routing-table [ ipv6-source-address [ prefix-length ] | ipv6-group-address [ prefix-length ] | flags { act | suc } ] * [ | { begin | exclude | include } regular-expression ] Available in any view Display MLD SSM mappings. display mld ssm-mapping ipv6-group-address [ | { begin | exclude | include } regular-expression ] Available in any view Display the IPv6 multicast group information created based on the configured MLD SSM mappings. display mld ssm-mapping group [ ipv6-group-address | interface interface-type interface-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ] Available in any view Display information about the hosts that join based on the MLD SSM mappings on an interface. display mld ssm-mapping host interface interface-type interface-number group ipv6-group-address source ipv6-source-address [ | { begin | exclude | include } regular-expression ] Available in any view Remove the dynamic group entries of a specified MLD group or all MLD groups. reset mld group { all | interface interface-type interface-number { all | ipv6-group-address [ prefix-length ] [ ipv6-source-address [ prefix-length ] ] } } Available in user view
328 Task Command Remarks Remove the dynamic Layer 2 port entries of a specified MLD group or all MLD groups. reset mld group port-info { all | ipv6-group-address } [ vlan vlan-id ] Available in user view Clear MLD SSM mappings. reset mld ssm-mapping group { all | interface interface-type interface-number { all | ipv6-group-address [ prefix-length ] [ ipv6-source-address [ prefix-length ] ] } } Available in user view IMPORTANT: The reset mld group command might cause an interruption of receivers’ reception of multicast data. The reset mld group command cannot remove dynamic MLD group entries. The reset mld group port-info command cannot remove the Layer 2 port entries of MLD groups. The display mld host interface command can display information about the hosts tracked by MLD on Layer 3 interfaces other than VLAN interfaces. The display mld ssm-mapping host interface command can display information about the hosts that join the group based on MLD SSM mappings on Layer 3 interfaces other than VLAN interfaces. MLD configuration examples Basic MLD functions configuration example Network requirements As shown in Figure 87 , receivers receive VOD information in the multicast mode. Receivers of different organizations form stub networks N1 and N2, and Host A and Host C are multicast receivers in N1 and N2 respectively. MLDv1 runs between Switch A and N1. MLDv1 runs be tween the other two switches (Switch B and Switch C) and N2. Switch B acts as the MLD querier because it has a lower IPv6 address. The hosts in N1 can join only IPv6 multicast group FF1E::101, and the hosts in N2 can join any IPv6 multicast groups.
329 Figure 87 Network diagram Configuration procedure 1. Enable IPv6 forwarding and configure IPv6 addresses and IPv6 unicast routing: Enable IPv6 forwarding on each switch and conf igure an IP address and prefix length for each interface as shown in Figure 87. (Details not shown.) Conf igure OSPFv3 for interoperation between the switches. Ensure the network-layer interoperation among the switch es on the IPv6 PIM network and dynamic update of routing information between the switches through a unic ast routing protocol. (Details not shown.) 2. Enable the IPv6 multicast routing, and enable IPv6 PIM-DM and MLD: # Enable IPv6 multicast routing on Switch A, enable IPv6 PIM-DM on each interface, and enable MLD on VLAN-interface 100. system-view [SwitchA] multicast ipv6 routing-enable [SwitchA] interface vlan-interface 100 [SwitchA-Vlan-interface100] mld enable [SwitchA-Vlan-interface100] pim ipv6 dm [SwitchA-Vlan-interface100] quit [SwitchA] interface vlan-interface 101 [SwitchA-Vlan-interface101] pim ipv6 dm [SwitchA-Vlan-interface101] quit # Enable IPv6 multicast routing on Switch B, en able IPv6 PIM-DM on each interface, and enable MLD on VLAN-interface 200. system-view [SwitchB] multicast ipv6 routing-enable [SwitchB] interface vlan-interface 200 [SwitchB-Vlan-interface200] mld enable [SwitchB-Vlan-interface200] pim ipv6 dm [SwitchB-Vlan-interface200] quit Switch A Switch B Switch C Querier N1 N2 Receiver Receiver Host A Host B Host C Host DVlan-int100 3000::12/64 Vlan-int200 3001::10/64 Vlan-int200 3001::12/64 Vlan-int101 Vlan-int201 Vlan-int202 IPv6 PIM network
330 [SwitchB] interface vlan-interface 201 [SwitchB-Vlan-interface201] pim ipv6 dm [SwitchB-Vlan-interface201] quit # Enable IPv6 multicast routing on Switch C, enable IPv6 PIM-DM on each interface, and enable MLD on VLAN-interface 200. system-view [SwitchC] multicast ipv6 routing-enable [SwitchC] interface vlan-interface 200 [SwitchC-Vlan-interface200] mld enable [SwitchC-Vlan-interface200] pim ipv6 dm [SwitchC-Vlan-interface200] quit [SwitchC] interface vlan-interface 202 [SwitchC-Vlan-interface202] pim ipv6 dm [SwitchC-Vlan-interface202] quit 3. Configure an IPv6 multicast group filter: # Configure an IPv6 multicast group filter on Switch A, so that the hosts connected to VLAN-interface 100 can join IPv6 multicast group FF1E::101 only. [SwitchA] acl ipv6 number 2001 [SwitchA-acl6-basic-2001] rule permit source ff1e::101 128 [SwitchA-acl6-basic-2001] quit [SwitchA] interface vlan-interface 100 [SwitchA-Vlan-interface100] mld group-policy 2001 [SwitchA-Vlan-interface100] quit 4. Verify the configuration: Use the display mld interface command to display the MLD configuration and running information on each switch interface. Example: # Display MLD information on VLAN-interface 200 of Switch B. [SwitchB] display mld interface vlan-interface 200 Vlan-interface200(FE80::200:5EFF:FE66:5100): MLD is enabled Current MLD version is 1 Value of query interval for MLD(in seconds): 125 Value of other querier present interval for MLD(in seconds): 255 Value of maximum query response time for MLD(in seconds): 10 Querier for MLD: FE80::200:5EFF:FE66:5100 (this router) Total 1 MLD Group reported MLD SSM mapping configuration example Network requirements As shown in Figure 88, the IPv6 P IM-SM domain applies both the ASM model and SSM model for IPv6 multicast delivery. Switch D’s VLAN-interface 104 serves as the C-BSR and C-RP. The SSM group range is FF3E::/64. MLDv2 runs on Switch D’s VLAN-interface 400. The receiver host runs MLDv1, and does not support MLDv2. Therefore, the Receiver host cannot specify expected multicast sources in its membership reports.
331 So u rc e 1, So u rc e 2, a n d So u rc e 3 s e n d I P v6 mu l t ic as t p a cke t s to mu l t ic as t g rou ps i n t h e I P v 6 SS M g rou p range. You can configure the MLD SSM mapping feature on Switch D so that the receiver host will receive IPv6 multicast data from Source 1 and Source 3 only. Figure 88 Network diagram Device Interface IPv6 address Device Interface IPv6 address Source 1 — 1001::1/64 Source 3 — 3001::1/64 Source 2 — 2001::1/64 Receiver — 4001::1/64 Switch A Vlan-int100 1001::2/64 Switch C Vlan-int300 3001::2/64 Vlan-int101 1002::1/64 Vlan-int103 3002::1/64 Vlan-int104 1003::1/64 Vlan-int102 2002::2/64 Switch B Vlan-int200 2001::2/64 Switch D Vlan-int400 4001::2/64 Vlan-int101 1002::2/64 Vlan-int103 3002::2/64 Vlan-int102 2002::1/64 Vlan-int104 1003::2/64 Configuration procedure 1. Enable IPv6 forwarding and configure IPv6 addresses and IPv6 unicast routing: Enable IPv6 forwarding on each switch and config ure an IPv6 address and prefix length for each interface as shown in Figure 88. (Details not shown.) Configu re OSPFv3 for interoperability amon g the switches. Ensure the network-layer interoperation on the IPv6 PIM-SM domain and dynamic update of routing information among the switches through an IPv6 unicast routing protocol. (Details not shown.) 2. Enable IPv6 multicast routing, enable IPv6 PIM- SM on each interface and enable MLD and MLD SSM mapping on the host-side interface: # Enable IPv6 multicast routing on Switch D, en able IPv6 PIM-SM on each interface, and enable MLD (version 2) and MLD SSM m apping on VLAN-interface 400. system-view [SwitchD] multicast ipv6 routing-enable [SwitchD] interface vlan-interface 400 [SwitchD-Vlan-interface400] mld enable [SwitchD-Vlan-interface400] mld version 2 [SwitchD-Vlan-interface400] mld ssm-mapping enable [SwitchD-Vlan-interface400] pim ipv6 sm [SwitchD-Vlan-interface400] quit
332 [SwitchD] interface vlan-interface 103 [SwitchD-Vlan-interface103] pim ipv6 sm [SwitchD-Vlan-interface103] quit [SwitchD] interface vlan-interface 104 [SwitchD-Vlan-interface104] pim ipv6 sm [SwitchD-Vlan-interface104] quit # Enable IPv6 multicast routing on Switch A, and enable IPv6 PIM-SM on each interface. system-view [SwitchA] multicast ipv6 routing-enable [SwitchA] interface vlan-interface 100 [SwitchA-Vlan-interface100] pim ipv6 sm [SwitchA-Vlan-interface100] quit [SwitchA] interface vlan-interface 101 [SwitchA-Vlan-interface101] pim ipv6 sm [SwitchA-Vlan-interface101] quit [SwitchA] interface vlan-interface 104 [SwitchA-Vlan-interface104] pim ipv6 sm [SwitchA-Vlan-interface104] quit The configuration on Switch B and Switch C is similar to that on Switch A. 3. Configure a C-BSR and a C-RP: # Configure C-BSR and C-RP interfaces on Switch D. [SwitchD] pim ipv6 [SwitchD-pim6] c-bsr 1003::2 [SwitchD-pim6] c-rp 1003::2 [SwitchD-pim6] quit 4. Configure the IPv6 SSM group range: # Configure the IPv6 SSM group range FF3E::/64 on Switch D. [SwitchD] acl ipv6 number 2000 [SwitchD-acl6-basic-2000] rule permit source ff3e:: 64 [SwitchD-acl6-basic-2000] quit [SwitchD] pim ipv6 [SwitchD-pim6] ssm-policy 2000 [SwitchD-pim6] quit The configuration on Switch A, Switch B and Switch C is similar to that on Switch D. 5. Configure MLD SSM mappings: # Configure MLD SSM mappings on Switch D. [SwitchD] mld [SwitchD-mld] ssm-mapping ff3e:: 64 1001::1 [SwitchD-mld] ssm-mapping ff3e:: 64 3001::1 [SwitchD-mld] quit 6. Verify the configuration: # Display MLD SSM mapping information about the IPv6 multicast group FF3E::101 on Switch D. [SwitchD] display mld ssm-mapping ff3e::101 Group: FF3E::101 Source list: 1001::1
333 3001::1 # Display the IPv6 multicast group information created based on the configured MLD SSM mappings on Switch D. [SwitchD] display mld ssm-mapping group Total 1 MLD SSM-mapping Group(s). Interface group report information Vlan-interface400 (4001::2): Total 1 MLD SSM-mapping Group reported Group Address: FF3E::101 Last Reporter: 4001::1 Uptime: 00:02:04 Expires: off # Display the IPv6 PIM routing table information on Switch D. [SwitchD] display pim ipv6 routing-table Total 0 (*, G) entry; 2 (S, G) entry (1001::1, FF3E::101) Protocol: pim-ssm, Flag: UpTime: 00:13:25 Upstream interface: Vlan-interface104 Upstream neighbor: 1003::1 RPF prime neighbor: 1003::1 Downstream interface(s) information: Total number of downstreams: 1 1: Vlan-interface400 Protocol: mld, UpTime: 00:13:25, Expires: - (3001::1, FF3E::101) Protocol: pim-ssm, Flag: UpTime: 00:13:25 Upstream interface: Vlan-interface103 Upstream neighbor: 3002::1 RPF prime neighbor: 3002::1 Downstream interface(s) information: Total number of downstreams: 1 1: Vlan-interface400 Protocol: mld, UpTime: 00:13:25, Expires: - MLD proxying configuration example Network requirements As shown in Figure 89, IPv6 PIM-DM runs on the core network. Host A and Host C in the stub network receive VOD information destined to multicast group FF3E::101. Configure the MLD proxying feature on Switch B so that Switch B can maintain group memberships and forward IPv6 multicast traffic without running IPv6 PIM-DM.
334 Figure 89 Network diagram Configuration procedure 1. Enable IPv6 forwarding and co nfigure the IPv6 addresses: Enable IPv6 forwarding on each switch and configure the IPv6 address and prefix length of each interface as per Figure 89. (Details not shown.) 2. Enable IPv6 multicast routing, IP v6 PIM-DM, MLD, and MLD proxying: # Enable IPv6 multicast routing on Switch A, IPv6 PIM-DM on VLAN-interface 101, and MLD on VLAN-interface 100. system-view [SwitchA] multicast ipv6 routing-enable [SwitchA] interface vlan-interface 101 [SwitchA-Vlan-interface101] pim ipv6 dm [SwitchA-Vlan-interface101] quit [SwitchA] interface vlan-interface 100 [SwitchA-Vlan-interface100] mld enable [SwitchA-Vlan-interface100] pim ipv6 dm [SwitchA-Vlan-interface100] quit # Enable IPv6 multicast routing on Switch B, MLD proxying on VLAN-int erface 100, and MLD on VLAN-interface 200. system-view [SwitchB] multicast ipv6 routing-enable [SwitchB] interface vlan-interface 100 [SwitchB-Vlan-interface100] mld proxying enable [SwitchB-Vlan-interface100] quit [SwitchB] interface vlan-interface 200 [SwitchB-Vlan-interface200] mld enable [SwitchB-Vlan-interface200] quit 3. Verify the configuration: # Display MLD configuration and operation inform ation on VLAN-interface 100 of Switch B. [SwitchB] display mld interface vlan-interface 100 verbose Vlan-interface100(2001::2): MLD proxy is enabled Current MLD version is 1 Multicast routing on this interface: enabled