Example 1-20 shows SW9621-1, SW9621-2, and SW9621-3 Multicast PIM configurations and IP PIM status.
Example 1-20 Enabling PIM on Routers 1 to 3 (SW9621-1 to SW9621-3) and Verifications
SW9621-1(config)#
feature pim
SW9621-1(config)#
interface e2/1
SW9621-1(config-if)#
ip pim sparse-mode
SW9621-1(config)#
interface e2/2
SW9621-1(config-if)#
ip pim sparse-mode
SW9621-2(config)#
feature pim
SW9621-2(config)#
interface e2/1
SW9621-2(config-if)#
ip pim sparse-mode
SW9621-2(config)#
interface e2/2
SW9621-2(config-if)#
ip pim sparse-mode
SW9621-3(config)#
feature pim
SW9621-3(config)#
interface e2/1
SW9621-3(config-if)#
ip pim sparse-mode
SW9621-3(config)#
interface e2/2
SW9621-1(config-if)#
ip pim sparse-mode
SW9621-1#
show ip pim neighbor
PIM Neighbor Status for VRF “default”
Neighbor Interface . Uptime Expires DR Bidir-
BFD
Priority Capable
State
10.10.10.2 Ethernet2/1 01:23:13 00:01:38 1 yes
n/a
10.10.10.6 Ethernet2/2 01:22:01 00:01:36 1 yes
n/a
SW9621-2(config-if)#
show ip pim neighbor
PIM Neighbor Status for VRF “default”
Neighbor Interface Uptime Expires DR Bidir-
BFD
Priority Capable
State
10.10.10.1 Ethernet2/1 01:25:09 00:01:34 1 yes
n/a
10.10.10.9 Ethernet2/2 01:23:45 00:01:41 1 yes
n/a
SW9621-3#
show ip pim neighbor
PIM Neighbor Status for VRF “default”
Neighbor Interface Uptime Expires DR Bidir-
BFD
Priority Capable
State
10.10.10.5 Ethernet2/1 01:24:15 00:01:37 1 yes
n/a
10.10.10.10 Ethernet2/2 01:24:04 00:01:18 1 yes
n/a
Example 1-21 shows SW9621-1 Multicast Static RP configurations and status.
Example 1-21 Multicast Static RP Configurations and Verification
SW9621-1(config)#
ip pim rp 10.10.10.2
SW9621-1(config)#
show ip pim rp
PIM RP Status Information for VRF “default”
BSR disabled
Auto-RP disabled
BSR RP Candidate policy: None
BSR RP policy: None
Auto-RP Announce policy: None
Auto-RP Discovery policy: None
RP: 10.10.10.2, (0),
uptime: 00:00:14 priority: 0,
RP-source: (local),
group ranges:
224.0.0.0/4
SW9621-1(config)#
ip pim rp 10.10.10.6 group-list 239.0.200.0/24
SW9621-1(config)#
show ip pim rp
PIM RP Status Information for VRF “default”
BSR disabled
Auto-RP disabled
BSR RP Candidate policy: None
BSR RP policy: None
Auto-RP Announce policy: None
Auto-RP Discovery policy: None
RP: 10.10.10.6, (0),
uptime: 00:02:16 priority: 0,
RP-source: (local),
group ranges:
239.0.200.0/24
Example 1-22 shows SW9621-1 multicast BSR RP configurations and status.
Example 1-22 Multicast BSRs RP Configurations and Verification
SW9621-1(config)#
ip pim bsr bsr-candidate e2/1
SW9621-1(config)#
show ip pim rp
PIM RP Status Information for VRF “default”
BSR: 10.10.10.1*, next Bootstrap message in: 00:00:53,
priority: 64, hash-length: 30
Auto-RP disabled
BSR RP Candidate policy: None
BSR RP policy: None
Auto-RP Announce policy: None
Auto-RP Discovery policy: None
RP: 10.10.10.2, (0),
uptime: 00:04:24 priority: 0,
RP-source: (local),
group ranges:
224.0.0.0/4
SW9621-2(config)#
ip pim bsr listen
SW9621-2(config)#
show ip pim rp
PIM RP Status Information for VRF “default”
BSR listen-only mode
BSR: Not Operational
Auto-RP disabled
BSR RP Candidate policy: None
BSR RP policy: None
Auto-RP Announce policy: None
Auto-RP Discovery policy: None
RP: 10.10.10.6, (0),
uptime: 00:03:39 priority: 0,
RP-source: (local),
group ranges:
239.0.200.0/24
Example 1-23 shows SW9621-2 Multicast Auto RP configurations and status.
Example 1-23 Multicast Auto RP Configurations and Verification
SW9621-2(config)#
ip pim auto-rp rp-candidate e2/1 group-list 239.0.0.0/24 bidir
SW9621-2(config)#
ip pim auto-rp mapping-agent e2/1
SW9621-2(config)#
ip pim auto-rp forward listen
SW9621-2(config)#
show ip pim rp
PIM RP Status Information for VRF “default”
BSR listen-only mode
BSR: 10.10.10.1, uptime: 00:04:37, expires: 00:01:21,
priority: 64, hash-length: 30
Auto-RP RPA: 10.10.10.2*, next Discovery message in: 00:00:05
BSR RP Candidate policy: None
BSR RP policy: None
Auto-RP Announce policy: None
Auto-RP Discovery policy: None
RP: 10.10.10.2*, (1),
uptime: 00:00:16 priority: 0,
RP-source: 10.10.10.2 (A),
group ranges:
239.0.0.0/24 (bidir) , expires: 00:02:43 (A)
RP: 10.10.10.6, (0),
uptime: 00:08:54 priority: 0,
RP-source: (local),
group ranges:
239.0.200.0/24