Verifying the PIM-DM Configuration
After configuring PIM-DM, verify PIM interfaces, PIM neighbors, and the PIM routing table.
Procedure
- Run the display pim interface [ interface-type interface-number ] [ verbose ] command to check information about PIM interfaces.
- Run the display pim neighbor [ interface interface-type interface-number | neighbor-address | verbose ] * command to check PIM neighbors.
- Run the display pim grafts command to check an unacknowledged PIM-DM graft.
- Run the display pim [ vpn-instance vpn-instance-name | all-instance ] control-message counters [ interface interface-type interface-number | message-type { assert | hello | join-prune | graft | graft-ack | state-refresh | bsr | announcement | discovery } ] * command to check the number of the sent or received PIM control messages.
- Run the display pim routing-table [ group-address [mask { group-mask-length | group-mask } ] | source-address [ mask { source-mask-length | source-mask } ] | incoming-interface interface-type interface-number | outgoing-interface { include | exclude | match } interface-type interface-number | flags flag-value | fsm ] * [ outgoing-interface-number [ number ] ] command to check the PIM routing table.
- Run the display multicast global statistics command to check PIM resource statistics.
Example
Run the display pim interface command. The command output shows the details about interface GE 1/0/0 on a PIM-DM network.
<HUAWEI> display pim interface gigabitethernet1/0/0 verbose VPN-Instance: public net Interface: GigabitEthernet1/0/0, 10.1.1.1 PIM version: 2 PIM mode: Dense PIM state: up PIM DR: 10.1.1.2 (local) PIM DR Priority (configured): 1 PIM neighbor count: 1 PIM hello interval: 30 s PIM LAN delay (negotiated): 500 ms PIM LAN delay (configured): 500 ms PIM hello override interval (negotiated): 2500 ms PIM hello override interval (configured): 2500 ms PIM Silent: disabled PIM neighbor tracking (negotiated): disabled PIM neighbor tracking (configured): disabled PIM generation ID: 0x4E2679FE PIM require-GenID: disabled PIM hello hold interval: 105 s PIM assert hold interval: 180 s PIM triggered hello delay: 5 s PIM J/P interval: 60 s PIM J/P hold interval: 210 s PIM state-refresh processing: enabled PIM state-refresh interval: 60 s PIM graft retry interval: 3 s PIM state-refresh capability on link: capable PIM BSR domain border: disabled PIM BFD: disabled PIM dr-switch-delay timer: not configured Number of routers on link not using DR priority: 0 Number of routers on link not using LAN delay: 0 Number of routers on link not using neighbor tracking: 2 ACL of PIM neighbor policy: - ACL of PIM ASM join policy: - ACL of PIM SSM join policy: - ACL of PIM join policy: -
Run the display pim neighbor command. The command output shows the details about PIM-DM neighbors.
<HUAWEI> display pim neighbor verbose VPN-Instance: public net Neighbor: 10.1.2.2 Interface: GigabitEthernet1/0/0 Uptime: 05:32:08 Expiry time: 00:01:41 DR Priority: 1 Generation ID: 0x3E4E01A6 Holdtime: 105 s LAN delay: 500 ms Override interval: 2500 ms State refresh interval: 60 s Neighbor tracking: disabled PIM BFD-session: N PIM join attribute: disabled PIM BIDIR: N
Run the display pim routing-table command. The command output shows the PIM routing table in PIM-DM mode.
<HUAWEI> display pim routing-table VPN-Instance: public net Total 0 (*, G) entry; 1 (S, G) entry (10.1.4.100, 225.1.1.1) Protocol: pim-dm, Flag: LOC ACT UpTime: 00:08:18 Upstream interface: GigabitEthernet1/0/1 Upstream neighbor: NULL RPF prime neighbor: NULL Downstream interface(s) information: Total number of downstreams: 1 1: GigabitEthernet1/0/0 Protocol: pim-dm, UpTime: 00:08:18, Expires: never
Run the display multicast global statistics command. The command output shows the limit on the number of PIM entries and alarm thresholds.
<HUAWEI> display multicast global pim dm statistics
------------------------------------------------------------------
PIM-DM Number Limit Threshold(Upper%/Lower%)
------------------------------------------------------------------
(*, G) 0 2000 80/70
(S, G) 0 1000 80/71
------------------------------------------------------------------