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+.
295 [SwitchA] display multicast-vlan ipv6 Total 1 IPv6 multicast-vlan(s) IPv6 Multicast vlan 10 subvlan list: vlan 2-5 port list: no port # View the MLD snooping IPv6 multicast group information on Switch A. [SwitchA] display mld-snooping group Total 5 IP Group(s). Total 5 IP Source(s). Total 5 MAC Group(s). Port flags: D-Dynamic port, S-Static port, C-Copy port, P-PIM port Subvlan flags: R-Real VLAN, C-Copy VLAN Vlan(id):2. Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Router port(s):total 0 port(s). IP group(s):the following ip group(s) match to one mac group. IP group address:FF1E::101 (::, FF1E::101): Host port(s):total 1 port(s). GE1/0/2 (D) MAC group(s): MAC group address:3333-0000-0101 Host port(s):total 1 port(s). GE1/0/2 Vlan(id):3. Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Router port(s):total 0 port(s). IP group(s):the following ip group(s) match to one mac group. IP group address:FF1E::101 (::, FF1E::101): Host port(s):total 1 port(s). GE1/0/2 (D) MAC group(s): MAC group address:3333-0000-0101 Host port(s):total 1 port(s). GE1/0/2 Vlan(id):4. Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Router port(s):total 0 port(s). IP group(s):the following ip group(s) match to one mac group.
296 IP group address:FF1E::101 (::, FF1E::101): Host port(s):total 1 port(s). GE1/0/3 (D) MAC group(s): MAC group address:3333-0000-0101 Host port(s):total 1 port(s). GE1/0/3 Vlan(id):5. Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Router port(s):total 0 port(s). IP group(s):the following ip group(s) match to one mac group. IP group address:FF1E::101 (::, FF1E::101): Host port(s):total 1 port(s). GE1/0/3 (D) MAC group(s): MAC group address:3333-0000-0101 Host port(s):total 1 port(s). GE1/0/3 Vlan(id):10. Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Router port(s):total 1 port(s). GE1/0/1 (D) IP group(s):the following ip group(s) match to one mac group. IP group address:FF1E::101 (::, FF1E::101): Host port(s):total 0 port(s). MAC group(s): MAC group address:3333-0000-0101 Host port(s):total 0 port(s). The output shows that MLD snooping is maintaining the router port in the IPv6 multicast VLAN (VLAN 10) and the member ports in the sub-VLANs (VLAN 2 through VLAN 5). Port-based multicast VLAN configuration example Network requirements As shown in Figure 79, M L D v 1 r u n s o n R o u t e r A . M L D v 1 s n o o p i n g r u n s o n Swi t c h A . R o u t e r A a c t s a s t h e MLD querier. The IPv6 multicast source sends IPv6 multicast data to IPv6 multicast group FF1E::101. Host A, Host B, and Host C are receivers of the IPv6 multicast group. The hosts belong to VLAN 2 through VLAN 4 respectively.
297 Configure the port-based IPv6 multicast VLAN feature on Switch A so that Router A sends IPv6 multicast data to Switch A through the IPv6 multicast VLAN, and Switch A forwards the IPv6 multicast data to the receivers that belong to different user VLANs. Figure 79 Network diagram Configuration procedure 1. Enable IPv6 forwarding, and configure IPv6 addresses: Enable IPv6 forwarding on each device, and co nfigure the IPv6 address and address prefix for each interface as per Figure 79. (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] ipv6 pim dm [RouterA-GigabitEthernet1/0/1] quit [RouterA] interface gigabitethernet 1/0/2 [RouterA-GigabitEthernet1/0/2] ipv6 pim 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 10, assign GigabitEthernet 1/0/1 to VLAN 10, and enable MLD snooping in this VLAN. [SwitchA] vlan 10 [SwitchA-vlan10] port gigabitethernet 1/0/1 [SwitchA-vlan10] mld-snooping enable
298 [SwitchA-vlan10] quit # Create VLAN 2 and enable MLD snooping in the VLAN. [SwitchA] vlan 2 [SwitchA-vlan2] mld-snooping enable [SwitchA-vlan2] quit The configuration for VLAN 3 and VLAN 4 is similar. (Details not shown.) # Configure GigabitEthernet 1/0/2 as a hybrid port. Configure VLAN 2 as the default VLAN. Configure GigabitEthernet 1/0/2 to permit packe ts of VLAN 2 to pass and untag the packets when forwarding them. [SwitchA] interface gigabitethernet 1/0/2 [SwitchA-GigabitEthernet1/0/2] port link-type hybrid [SwitchA-GigabitEthernet1/0/2] port hybrid pvid vlan 2 [SwitchA-GigabitEthernet1/0/2] port hybrid vlan 2 untagged [SwitchA-GigabitEthernet1/0/2] port hybrid vlan 10 untagged [SwitchA-GigabitEthernet1/0/2] quit The configuration for GigabitEthernet 1/0/3 and Gi gabitEthernet 1/0/4 is similar. (Details not shown.) # Configure VLAN 10 as an IPv6 multicast VLAN. [SwitchA] multicast-vlan ipv6 10 # Assign GigabitEthernet 1/0/2 and GigabitEth ernet 1/0/3 to IPv6 multicast VLAN 10. [SwitchA-ipv6-mvlan-10] port gigabitethernet 1/0/2 to gigabitethernet 1/\ 0/3 [SwitchA-ipv6-mvlan-10] quit # Assign GigabitEthernet 1/0/4 to IPv6 multicast VLAN 10. [SwitchA] interface gigabitethernet 1/0/4 [SwitchA-GigabitEthernet1/0/4] port multicast-vlan ipv6 10 [SwitchA-GigabitEthernet1/0/4] quit 4. Verify the configuration: # View the IPv6 multicast VLAN information on Switch A. [SwitchA] display multicast-vlan ipv6 Total 1 IPv6 multicast-vlan(s) IPv6 Multicast vlan 10 subvlan list: no subvlan port list: GE1/0/2 GE1/0/3 GE1/0/4 # View the MLD snooping multicast group information on Switch A. [SwitchA] display mld-snooping group Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Port flags: D-Dynamic port, S-Static port, C-Copy port, P-PIM port Subvlan flags: R-Real VLAN, C-Copy VLAN Vlan(id):10. Total 1 IP Group(s). Total 1 IP Source(s).
299 Total 1 MAC Group(s). Router port(s):total 1 port(s). GE1/0/1 (D) IP group(s):the following ip group(s) match to one mac group. IP group address:FF1E::101 (::, FF1E::101): Host port(s):total 3 port(s). GE1/0/2 (D) GE1/0/3 (D) GE1/0/4 (D) MAC group(s): MAC group address:3333-0000-0101 Host port(s):total 3 port(s). GE1/0/2 GE1/0/3 GE1/0/4 The output shows that MLD snooping is maintaining router ports and member ports in VLAN 10.
300 Configuring IPv6 multicast routing and forwarding (available only on the HP 5500 EI) Overview In IPv6 multicast implementations, the following types of tables implement multicast routing and forwarding: • Multicast routing table of an IPv6 multicast routing protocol —Each IPv6 multicast routing protocol has its own multicast routing table, such as IPv6 PIM routing table. • General IPv6 multicast routing table —The multicast routing information of different IPv6 multicast routing protocols forms a general IPv6 multicast routing table. • IPv6 multicast forwarding table—The IPv6 multicast forwarding tabl e guides the forwarding of IPv6 multicast packets. An IPv6 multicast forwarding table consists of a set of (S, G) entries. Each entry indicates the routing information for delivering multicast data from a multicast source to a multicast group. If a router supports multiple IPv6 multicast protocols, its IPv6 multicast routing table will include routes that these protocols have generated. The router chooses the optimal route from the IPv6 multicast routing table based on the configured multicast routing and forwarding policy and installs the route entry into its IPv6 multicast forwarding table. The term router in this document refers to both routers and Layer 3 switches. The term interface in the IPv6 multicast routing an d forwarding features refers to Layer 3 interfaces, including VLAN interfaces and route-mode (or Layer 3) Ethernet ports. You can set an Ethernet port to operate in route mode by using the port link-mode route command (see Layer 2—LAN Switching Configuration Guide ). RPF check mechanism An IPv6 multicast routing protocol relies on the existing IPv6 unicast routing information or IPv6 MBGP routes in creating IPv6 multicast routing entries. When creating IPv6 multicast routing table entries, an IPv6 multicast routing protocol uses the reverse pat h forwarding (RPF) check mechanism to ensure IPv6 multicast data delivery along the correct path. Th e RPF check mechanism also helps avoid data loops caused by various reasons. RPF check process An RPF check is based on one of the following routing tables: • IPv6 unicast routing table —Contains the shortest path to each destination subnet • IPv6 MBGP routing table —Contains IPv6 multicast routing information When a router performs an RPF check, it searches its IPv6 unicast routing table and IPv6 MBGP routing table at the same time. The specific process is as follows: 1. The router chooses each optimal route from the IPv6 unicast routing table and the IPv6 MBGP routing table:
301 { The router searches its IPv6 unicast routing tabl e by using the IPv6 address of the packet source as the destination address and automatically sele cts the optimal route as the RPF route. The outgoing interface in the corresponding routing entry is the RPF interface and the next hop is the RPF neighbor. The router considers the path along which the IPv6 multicast packet from the RPF neighbor arrived on the RPF interface to be the shortest path that leads back to the source. { The router automatically chooses an optimal IPv6 MBGP route by searching its MBGP routing table, and using the IPv6 address of the packet source as the destination address. The outgoing interface in the corresponding routing entry is the RPF interface and the next hop is the RPF neighbor. 2. The router selects one of these optimal routes as the RPF route. The selection process is as follows: { If configured to use the longest match principle, the router selects the longest match route from these optimal routes. If these routes have the same prefix length, the router selects the route with a higher priority. If these routes have the same priority, the router selects the IPv6 MBGP route as the RPF route. { If not configured to use the longest match principle, the router selects the route with a higher priority. If these routes have the same priority, the router selects the IPv6 MBGP route as the RPF route. The term packet source can mean diff erent things in different situations: • For a packet that traveling along the shortest path tree (SPT) from the multicast source to the receivers or the rendezvous point (RP), the packet source for RPF check is the multicast source. • For a packet that traveling along the rendezvous point tree (RPT) from the RP to the receivers, or along the source-side RPT from the multicast source to the RP, the packet source for RPF check is the RP. • For a bootstrap message from the bo otstrap router (BSR), the packet source for RPF check is the BSR. For more information about the concepts of SPT, RPT, source-side RPT, RP, and BSR, see Configuring IPv6 P IM (available only on the HP 5500 EI) . RPF check implementation in IPv6 multicast Implementing an RPF check on each received IPv6 multicast data packet would heavily burden the router. T h e u s e o f a n I P v 6 m u l t i c a s t f o r w a r d i n g t a b l e i s t h e s o l u t i o n t o t h i s i s s u e . W h e n c r e a t i n g a n I P v 6 m u l t i c a s t routing entry and an IPv6 multicast forwarding entry fo r an IPv6 multicast packet, the router sets the RPF interface of the packet as the incoming interface of the (S, G) entry. After receiving an (S, G) IPv6 multicast packet, the router first searches its IPv6 multicast forwarding table: 1. If the corresponding (S, G) entry does not exist in the IPv6 multicast forwarding table, the packet undergoes an RPF check. The router creates an IPv6 multicast routing entry based on the relevant routing information and installs the entry into th e IPv6 multicast forwarding table, with the RPF interface as the incoming interface. { If the interface that received the packet is the RPF interface, the RPF check succeeds and the router forwards the packet to all the outgoing interfaces. { If the interface that received the packet is not the RPF interface, the RPF check fails and the router discards the packet. 2. If the corresponding (S, G) entry exists, and the in terface that received the packet is the incoming interface, the router forwards the pac ket to all the outgoing interfaces. 3. If the corresponding (S, G) entry exists, but th e interface that received the packet is not the incoming interface in the IPv6 multicast forwardi ng table, the IPv6 multicast packet undergoes an RPF check.
302 { If the RPF interface is the incoming interface of the (S, G) entry, this means the (S, G) entry is correct but the packet arrived from a wrong path. The packet will be discarded. { If the RPF interface is not the incoming interface, this means that the (S, G) entry has expired, and the router replaces the incoming interface wi th the RPF interface. If the interface on which the packet arrived is the RPF interface, the rout er forwards the packet to all the outgoing interfaces. Otherwise it discards the packet. Assume that IPv6 unicast routes are available in the network, IPv6 MBGP is not configured, and IPv6 multicast packets travel along the SPT from the multicast source to the receivers, as shown in Figure 80. T h e I P v 6 mu l t ic as t fo r ward i ng tab l e o n Route r C c o nta i ns t h e ( S, G ) e nt r y, wi t h V L A N - i nte r fa c e 2 0 as t h e RPF interface. Figure 80 RPF check process • When an IPv6 multicast packet arrives on VLAN-int erface 20 of Router C, because the interface is the incoming interface of the (S, G) entry, the router forwards the packet to all outgoing interfaces. • When an IPv6 multicast packet arrives on VLAN-interface 10 of Router C, because the interface is not the incoming interface of the (S, G) entry, the router performs an RPF check on the packet. The router searches its IPv6 unicast routing table and fi nds that the outgoing interface to Source (the RPF interface) is VLAN-interface 20. This means that the (S, G) entry is correct and the packet arrived along a wrong path. The RPF check fails and the packet is discarded. Configuration task list Task Remarks Enabling IPv6 multicast routing Required Configuring IPv6 multicast routing and forwarding Configuring an IPv6 multicast routing policy Optional Configuring an IPv6 multicast forwarding range Optional Configuring the IPv6 multicast forwarding table size Optional Receiver Receiver Source 2000::101/16Router ARouter B Router C Vlan-int20 Vlan-int10 Vlan-int10 IPv6 Multicast packets Destination/Prefix IPv6 Routing Table on Router C 2000::/16 Interface Vlan-int20
303 Enabling IPv6 multicast routing Before you configure any Layer 3 IPv6 multicast functionality, you must enable IPv6 multicast routing. To enable IPv6 multicast routing: Step Command Remarks 1. Enter system view. system-view N/A 2. Enable IPv6 multicast routing. multicast ipv6 routing-enable Disabled by default. Configuring IPv6 multicast routing and forwarding Configuration prerequisites Before you configure IPv6 multicast routing and forwarding, 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. • Configure IPv6 PIM-DM or IPv6 PIM-SM. • Determine the maximum number of downstream nodes for a single entry in the IPv6 multicast forwarding table. • Determine the maximum number of entries in the IPv6 multicast forwarding table. Configuring an IPv6 multicast routing policy You can configure the router to determine the RPF ro ute based on the longest match principle. For more information about RPF route selection, see RPF check process. B y configuring per-source or per-source-and-group load splitting, you can optimize the traffic delivery when multiple IPv6 multicast data streams are handled. To configure an IPv6 multicast routing policy: Step Command Remarks 1. Enter system view. system-view N/A 2. Configure the device to select the RPF route based on the longest match. multicast ipv6 longest-match Optional. The route with the highest priority is selected as the RPF route by default. 3. Configure IPv6 multicast load splitting. multicast ipv6 load-splitting { source | source-group } Optional. Disabled by default. Configuring an IPv6 multicast forwarding range IPv6 multicast packets do not travel infinitely in a ne twork. The IPv6 multicast data of each IPv6 multicast group must be transmitted within a definite scope.
304 You can configure the forwarding boundary for a specific IPv6 multicast group or an IPv6 multicast group with the scope field in its group address being specified on all interfaces that support IPv6 multicast forwarding. A multicast forwarding boundary sets the boundary condition for the IPv6 multicast groups in the specified range or scope. If the destination address of an IPv6 multicast packet matches the set boundary condition, the packet will not be forwarde d. Once an IPv6 multicast boundary is configured on an interface, this interface can no longer forward IPv6 multicast packets (including those sent from the local device) or receive IPv6 multicast packets. To configure an IPv6 multicast forwarding range: Step Command Remarks 1. Enter system view. system-view N/A 2. Enter interface view. interface interface-type interface-number N/A 3. Configure an IPv6 multicast forwarding boundary. multicast ipv6 boundary { ipv6-group-address prefix-length | scope { scope-id | admin-local | global | organization-local | site-local } } No forwarding boundary by default. Configuring the IPv6 multicast forwarding table size The switch maintains the corresponding forwarding entr y for each IPv6 multicast packet that it receives. Excessive IPv6 multicast routing entries, however, can exhaust the switch’s memory and cause lower performance. You can set a limit on the number of entries in the IPv6 multicast forwarding table based on the actual networking situation and the performance requirements. If the configured maximum number of IPv6 multicast forwarding table entries is smaller than the current value, the entries in excess are not immediately deleted. Instead, the IPv6 multicast routing protocol that runs on the switch deletes them. The switch no longer adds new IPv6 multicast forwarding entries until the number of existing IPv6 multicast forwarding entries comes down below the configured value. When the switch forwards IPv6 multicast traffic, it replicates a copy of the IPv6 multicast traffic for each downstream node and forwards the traffic. Each of these downstream nodes forms a branch of the IPv6 multicast distribution tree. You can configure the maximum number of downstream nodes (the maximum number of outgoing interfaces) for a single entry in the IPv6 multicast forwarding table to lessen the burden on the switch for replicating IPv6 multicast traffic. If the configured maximum number of downstream nodes for a single IPv6 multicast forwarding entry is smaller than the current number, the downstream nodes in excess are not deleted immediat ely. Instead, the IPv6 multicast routing protocol deletes them. The switch no longer adds new IPv6 multicast forwarding entries for newly added downstream nodes until the number of existing downstream nodes comes down below the configured value. To configure the IPv6 multicast forwarding table size: Step Command Remarks 1. Enter system view. system-view N/A 2. Configure the maximum number of entries in the IPv6 multicast forwarding table. multicast ipv6 forwarding-table route-limit limit Optional. 1000 by default.