You can display information about PIM events and parameters.
You can use the debug PIM commands to view information about PIM events.
debug ip pim
undebug ip pim
You can use the show ip pim commands to display information about PIM settings.
show ip pim
host1:1#show ip pim Default PIM Version: 2 Default Domain Id: 0 Default Hello Period: 30 Default Hello HoldTime: 105 Join-Prune Interval: 100 Join-Prune Holdtime: 350 Keepalive Period: 210 Assert Time: 210 Register Suppression Time: 60 Register Probe Time: 5 Register TTL: 64 SSM enabled, range default Sparse-Mode Graceful Restart Duration: 30 Graceful restart is complete (timer 0 seconds) Join filter, access-list bronze Designated Router Priority: 2
show ip pim auto-rp
host1:1#show ip pim auto-rp This PIM router is an Auto RP mapping agent. Configured with ttl 64 [ Using interface addr 121.0.0.1, interval 60 ]. PIM AutoRP candidate RP mapping(s)
host1:1# show ip pim auto-rp This PIM router is _not_ an Auto RP mapping agent. PIM AutoRP candidate RP mapping(s) Candidate RP 122.0.0.1 Group(s) 224.0.0.0/4, AutoRP, ttl 64, interval 60, from access List 1 Candidate RP 122.0.0.1 Group(s) 224.0.1.39/32 (negative), AutoRP, ttl 64, interval 60, from access List 1 Candidate RP 122.0.0.1 Group(s) 224.0.1.40/32 (negative), AutoRP, ttl 64, interval 60, from access List 1
show ip pim bsr
host1:1#show ip pim bsr
This PIM router is a Candidate BSR. Configured on intf ATM3/0.101, address: 101.0.0.1 hashMaskLen 30, priority 2, period 60 seconds. Elected BSR is this router, next BSM in 3 seconds.
Local candidate RP mapping(s): Candidate RP 101.0.0.1 224.0.0.0/4, BSR, hold-time 150, interval 60, priority 192 228.0.0.0/24, BSR, hold-time 150, interval 60, priority 192, from access-list acl 230.0.0.0/24, BSR, hold-time 150, interval 60, priority 192, from access-list acl
host1:1#show ip pim bsr This PIM router is a Candidate BSR. Configured on intf ATM3/0.100, address: 100.0.0.1 hashMaskLen 30, priority 2, period 60 seconds. Elected BSR is 101.0.0.1 (priority 0), expires in 73 seconds.
host1:1#show ip pim bsr This PIM router is not a Candidate BSR. Elected BSR is 101.0.0.1 (priority 0), expires in 73 seconds.
show ip pim data-mdt
host1:PE1#show ip pim data-mdt 225.1.1.1
PE11 - Sender
C-SG: 10.11.0.100, 225.1.1.1
P-SG: 1.1.1.1, 235.0.1.1
MTI: TUNNEL gre:mvpn-dynamic-1
Data rate/Threshold: 10012/500 Kbps
Time until next MDT Join TLV: 25 secondshost1:PE1#show ip pim data-mdt 225.2.2.2
PE31 - Receiver
C-SG: 10.13.0.100, 225.2.2.2
P-SG: 3.3.3.3, 235.0.1.1
MTI: TUNNEL gre:mvpn-dynamic-3
Time until MDT Join TLV expires: 29 secondshost1:PE1#show ip pim data-mdt senders summary
VRF S/R C-Group C-Source P-Group P-Source MTI ---- ------- --------- ----------- --------- -------- --------------- PE11 Sender 225.1.1.1 10.11.0.100 235.0.1.1 1.1.1.1 TUNNEL gre:mvpn-dynamic-1 PE12 Sender 225.1.1.1 10.12.0.100 235.0.1.2 1.1.1.1 TUNNEL gre:mvpn-dynamic-2
Counts: 2 senders, 0 receivers, total 3.
host1:PE1#show ip pim data-mdt count Counts: 2 senders, 1 receivers, total 3.
show ip pim dense-mode sg-state
host1:8#show ip pim dense-mode sg-state
PIM DM route table and pruned oif information
<122.0.0.1, 224.0.1.39> EntryExpires: 99
RPF Route: 122.0.0.0/255.0.0.0 IIF: 107.0.8.4 UpNbr: 107.0.4.8
Pruned Oifs:
Address: 108.0.8.5 IfId: 95
Pruned due to assert
Pruned time remaining 129
<130.0.0.2, 224.0.1.39> EntryExpires: 100
RPF Route: 130.0.0.0/255.0.0.0 IIF: 107.0.8.4 UpNbr: 107.0.4.8
Pruned Oifs:
Address: 108.0.8.5 IfId: 95
Pruned due to assert
Pruned time remaining 130
<121.0.0.1, 224.0.1.40> EntryExpires: 102
RPF Route: 121.0.0.0/255.0.0.0 IIF: 107.0.8.4 UpNbr: 107.0.4.8
Pruned Oifs:
Address: 108.0.8.5 IfId: 95
Pruned due to assert
Pruned time remaining 133show ip pim interface
host1# show ip pim interface
PIM Interface Table
Interface Addr Interface State Ver Mode Nbr Hello J/P DR DR Addr JoinFilter
Count Intvl Intvl Pri
101.0.0.1 ATM2/0.100 Up 2 Sparse 1 30 150 5 101.0.0.2 -
102.0.0.1 ATM2/0.101 Up 2 Sparse 1 30 100 2 102.0.0.2 silver
103.0.0.1 ATM3/0.102 Up 2 Sparse 1 30 100 2 103.0.0.1 gold
host1#show ip pim interface summary PIM Interface Summary SM: 0, 0 enabled, 0 disabled DM: 0, 0 enabled, 0 disabled SM/DM: 1, 0 enabled, 1 disabled
host1#show ip pim interface count
PIM Interface Count
Interface Addr Interface Name ControlPktCount In|Out
Hello JoinPrune Assert
192.32.10.20 ATM3/0.20 0 0 0
0 0 0show ip pim neighbor
host1#show ip pim neighbor Neighbor Addr Interface Name Uptime Expires Ver Mode BFD -------- --------------- -------- -------- --- ------ --- 1.1.1.1 FastEthernet1/1 00:02:49 00:01:27 2 Sparse Neighbor Addr Interface Name Uptime Expires Ver Mode BFD -------- --------------- -------- -------- --- ------ --- 1.1.1.1 FastEthernet1/1 00:03:16 00:01:30 2 Sparse up Neighbor Addr Interface Name Uptime Expires Ver Mode BFD -------- --------------- -------- -------- --- ------ ---- 1.1.1.1 FastEthernet1/1 00:00:07 00:01:39 2 Sparse down
show ip pim rp
host1:8#show ip pim rp mapping PIM Group-to-RP mapping(s) Group(s) 224.0.0.0/4 RP 122.0.0.1, priority 0, via AutoRP, expiryTime 88 Group(s) 224.0.1.39/32 (negative) RP 122.0.0.1, priority 0, via AutoRP (Negative), expiryTime 88 Group(s) 224.0.1.40/32 (negative) RP 122.0.0.1, priority 0, via AutoRP (Negative), expiryTime 88
host1:8#show ip pim rp mapping PIM Group-to-RP mapping(s) Group(s) 224.0.0.0/4 RP 134.0.0.1, priority 0, via Static, from access-list 1 Group(s) 232.0.0.0/16 RP 134.0.0.1, priority 0, via BSR, expires in 121 seconds
show ip pim rp-hash
host1:2#show ip pim rp-hash 232.1.1.1 Group(s) 224.0.0.0/4 RP 122.0.0.1, priority 0, via AutoRP, expiryTime 128
host1:2#show ip pim rp-hash 226.0.0.1 Group(s) 226.0.0.0/24 RP 101.0.0.1, priority 192, via BSR, expires in 145 seconds *RP 145.0.0.3, priority 192, via BSR, expires in 145 seconds
show ip pim sparse-mode sg-state
host1:2# show ip pim sparse-mode sg-state
<*, 224.0.1.40>
Group-to-RP mapping: 224.0.0.0/240.0.0.0 RP: 123.0.0.1
RPF Route: 123.0.0.0/255.0.0.0 IIF: 106.0.7.3 UpNbr: 106.0.3.7
Oifs:
Auto RP Discovery SELF oif.
Joined as <*, G>
<*, 225.1.2.3>
Group-to-RP mapping: 224.0.0.0/240.0.0.0 RP: 123.0.0.1
RPF Route: 123.0.0.0/255.0.0.0 IIF: 106.0.7.3 UpNbr: 106.0.3.7
Oifs:
Address: 78.7.7.7 Interface: loopback7
Local group membership present.
<*, 235.1.1.1>
Group-to-RP mapping: 224.0.0.0/240.0.0.0 RP: 123.0.0.1
RPF Route: 123.0.0.0/255.0.0.0 IIF: 106.0.7.3 UpNbr: 106.0.3.7
Oifs:
Address: 78.7.7.7 Interface: loopback7
Local group membership present.
<118.1.33.34, 232.0.0.1>
SSM Group
RPF Route: 118.1.0.0/255.255.0.0 IIF: 118.1.0.1 (Directly attached)
Oifs:
Register Oif to RP: 141.0.0.2 suppressed for SSM Group.
Address: 134.0.0.1 Interface: ATM3/0.104
Joined as <S, G> Join Expires: 161
<118.1.33.35, 232.0.0.1>
SSM Group
RPF Route: 118.1.0.0/255.255.0.0 IIF: 118.1.0.1 (Directly attached)
Oifs:
Register Oif to RP: 141.0.0.2 suppressed for SSM Group.
Address: 134.0.0.1 Interface: ATM3/0.104
Joined as <S, G> Join Expires: 161
<10.0.1.8, 235.1.1.1> EntryExpires: 143
Group-to-RP mapping: 224.0.0.0/240.0.0.0 RP: 123.0.0.1
RPF Route: 10.0.0.0/255.0.0.0 IIF: 106.0.7.3 UpNbr: 106.0.3.7
Oifs:
Address: 78.7.7.7 Interface: loopback7
Joined as <*, G>
Count of entries - <S, G> : 3
<*, G> : 3
<*, *, RP>: 0
show ip pim sparse-mode unicast-route
host1:2#show ip pim sparse-mode unicast-route PIM SM unicast route table information Route RpfNbr Iif Pref Metric --------------------------------------------------------------------------- 122.0.0.0 /255.0.0.0 122.0.0.1 255 1 Count of entries: 1
show ip pim spt-threshold
host1:2#show ip pim spt-threshold Access List Name SptThreshold(in kbps) ------------------------------------------------------- 1 infinity