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
- host1#debug ip pim events severity 1 verbosity low
undebug ip pim
- host1#undebug ip pim events
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 Default J/P HoldTime: 210 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
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 seconds
host1: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 seconds
host1: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 133
show ip pim interface
host1# show ip pim interface Interface Nbr Hello BFD Addr Interface State Ver Mode count Intvl DR Addr JoinFilter Enabled --------- --------------- ----- --- ------ ----- ----- ------- ---------- ----- 1.1.1.2 FastEthernet1/1 up 2 Sparse 1 30 1.1.1.2 --- yes Interface Nbr Hello BFD Addr Interface State Ver Mode count Intvl DR Addr JoinFilter Enabled --------- --------------- ----- --- ------ ----- ----- ------- ---------- ------ 1.1.1.2 FastEthernet1/1 up 2 Sparse 1 30 1.1.1.2 --- no
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 0
show 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