OcNOS SP : Multicast Guide : Protocol Independent Multicasting Configuration : PIM-ECMP Redirect Configuration
PIM-ECMP Redirect Configuration
A Protocol Independent Multicast (PIM) router uses Reverse Path Forwarding (RPF) procedure to select an upstream interface and router in order to build forwarding state. When there are equal-cost multipaths (ECMPs), existing implementations often use hash algorithms to select a path. Such algorithms do not allow the spread of traffic among the ECMPs according to administrative metrics. This usually leads to inefficient or ineffective use of network resources. PIM ECMP Redirect (RFC 6754) provides a mechanism to improve the RPF procedure over ECMPs. It allows ECMP selection to be based on administratively selected metrics, such as data transmission delays, path preferences, and routing metric. An interface identifier option is used in PIM hello messages as a tiebreaker during ECMP path selection.
Note: PIM ECMP Redirect is not supported for Bidirectional PIM, PIM-DM and PIM-SMDM.
Terminology
Following is a brief description of terms and concepts used to describe the PIM-ECMP Redirect protocol:
Equal Cost Multipath (ECMP)
ECMP refers to parallel, single-hop, equal-cost links between adjacent nodes.
ECMP Bundle
An ECMP bundle is a set of PIM-enabled interfaces on a router, where all interfaces belonging to the same bundle share the same routing metric. The next hops for the ECMP are all one hop away. There can be one or more ECMP bundles on any router, while one individual interface can only belong to a single bundle. ECMP bundles are created on a router via configuration.
Reverse Path Forwarding
Reverse Path Forwarding (RPF) is an optimized form of flooding, in which the router accepts a packet from SourceA through Interface IF1, only if IF1 is the interface the router uses to reach SourceA. To determine if the interface is correct, it consults its unicast routing tables. The packet that arrives through interface IF1 is forwarded because the routing table lists this interface as the shortest path. The router's unicast routing table determines the shortest path for the multicast packets. Because a router accepts a packet from only one neighbor, it floods the packet only once, meaning that (assuming point-to-point links) each packet is transmitted over each link, once in each direction.
Downstream
Away from the root of the multicast forwarding tree. A downstream router is a router that uses an interface in the ECMP bundle as an RPF interface for a multicast forwarding entry
When a PIM router downstream of the ECMP interfaces creates a new (*,G) or (S,G) entry, it will populate the RPF interface and RPF neighbor information according to the rules specified by [RFC4601]. This router will send its initial PIM Joins to that RPF neighbor. When the RPF neighbor router receives the Join message and finds that the receiving interface is one of the ECMP interfaces, it will check if the same flow is already being forwarded out of another ECMP interface. If so, this RPF neighbor router will send a PIM ECMPRedirect message onto the interface the Join was received on. The PIM ECMP Redirect message contains the address of the desired RPF neighbor, an Interface ID [RFC6395], and the other parameters used as tiebreakers. In essence, a PIM ECMP Redirect message is sent by an upstream router to notify downstream routers to redirect PIM Joins to the new RPF neighbor via a different interface. When the downstream routers receive this message, they SHOULD trigger PIM Joins toward the new RPF neighbor specified in the packet.
This PIM ECMP Redirect message has similar functions as the existing PIM Assert message:
It is sent by an upstream router.
It is used to influence the RPF selection by downstream routers.
A tiebreaker metric is used
However, the existing Assert message is used to select an upstream router within the same multi-access network (such as a LAN), while the Redirect message is used to select both a network and an upstream router.
ECMP Redirect
ECMP Redirects are sent by an upstream router under either of the following conditions:
It detects a PIM Join on a non-desired outgoing interface.
It detects multicast traffic on a non-desired outgoing interface.
In both cases, an ECMP Redirect is sent to the non-desired interface. An outgoing interface is considered non-desired when:
The upstream router is already forwarding the same flow out of another interface belonging to the same ECMP bundle.
The upstream router is not yet forwarding the flow out any interfaces of the ECMP bundle, but there is another interface with more desired attributes.
Receiving ECMP Redirect
When a downstream router receives an ECMP Redirect, and detects that the desired RPF path from its upstream router's point of view is different from its current one, it should choose to join the newly suggested path and prune from the current path.
If a downstream router receives multiple ECMP Redirects sent by different upstream routers, it SHOULD use the Preference, Metric, or other fields as specified below as the tiebreakers to choose the most preferred RPF interface and neighbor. The tie-break procedure is the same as that used in PIM Assert processing described by [RFC4601].
If an upstream router receives an ECMP Redirect, it SHOULD NOT change its forwarding behavior even if the ECMP Redirect makes it a less preferred RPF neighbor on the receiving interface.
PIM-ECMP Configuration
This section provides the configuration steps for configuring PIM ECMP Redirect and examples for a relevant scenario.
Note: Configure PIM SM on the routers. For steps to configure PIM-SM refer to Chapter 1, PIM Sparse Mode Configuration
Topology
I
PIM ECMP Redirect Topology
Configure PIM ECMP Bundle
Configure PIM ECMP Bundle on all of the PIM routers inside the PIM domain:
 
# configure terminal
Enter Configure mode.
(config)# ip pim ecmp-bundle <bundle-name>
Configure PIM ECMP Bundle
(config)#exit
Exit Configure mode.
Validation
#show running-config
!
ip multicast-routing
!
Bind PIM ECMP Bundle
Bind an ECMP Bundle to an interface on the PIM routers inside the PIM domain:
# configure terminal
Enter Configure mode.
(config)# interface eth1
Enter Interface mode
(config-if)# ip pim bind ecmp-bundle ecmpbundle
Bind PIM ECMP Bundle to an interface
(config-if)#exit
Exit Interface mode.
Validation
Validation 1
Enter the commands listed in this section to confirm the previous configurations.
router_1#show running-config interface eth2
interface eth2
ip address 192.168.1.57/24
no shutdown
ip ospf cost 10
ip pim bind ecmp-bundle ecmpbundle
ip pim sparse-mode
lldp-agent
no dcbx enable
exit
Validation 2
The following output displays the bundle information:
router_1#show ip pim ecmp-bundle
Name : ecmpbundle1
Interface : <ECMP REDIRECT status>
eth2 : allowed
eth3 : allowed
 
router_1#show ip pim ecmp-bundle ecmpbundle1
Name : ecmpbundle1
Interface : <ECMP REDIRECT status>
eth2 : allowed
eth3 : allowed
exit
Validation 3
The following output displays the interface details:
router_1#show ip pim interface detail
eth1 (vif 0):
Address 192.168.10.57, Mode: Sparse
DR 192.168.10.57, DR's priority: 1
Hello period 30 seconds, Next Hello in 22 seconds
Triggered Hello period 5 seconds
PIM GenID sent in Hellos: 56e71c93
Propagation delay is 1000 milli-seconds
Interface ID: Router-ID:1.1.1.1 Local-ID 3
Neighbors:
192.168.10.52
PIM neighbor count: 1
PIM neighbor holdtime: 105
PIM configured DR priority: 1
PIM border interface: no
PIM Neighbor policy: not configured
 
eth2 (vif 2):
Address 192.168.1.57, Mode: Sparse
DR 192.168.1.152, DR's priority: 1
Hello period 30 seconds, Next Hello in 23 seconds
Triggered Hello period 5 seconds
PIM GenID sent in Hellos: 5f2ebb37
Propagation delay is 1000 milli-seconds
Interface ID: Router-ID:1.1.1.1 Local-ID 4
ECMP REDIRECT, bundle : ecmpbundle1, status : allowed
Neighbors:
192.168.1.149
192.168.1.150
192.168.1.152
PIM neighbor count: 3
PIM neighbor holdtime: 105
PIM configured DR priority: 1
PIM border interface: no
PIM Neighbor policy: not configured
IP Multicast Routing Table for ECMP Redirect
Note: The multicast routing table displays for an RP router are different from other routers.
Validation 1:
Initially router_1 sends the (*, G) to Router_2 IF-2, as Router_2 IF-2 is RIB indicated RPF neighbor.The RIB indicated RPF neighbor can be checked using command show ip rpf
router_1#show ip rpf 172.31.5.153
RPF information for 172.31.5.153
RPF interface: eth3
RPF neighbor: 192.168.11.152
RPF route: 172.31.5.0/24
RPF type: unicast (ospf)
RPF recursion count: 0
Doing distance-preferred lookups across tables
Distance: 110
Metric: 30
Validation 2:
The show ip pim mroute command displays the IP multicast routing table. In this table, the following fields are defined:
RPF nbr
Displays the unicast next-hop to reach RP. and mask length.
RPF idx
Displays the incoming interface for this (*, G) state.
RP
Displays the IP address for the RP router
B
Displays the bidirectional PIM mode
The leading dots....
 
 
Stand for VIF index
Router-2 upon receiving (*, G) on IF-2, which is rib indicated RPF, sends an ECMP redirect message to Router-1 IF-2 to intimate that, subsequent joins should be sent to IF-1 being the desired path with a (*,G). Since, Router-2 IF-1 already has a (*, G), the show ip pim mroute command output suggests 192.168.1.152 as the RPF neighbor, which is ECMP redirected RPF neighbor.
router_1#show ip pim mroute
IP Multicast Routing Table
 
(*,*,RP) Entries: 0
(*,G) Entries: 1
(S,G) Entries: 0
(S,G,rpt) Entries: 0
FCR Entries: 0
 
(*, 224.1.1.1)
RP: 172.31.5.153
RPF nbr: 192.168.1.152
RPF idx: eth2
Upstream State: JOINED
Local i...............................
Joined ................................
Asserted ................................
FCR:
0
The below output displays (*,G) at router_2 IF-1 using the command show ip pim mroute detail:
router_2#show ip pim mroute detail
IP Multicast Routing Table
 
(*,*,RP) Entries: 0
(*,G) Entries: 1
(S,G) Entries: 0
(S,G,rpt) Entries: 0
FCR Entries: 0
 
(*, 224.1.1.1) Uptime: 00:30:45
RP: 172.31.5.153, RPF nbr: 172.31.12.153, RPF idx: eth1
Upstream:
State: JOINED, SPT Switch: Disabled, JT Expiry: 15 secs
Macro state: Join Desired,
Downstream:
eth1:
State: JOINED, ET Expiry: 176 secs, PPT: off
Assert State: NO INFO, AT: off
Winner: 0.0.0.0, Metric: 4294967295, Pref: 4294967295, RPT bit: on
Macro state: Could Assert, Assert Track
Local Olist:
eth1
Join Olist:
eth1
Configure PIM ECMP
Router-1 Config
(config)#bridge 1 protocol ieee vlan-bridge
Create VLAN bridge
(config)#vlan database
Enter VLAN database
(config)#ip multicast-routing
Enable multi cast routing
(config)#ip pim ecmp-bundle redirect
Configure PIM ECMP Bundle
(config-if)#interface ce2
Enter the interface mode
(config-if)#ip address 50.1.1.2/24
Configure IPv4 address
(config-if)#ip pim bind ecmp-bundle redirect
Bind ECMP bundle group
(config-if)#ip pim sparse-mode
Configure multi cast sparse mode
Interface xe16
(config-if)#interface xe16
Enter the interface mode  
(config-if)#speed 10g
Configure interface speed same as peer interface  
(config-if)#ip address 10.1.1.2/24
Configure IPv4 address
(config-if)#ip pim bind ecmp-bundle redirect
Bind ECMP bundle group  
(config-if)#ip pim sparse-mode
Configure multi cast sparse mode
interface xe17
(config-if)#interface xe17
Enter the interface mode  
(config-if)#speed 10g
Configure interface speed same as peer interface  
(config-if)#ip address 20.1.1.2/24
Configure IPv4 address
(config-if)#ip pim bind ecmp-bundle redirect
Bind ECMP bundle group  
(config-if)#ip pim sparse-mode
Configure multi cast sparse mode
(config-if)#router ospf 1
Configure OSPF  
(config-if)#ospf router-id 3.3.3.3
Configure OSPF router id  
(config-if)#network 3.3.3.3/32 area 0.0.0.0
Configure OSPF network id
(config-if)#network 10.1.1.0/24 area 0.0.0.0
Configure OSPF network id
(config-if)#network 20.1.1.0/24 area 0.0.0.0
Configure OSPF network id
(config-if)#network 50.1.1.0/24 area 0.0.0.0
Configure OSPF network id
Router-2 Config
(config)#bridge 1 protocol ieee vlan-bridge
Create VLAN bridge
(config)#vlan database
Enter VLAN database
(config)#ip multicast-routing
Enable multi cast routing
(config)#ip pim ecmp-bundle redirect
Configure PIM ECMP Bundle
(config-if)#interface ce2
Enter the interface mode
(config-if)#ip address 50.1.1.2/24
Configure IPv4 address
(config-if)#ip pim bind ecmp-bundle redirect
Bind ECMP bundle group
(config-if)#ip pim sparse-mode
Configure multi cast sparse mode
 
Interface xe16
(config-if)#interface xe16
Enter the interface mode  
(config-if)#speed 10g
Configure interface speed same as peer interface  
(config-if)#ip address 10.1.1.2/24
Configure IPv4 address
(config-if)#ip pim bind ecmp-bundle redirect
Bind ECMP bundle group  
(config-if)#ip pim sparse-mode
Configure multi cast sparse mode
Interface xe17
(config-if)#interface xe17
Enter the interface mode  
(config-if)#speed 10g
Configure interface speed same as peer interface  
(config-if)#ip address 20.1.1.2/24
Configure IPv4 address
(config-if)#ip pim bind ecmp-bundle redirect
Bind ECMP bundle group  
(config-if)#ip pim sparse-mode
Configure multi cast sparse mode
(config-if)#router ospf 1
Configure OSPF  
(config-if)#ospf router-id 3.3.3.3
Configure OSPF router id  
(config-if)#network 3.3.3.3/32 area 0.0.0.0
Configure OSPF network id
(config-if)#network 10.1.1.0/24 area 0.0.0.0
Configure OSPF network id
(config-if)#network 20.1.1.0/24 area 0.0.0.0
Configure OSPF network id
(config-if)#network 50.1.1.0/24 area 0.0.0.0
Configure OSPF network id
Router-3 Config
(config)#bridge 1 protocol ieee vlan-bridge
Create VLAN bridge
(config)#vlan database
Enter VLAN database
(config)#ip multicast-routing
Enable multi cast routing
(config)#ip pim ecmp-bundle redirect
Configure PIM ECMP Bundle
(config-if)#interface ce2
Enter the interface mode
(config-if)#ip address 50.1.1.2/24
Configure IPv4 address
(config-if)#ip pim bind ecmp-bundle redirect
Bind ECMP bundle group
(config-if)#ip pim sparse-mode
Configure multi cast sparse mode
 
Interface xe16
(config-if)#interface xe16
Enter the interface mode  
(config-if)#speed 10g
Configure interface speed same as peer interface  
(config-if)#ip address 10.1.1.2/24
Configure IPv4 address
(config-if)#ip pim bind ecmp-bundle redirect
Bind ECMP bundle group  
(config-if)#ip pim sparse-mode
Configure multi cast sparse mode
Interface xe17
(config-if)#interface xe17
Enter the interface mode  
(config-if)#speed 10g
Configure interface speed same as peer interface  
(config-if)#ip address 20.1.1.2/24
Configure IPv4 address
(config-if)#ip pim bind ecmp-bundle redirect
Bind ECMP bundle group  
(config-if)#ip pim sparse-mode
Configure multi cast sparse mode
(config-if)#router ospf 1
Configure OSPF  
(config-if)#ospf router-id 3.3.3.3
Configure OSPF router id  
(config-if)#network 3.3.3.3/32 area 0.0.0.0
Configure OSPF network id
(config-if)#network 10.1.1.0/24 area 0.0.0.0
Configure OSPF network id
(config-if)#network 20.1.1.0/24 area 0.0.0.0
Configure OSPF network id
(config-if)#network 50.1.1.0/24 area 0.0.0.0
Configure OSPF network id
Validation-1
The following output displays the bundle information.
OcNOS#show ip pim ecmp-bundle
Name : redirect
Interface : <ECMP REDIRECT status>
ce2 : allowed
xe16 : allowed
xe17 : allowed
Validation-2
The following output displays the interface details.
OcNOS#show ip pim ecmp-bundle
Name : redirect
Interface : <ECMP REDIRECT status>
ce2 : allowed
xe16 : allowed
xe17 : allowed
OcNOS#show ip pim interface detail
ce2 (vif 0):
Address 50.1.1.2, Mode: Sparse
DR 50.1.1.2, DR's priority: 1
Hello period 30 seconds, Next Hello in 12 seconds
Triggered Hello period 5 seconds
PIM GenID sent in Hellos: 7b030d86
Propagation delay is 500 milli-seconds
Interface ID: Router-ID:50.1.1.2 Local-ID 10017
ECMP REDIRECT, bundle : redirect, status : allowed
Neighbors:
PIM neighbor count: 0
PIM configured DR priority: 1
PIM border interface: no
PIM Neighbor policy: not configured
xe16 (vif 2):
Address 10.1.1.2, Mode: Sparse
DR 10.1.1.3, DR's priority: 1
Hello period 30 seconds, Next Hello in 15 seconds
Triggered Hello period 5 seconds
PIM GenID sent in Hellos: 2f97be24
Propagation delay is 500 milli-seconds
Interface ID: Router-ID:50.1.1.2 Local-ID 10037
ECMP REDIRECT, bundle : redirect, status : allowed
Neighbors:
10.1.1.3
PIM neighbor count: 1
PIM neighbor holdtime: 105
PIM configured DR priority: 1
PIM border interface: no
PIM Neighbor policy: not configured
xe17 (vif 3):
Address 20.1.1.2, Mode: Sparse
DR 20.1.1.3, DR's priority: 1
Hello period 30 seconds, Next Hello in 16 seconds
Triggered Hello period 5 seconds
PIM GenID sent in Hellos: 44982df7
Propagation delay is 500 milli-seconds
Interface ID: Router-ID:50.1.1.2 Local-ID 10038
ECMP REDIRECT, bundle : redirect, status : allowed
Neighbors:
20.1.1.3
PIM neighbor count: 1
PIM neighbor holdtime: 105
PIM configured DR priority: 1
PIM border interface: no
PIM Neighbor policy: not configured
Validation-3
Initially router_1 sends the (*, G) to Router_2 IF-2, as Router_2 IF-2 is RIB indicated RPF neighbor. The RIB indicated RPF neighbor can be checked using command show ip rpf
IP Multi cast Routing Table for ECMP Redirect
OcNOS#show ipv6 mroute
 
IPv6 Multicast Routing Table
Flags: I - Immediate Stat, T - Timed Stat, F - Forwarder installed
B - BIDIR
Timers: Uptime/Stat Expiry
Interface State: Interface
(239.1.1.1), uptime 00:10:47, stat expires 00:01:52
Owner PIM, Flags: TF
Incoming interface: xe34
Outgoing interface list:
xe33 (1)
 
OcNOS#show ipv6 pim mroute
IPv6 Multicast Routing Table
 
(*,*,RP) Entries: 0
G/prefix Entries: 0
(*,G) Entries: 0
(S,G) Entries: 1
(S,G,rpt) Entries: 1
FCR Entries: 0
(5001::2, ff06::1)
RPF nbr: fe80::eac5:7aff:fe0a:8533
RPF idx: xe34
SPT bit: 1
Upstream State: JOINED
Local ................................
Joined j...............................
Asserted ................................
Outgoing o...............................
(239.1.1.2::1, rpt)
RP: ::
RPF nbr: ::
RPF idx: None
Upstream State: RPT NOT JOINED
Local ................................
Pruned ................................
Outgoing ................................
 
PIM-IPv6-ECMP Redirect Configuration
Router-1 Config
(config)#bridge 1 protocol ieee vlan-bridge
Create VLAN bridge
(config)#vlan database
Enter VLAN database
(config-vlan)vlan 10 bridge 1 state enable
Configure VLAN
(config-vlan)vlan 20 bridge 1 state enable
Configure VLAN
(config-vlan)vlan 50 bridge 1 state enable
Configure VLAN
(config)#ipv6 multicast-routing
Enable IPv6 multi cast routing
(config)#ipv6 pim ecmp-bundle redirect
Create ECMP bundle group
(config)#ipv6 pim ecmp-bundle redirect
Configure multi cast sparse mode
(config-if)interface vlan1.10
Enter VLAN interface mode
(config-if)ipv6 address 7001::1/64
Configure IPv6 interface
(config-if)ipv6 router ospf area 0.0.0.0 tag 100 instance-id 0
Configure ipv6 OSPF area and instance id
(config-if)ipv6 mld version 2
Create MLD version
(config-if)ipv6 pim bind ecmp-bundle redirect
Bind CECMP bundle group
(config-if)ipv6 pim sparse-mode
Configure IPv6 PIM sparse mode
(config-if)interface vlan1.20
Enter the VLAN interface mode
(config-if)ipv6 address 4001::2/64
Configure IPv6 interface
(config-if)ipv6 router ospf area 0.0.0.0 tag 100 instance-id 0
Configure IPv6 OSPF area and instance id
(config-if)ipv6 mld version 2
Create MLD version
(config-if)ipv6 pim bind ecmp-bundle redirect
Bind ECMP bundle group
(config-if)ipv6 pim sparse-mode
Configure IPv6 pim sparse mode
(config-if)interface vlan1.50
Enter VLAN interface mode
(config)ipv6 address 5001::1/64
Configure IPv6 interface
(config)ipv6 router ospf area 0.0.0.0 tag 100 instance-id 0
Configure ipv6 OSPF area and instance id
 
(config)ipv6 mld version 2 ipv6 pim bind ecmp-bundle redirect
Bind CECMP bundle group
 
Router-2 Config
(config)#bridge 1 protocol ieee vlan-bridge
Create VLAN bridge
(config)#vlan database
Enter VLAN database
(config-vlan)vlan 10 bridge 1 state enable
Configure VLAN
(config-vlan)vlan 20 bridge 1 state enable
Configure VLAN
(config-vlan)vlan 50 bridge 1 state enable
Configure VLAN
(config)#ipv6 multicast-routing
Enable IPv6 multi cast routing
(config)#ipv6 pim ecmp-bundle redirect
Create ECMP bundle group
(config-if)interface vlan1.10
Enter VLAN interface mode
(config-if)ipv6 address 7001::1/64
Configure IPv6 interface
(config-if)ipv6 router ospf area 0.0.0.0 tag 100 instance-id 0
Configure ipv6 OSPF area and instance id
(config-if)ipv6 mld version 2
Create MLD version
(config-if)ipv6 pim bind ecmp-bundle redirect
Bind CECMP bundle group
(config-if)ipv6 pim sparse-mode
Configure IPv6 PIM sparse mode
(config-if)interface vlan1.20
Enter the VLAN interface mode
(config-if)ipv6 address 4001::2/64
Configure IPv6 interface
(config-if)ipv6 router ospf area 0.0.0.0 tag 100 instance-id 0
Configure IPv6 OSPF area and instance id
(config-if)ipv6 mld version 2
Create MLD version
(config-if)ipv6 pim bind ecmp-bundle redirect
Bind ECMP bundle group
(config-if)ipv6 pim sparse-mode
Configure IPv6 pim sparse mode
(config-if)interface vlan1.50
Enter VLAN interface mode
(config)ipv6 address 5001::1/64
Configure IPv6 interface
(config)ipv6 router ospf area 0.0.0.0 tag 100 instance-id 0
Configure ipv6 OSPF area and instance id
 
(config)ipv6 mld version 2 ipv6 pim bind ecmp-bundle redirect
Bind CECMP bundle group
Router-3 Config
(config)#bridge 1 protocol ieee vlan-bridge
Create VLAN bridge
(config)#vlan database
Enter VLAN database
(config-vlan)vlan 10 bridge 1 state enable
Configure VLAN
(config-vlan)vlan 20 bridge 1 state enable
Configure VLAN
(config-vlan)vlan 50 bridge 1 state enable
Configure VLAN
(config)#ipv6 multicast-routing
Enable IPv6 multi cast routing
(config)#ipv6 pim ecmp-bundle redirect
Create ECMP bundle group
(config-if)interface vlan1.10
Enter VLAN interface mode
(config-if)ipv6 address 7001::1/64
Configure IPv6 interface
(config-if)ipv6 router ospf area 0.0.0.0 tag 100 instance-id 0
Configure ipv6 OSPF area and instance id
(config-if)ipv6 mld version 2
Create MLD version
(config-if)ipv6 pim bind ecmp-bundle redirect
Bind CECMP bundle group
(config-if)ipv6 pim sparse-mode
Configure IPv6 PIM sparse mode
(config-if)interface vlan1.20
Enter the VLAN interface mode
(config-if)ipv6 address 4001::2/64
Configure IPv6 interface
(config-if)ipv6 router ospf area 0.0.0.0 tag 100 instance-id 0
Configure IPv6 OSPF area and instance id
(config-if)ipv6 mld version 2
Create MLD version
(config-if)ipv6 pim bind ecmp-bundle redirect
Bind ECMP bundle group
(config-if)ipv6 pim sparse-mode
Configure IPv6 pim sparse mode
(config-if)interface vlan1.50
Enter VLAN interface mode
(config)ipv6 address 5001::1/64
Configure IPv6 interface
(config)ipv6 router ospf area 0.0.0.0 tag 100 instance-id 0
Configure ipv6 OSPF area and instance id
 
(config)ipv6 mld version 2 ipv6 pim bind ecmp-bundle redirect
Bind CECMP bundle group
Validation-1
Enter the commands listed in this section to confirm the previous configurations.
show running-config interface
interface vlan1.10
ipv6 address 7001::1/64
ipv6 router ospf area 0.0.0.0 tag 100 instance-id 0
ipv6 mld version 2
ipv6 pim bind ecmp-bundle redirect
ipv6 pim sparse-mode
!
interface vlan1.20
ipv6 address 4001::2/64
ipv6 router ospf area 0.0.0.0 tag 100 instance-id 0
ipv6 mld version 2
ipv6 pim bind ecmp-bundle redirect
ipv6 pim sparse-mode
Validation 2
The following output displays the bundle information.
show ipv6 pim ecmp-bundle
Name : redirect
Interface : <ECMP REDIRECT status>
vlan1.50 : allowed
vlan1.20 : allowed
vlan1.10 : allowed
Validation 3
The following output displays the interface details.
show ipv6 pim interface detail
vlan1.10 (vif 3):
Address fe80::eac5:7aff:fe25:f131, Mode: Sparse
DR fe80::eac5:7aff:fe25:f131, DR's priority: 1
Hello period 30 seconds, Next Hello in 13 seconds
Triggered Hello period 5 seconds
PIM GenID sent in Hellos: 1eddc141
Propagation delay is 500 milli-seconds
Interface ID: Router-ID:0.0.0.0 Local-ID 10059
ECMP REDIRECT, bundle : redirect, status : allowed
Secondary addresses:
7001::1
Neighbors:
fe80::36ef:b6ff:fe94:3db4
PIM neighbor count: 1
PIM neighbor holdtime: 105
PIM configured DR priority: 1
PIM border interface: no
PIM Neighbor policy: not configured
vlan1.20 (vif 2):
Address fe80::eac5:7aff:fe25:f131, Mode: Sparse
DR fe80::eac5:7aff:fe25:f131, DR's priority: 1
Hello period 30 seconds, Next Hello in 13 seconds
Triggered Hello period 5 seconds
PIM GenID sent in Hellos: 7b93f3a0
Propagation delay is 500 milli-seconds
Interface ID: Router-ID:0.0.0.0 Local-ID 10069
ECMP REDIRECT, bundle : redirect, status : allowed
Secondary addresses:
4001::2
Neighbors:
fe80::36ef:b6ff:fe94:3db4
PIM neighbor count: 1
PIM neighbor holdtime: 105
PIM configured DR priority: 1
PIM border interface: no
PIM Neighbor policy: not configured
vlan1.50 (vif 0):
Address fe80::eac5:7aff:fe25:f131, Mode: Sparse
DR fe80::eac5:7aff:fe25:f131, DR's priority: 1
Hello period 30 seconds, Next Hello in 12 seconds
Triggered Hello period 5 seconds
PIM GenID sent in Hellos: 4dae86d7
Propagation delay is 500 milli-seconds
Interface ID: Router-ID:0.0.0.0 Local-ID 10099
ECMP REDIRECT, bundle : redirect, status : allowed
Secondary addresses:
5001::1
Neighbors:
PIM neighbor count: 0
PIM configured DR priority: 1
PIM border interface: no
PIM Neighbor policy: not configured
Validation 4
Initially router_1 sends the (*, G) to Router_2 IF-2, as Router_2 IF-2 is RIB indicated RPF neighbor.The RIB indicated RPF neighbor can be checked using command show ip rpf
show ipv6 rpf 4001::2
RPF information for 4001::2
RPF interface: vlan1.20
RPF neighbor: ::
RPF route: 4001::/64
RPF type: unicast (connected)
RPF recursion count: 0
Doing distance-preferred lookups across tables
Distance: 0
Metric: 0