This section describes how to configure VLT multicast
routing in a four-node setup—core, AG1, AG2, and ToR—using the topology
shown in the following figure:
Core, AG1, and AG2 are
multicast routers in a VLT domain.
ToR is an IGMP-enabled
L2 switch.
OSPF is the unicast routing
protocol.
Sample configuration
on core:
core# configure terminal
core(config)# ip multicast-routing
core(config)# ip pim rp-address 103.0.0.3 group-address 224.0.0.0/4
core(config)# router ospf 100
core(config-router-ospf-100)# exit
core(config)# interface ethernet 1/1/32:1
core(conf-if-eth1/1/32:1)# no shutdown
core(conf-if-eth1/1/32:1)# no switchport
core(conf-if-eth1/1/32:1)# ip address 16.0.0.1/24
core(conf-if-eth1/1/32:1)# flowcontrol receive off
core(conf-if-eth1/1/32:1)# ip pim sparse-mode
core(conf-if-eth1/1/32:1)# ip ospf 100 area 0.0.0.0
core(conf-if-eth1/1/32:1)# exit
core(config)# interface vlan 12
core(conf-if-vl-12)# no shutdown
core(conf-if-vl-12)# ip address 12.0.0.3/24
core(conf-if-vl-12)# ip pim sparse-mode
core(conf-if-vl-12)# ip pim dr-priority 1000
core(conf-if-vl-12)# ip ospf 100 area 0.0.0.0
core(conf-if-vl-12)# exit
core(config)# interface loopback 103
core(conf-if-lo-103)# no shutdown
core(conf-if-lo-103)# ip address 103.0.0.3/32
core(conf-if-lo-103)# ip pim sparse-mode
core(conf-if-lo-103)# ip ospf 100 area 0.0.0.0
core(conf-if-lo-103)# exit
PIM neighbors of core and the interface
to reach the neighbors
The show ip pim
neighbor command displays the PIM neighbors of core and the
interface to reach the neighbors.
core# show ip pim neighbor
Neighbor Address Interface Uptime/Expires Ver DR Priority / Mode
----------------------------------------------------------------------
12.0.0.1 vlan12 00:01:06/00:01:43 v2 10 / S
12.0.0.2 vlan12 00:01:03/00:01:42 v2 10 / S
PIM states in core
The output of the show ip pim tib command.
core# show ip pim tib
PIM Multicast Routing Table
Flags: S - Sparse, C - Connected, L - Local, P - Pruned,
R - RP-bit set, F - Register Flag, T - SPT-bit set, J - Join SPT,
K - Ack-Pending state
Timers: Uptime/Expires
Interface state: Interface, next-Hop, State/Mode
(*, 225.1.1.1), uptime 00:04:16, expires 00:00:00, RP 103.0.0.3, flags: S
Incoming interface: Null, RPF neighbor 0.0.0.0
Outgoing interface list:
vlan12 Forward/Sparse 00:04:16/00:03:13
The following show command output displays traffic after flow is initiated:
The show ip pim tib command output
displays the PIM tree information base (TIB).
core# show ip pim tib
PIM Multicast Routing Table
Flags: S - Sparse, C - Connected, L - Local, P - Pruned,
R - RP-bit set, F - Register Flag, T - SPT-bit set, J - Join SPT,
K - Ack-Pending state
Timers: Uptime/Expires
Interface state: Interface, next-Hop, State/Mode
(*, 225.1.1.1), uptime 00:09:54, expires 00:00:00, RP 103.0.0.3, flags: S
Incoming interface: Null, RPF neighbor 0.0.0.0
Outgoing interface list:
vlan12 Forward/Sparse 00:09:54/00:02:35
(16.0.0.10, 225.1.1.1), uptime 00:00:34, expires 00:02:55, flags: FT
Incoming interface: ethernet1/1/32:1, RPF neighbor 0.0.0.0
Outgoing interface list:
vlan12 Forward/Sparse 00:00:34/00:02:55
The show ip pim mcache command output displays multicast route entries.
core# show ip pim mcache
PIM Multicast Routing Cache Table
(16.0.0.10, 225.1.1.1)
Incoming interface : ethernet1/1/32:1
Outgoing interface list :
vlan12
Sample configuration
on AG1:
AG1# configure terminal
AG1(config)# ip multicast-routing
AG1 (config)# ip pim rp-address 103.0.0.3 group-address 224.0.0.0/4
AG1(config)# router ospf 100
AG1(config-router-ospf-100)# exit
AG1(config)# vlt-domain 255
AG1(conf-vlt-255)# backup destination 10.16.132.147
AG1(conf-vlt-255)# discovery-interface ethernet1/1/31:1,1/1/31:4
AG1(conf-vlt-255)# peer-routing
AG1(conf-vlt-255)# primary-priority 1
AG1(conf-vlt-255)# vlt-mac 00:00:00:11:11:11
AG1(conf-vlt-255)# exit
AG1(config)# interface ethernet 1/1/32:1
AG1(conf-if-eth1/1/32:1)# no shutdown
AG1(conf-if-eth1/1/32:1)# no switchport
AG1(conf-if-eth1/1/32:1)# ip address 16.0.0.1/24
AG1(conf-if-eth1/1/32:1)# flowcontrol receive off
AG1(conf-if-eth1/1/32:1)# ip pim sparse-mode
AG1(conf-if-eth1/1/32:1)# ip ospf 100 area 0.0.0.0
AG1(conf-if-eth1/1/32:1)# exit
AG1(config)# interface vlan 11
AG1(conf-if-vlan-11)# no shutdown
AG1(conf-if-vlan-11)# ip address 11.0.0.1/24
AG1(conf-if-vlan-11)# ip pim sparse-mode
AG1(conf-if-vlan-11)# ip pim dr-priority 1000
AG1(conf-if-vlan-11)# ip ospf 100 area 0.0.0.0
AG1(conf-if-vlan-11)# ip ospf cost 3000
AG1(conf-if-vlan-11)# exit
AG1(config)# interface vlan 12
AG1(conf-if-vlan-12)# no shutdown
AG1(conf-if-vlan-12)# ip address 12.0.0.1/24
AG1(conf-if-vlan-12)# ip pim sparse-mode
AG1(conf-if-vlan-12)# ip pim dr-priority 10
AG1(conf-if-vlan-12)# ip ospf 100 area 0.0.0.0
AG1(conf-if-vlan-12)# exit
AG1(config)# interface vlan 13
AG1(conf-if-vlan-13)# no shutdown
AG1(conf-if-vlan-13)# ip address 13.0.0.1/24
AG1(conf-if-vlan-13)# ip pim sparse-mode
AG1(conf-if-vlan-13)# ip pim dr-priority 10
AG1(conf-if-vlan-13)# ip ospf 100 area 0.0.0.0
AG1(conf-if-vlan-13)# ip ospf cost 4000
AG1(conf-if-vlan-13)# exit
AG1(config)# interface loopback 101
AG1(conf-if-lo-101)# no shutdown
AG1(conf-if-lo-101)# ip address 101.0.0.1/32
AG1(conf-if-lo-101)# ip pim sparse-mode
AG1(conf-if-lo-101)# ip ospf 100 area 0.0.0.0
AG1(conf-if-lo-101)# exit
AG1(config)# interface port-channel11
AG1(conf-if-po-11)# no shutdown
AG1(conf-if-po-11)# switchport mode trunk
AG1(conf-if-po-11)# switchport trunk allowed vlan 11
AG1(conf-if-po-11)# vlt-port-channel 11
AG1(conf-if-po-11)# exit
AG1(config)# interface port-channel12
AG1(conf-if-po-12)# no shutdown
AG1(conf-if-po-12)# switchport mode trunk
AG1(conf-if-po-12)# switchport access vlan 1
AG1(conf-if-po-12)# switchport trunk allowed vlan 12
AG1(conf-if-po-12)# vlt-port-channel 12
AG1(conf-if-po-12)# exit
PIM neighbors of AG1 and the interface
to reach the neighbors
The show ip
pim neighbor command displays the PIM neighbors of AG1 and
the interface to reach the neighbors.
AG1# show ip pim neighbor
Neighbor Address Interface Uptime/Expires Ver DR Priority / Mode
----------------------------------------------------------------------
11.0.0.2 vlan11 00:00:43/00:01:33 v2 10 / S
12.0.0.2 vlan12 00:01:01/00:01:44 v2 10 / S
12.0.0.3 vlan12 00:01:01/00:01:43 v2 1000 / DR S
13.0.0.2 vlan13 00:01:02/00:01:42 v2 1000 / DR S
IGMP and PIM states in AG1
The show ip igmp groups command output
displays the IGMP database.
AG1# show ip igmp groups
Total Number of Groups: 1
IGMP Connected Group Membership
Group Address Interface Mode Uptime Expires Last Reporter
225.1.1.1 vlan11 Exclude 00:01:55 00:01:53 0.0.0.0
The show ip pim tib command
output displays the PIM tree information base (TIB).
AG1# show ip pim tib
PIM Multicast Routing Table
Flags: S - Sparse, C - Connected, L - Local, P - Pruned,
R - RP-bit set, F - Register Flag, T - SPT-bit set, J - Join SPT,
K - Ack-Pending state
Timers: Uptime/Expires
Interface state: Interface, next-Hop, State/Mode
(*, 225.1.1.1), uptime 00:02:05, expires 00:00:54, RP 103.0.0.3, flags: SCJ
Incoming interface: vlan12, RPF neighbor 12.0.0.3
Outgoing interface list:
vlan11 Forward/Sparse 00:02:05/Never
The show ip pim mcache command output displays multicast route entries.
AG1# show ip pim mcache
PIM Multicast Routing Cache Table
(*, 225.1.1.1)
Incoming interface : vlan12
Outgoing interface list :
vlan11
AG1-VLT-NODE-1# show ip pim mcache vlt
PIM Multicast Routing Cache Table
Flags: S - Synced
(*, 225.1.1.1)
Incoming interface : vlan12
Outgoing interface list :
vlan11
The following show command
output displays traffic after traffic flow is established:
The show ip pim tib command shows
the PIM tree information base.
AG1# show ip pim tib
PIM Multicast Routing Table
Flags: S - Sparse, C - Connected, L - Local, P - Pruned,
R - RP-bit set, F - Register Flag, T - SPT-bit set, J - Join SPT,
K - Ack-Pending state
Timers: Uptime/Expires
Interface state: Interface, next-Hop, State/Mode
(*, 225.1.1.1), uptime 00:10:15, expires 00:00:44, RP 103.0.0.3, flags: SCJ
Incoming interface: vlan12, RPF neighbor 12.0.0.3
Outgoing interface list:
vlan11 Forward/Sparse 00:10:15/Never
(16.0.0.10, 225.1.1.1), uptime 00:00:55, expires 00:02:34, flags: CT
Incoming interface: vlan12, RPF neighbor 12.0.0.3
Outgoing interface list:
vlan11 Forward/Sparse 00:00:55/Never
The show ip pim mcache command displays the multicast route entries.
AG1# show ip pim mcache
PIM Multicast Routing Cache Table
(*, 225.1.1.1)
Incoming interface : vlan12
Outgoing interface list :
vlan11
(16.0.0.10, 225.1.1.1)
Incoming interface : vlan12
Outgoing interface list :
vlan11
The show ip pim mcache vlt command displays multicast route entries.
AG1# show ip pim mcache vlt
PIM Multicast Routing Cache Table
Flags: S - Synced
(*, 225.1.1.1)
Incoming interface : vlan12
Outgoing interface list :
vlan11
(16.0.0.10, 225.1.1.1)
Incoming interface : vlan12
Outgoing interface list :
vlan11
Sample configuration
on AG2:
AG2# configure terminal
AG2(config)# ip multicast-routing
AG2 (config)# ip pim rp-address 103.0.0.3 group-address 224.0.0.0/4
AG2(config)# router ospf 100
AG2(config-router-ospf-100)# exit
AG2(config)# vlt-domain 255
AG2(conf-vlt-255)# backup destination 10.16.132.153
AG2(conf-vlt-255)# discovery-interface ethernet1/1/31:1,1/1/31:4
AG2(conf-vlt-255)# peer-routing
AG2(conf-vlt-255)# vlt-mac 00:00:00:11:11:11
AG2(conf-vlt-255)# exit
AG2(config)# interface ethernet 1/1/32:1
AG2(conf-if-eth1/1/32:1)# no shutdown
AG2(conf-if-eth1/1/32:1)# no switchport
AG2(conf-if-eth1/1/32:1)# ip address 16.0.0.1/24
AG2(conf-if-eth1/1/32:1)# flowcontrol receive off
AG2(conf-if-eth1/1/32:1)# ip pim sparse-mode
AG2(conf-if-eth1/1/32:1)# ip ospf 100 area 0.0.0.0
AG2(conf-if-eth1/1/32:1)# exit
AG2(config)# interface vlan 11
AG2(conf-if-vlan-11)# no shutdown
AG2(conf-if-vlan-11)# ip address 11.0.0.2/24
AG2(conf-if-vlan-11)# ip pim sparse-mode
AG2(conf-if-vlan-11)# ip pim dr-priority 10
AG2(conf-if-vlan-11)# ip ospf 100 area 0.0.0.0
AG2(conf-if-vlan-11)# ip ospf cost 3000
AG2(conf-if-vlan-11)# exit
AG2(config)# interface vlan 12
AG2(conf-if-vlan-12)# no shutdown
AG2(conf-if-vlan-12)# ip address 12.0.0.2/24
AG2(conf-if-vlan-12)# ip pim sparse-mode
AG2(conf-if-vlan-12)# ip pim dr-priority 10
AG2(conf-if-vlan-12)# ip ospf 100 area 0.0.0.0
AG2(conf-if-vlan-12)# exit
AG2(config)# interface vlan 13
AG2(conf-if-vlan-13)# no shutdown
AG2(conf-if-vlan-13)# ip address 13.0.0.2/24
AG2(conf-if-vlan-13)# ip pim sparse-mode
AG2(conf-if-vlan-13)# ip pim dr-priority 1000
AG2(conf-if-vlan-13)# ip ospf 100 area 0.0.0.0
AG2(conf-if-vlan-13)# ip ospf cost 4000
AG2(conf-if-vlan-13)# exit
AG2(config)# interface loopback 102
AG2(conf-if-lo-102)# no shutdown
AG2(conf-if-lo-102)# ip address 102.0.0.2/32
AG2(conf-if-lo-102)# ip pim sparse-mode
AG2(conf-if-lo-102)# ip ospf 100 area 0.0.0.0
AG2(conf-if-lo-102)# exit
AG2(config)# interface port-channel11
AG2(conf-if-po-11)# no shutdown
AG2(conf-if-po-11)# switchport mode trunk
AG2(conf-if-po-11)# switchport access vlan 1
AG2(conf-if-po-11)# switchport trunk allowed vlan 11
AG2(conf-if-po-11)# vlt-port-channel 11
AG2(conf-if-po-11)# exit
AG2(config)# interface port-channel12
AG2(conf-if-po-12)# no shutdown
AG2(conf-if-po-12)# switchport mode trunk
AG2(conf-if-po-12)# switchport access vlan 1
AG2(conf-if-po-12)# switchport trunk allowed vlan 12
AG2(conf-if-po-12)# vlt-port-channel 12
AG2(conf-if-po-12)# exit
PIM neighbors of AG2 and the interface
to reach the neighbors
The show ip
pim neighbor command displays the PIM neighbors of AG2 and
the interface to reach the neighbors.
AG2# show ip pim neighbor
Neighbor Address Interface Uptime/Expires Ver DR Priority / Mode
-----------------------------------------------------------------------
11.0.0.1 vlan11 00:00:38/00:01:36 v2 1000 / DR S
12.0.0.1 vlan12 00:01:00/00:01:19 v2 10 / S
12.0.0.3 vlan12 00:01:06/00:01:18 v2 1000 / DR S
13.0.0.1 vlan13 00:01:00/00:01:19 v2 10 / S
IGMP and PIM states in AG2
The show ip igmp groups command output
displays the IGMP database.
AG2# show ip igmp groups
Total Number of Groups: 1
IGMP Connected Group Membership
Group Address Interface Mode Uptime Expires Last Reporter
225.1.1.1 vlan11 Exclude 00:02:00 00:01:47 0.0.0.0
The output of the show ip pim
tib command.
AG2# show ip pim tib
PIM Multicast Routing Table
Flags: S - Sparse, C - Connected, L - Local, P - Pruned,
R - RP-bit set, F - Register Flag, T - SPT-bit set, J - Join SPT,
K - Ack-Pending state
Timers: Uptime/Expires
Interface state: Interface, next-Hop, State/Mode
(*, 225.1.1.1), uptime 00:02:15, expires 00:00:00, RP 103.0.0.3, flags: SC
Incoming interface: vlan12, RPF neighbor 12.0.0.3
Outgoing interface list:
vlan11 Forward/Sparse 00:02:15/Never
The show ip pim mcache command output displays multicast route entries.
AG2# show ip pim mcache
PIM Multicast Routing Cache Table
(*, 225.1.1.1)
Incoming interface : vlan12
Outgoing interface list :
vlan11
AG2# show ip pim mcache vlt
PIM Multicast Routing Cache Table
Flags: S - Synced
(*, 225.1.1.1),flags: S
Incoming interface : vlan12
Outgoing interface list :
vlan11 (S)
The following show command
output displays the synchronized states after traffic flow is established:
AG2# show ip pim tib
PIM Multicast Routing Table
Flags: S - Sparse, C - Connected, L - Local, P - Pruned,
R - RP-bit set, F - Register Flag, T - SPT-bit set, J - Join SPT,
K - Ack-Pending state
Timers: Uptime/Expires
Interface state: Interface, next-Hop, State/Mode
(*, 225.1.1.1), uptime 00:10:30, expires 00:00:00, RP 103.0.0.3, flags: SC
Incoming interface: vlan12, RPF neighbor 12.0.0.3
Outgoing interface list:
vlan11 Forward/Sparse 00:10:30/Never
AG2# show ip pim mcache
PIM Multicast Routing Cache Table
(*, 225.1.1.1)
Incoming interface : vlan12
Outgoing interface list :
vlan11
(16.0.0.10, 225.1.1.1)
Incoming interface : vlan12
Outgoing interface list :
vlan11
AG2# show ip pim mcache vlt
PIM Multicast Routing Cache Table
Flags: S - Synced
(*, 225.1.1.1),flags: S
Incoming interface : vlan12
Outgoing interface list :
vlan11 (S)
(16.0.0.10, 225.1.1.1),flags: S
Incoming interface : vlan12
Outgoing interface list :
vlan11 (S)
The following command displays IGMP snooping groups
membership details:
ToR# show ip igmp snooping groups
Total Number of Groups: 1
IGMP Connected Group Membership
Group Address Interface Mode Expires
225.1.1.1 vlan11 IGMPv2-Compat 00:02:09
Member-ports :ethernet1/1/32:1
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\