Configuring Basic PIM-DM Functions
Pre-configuration Tasks
Before configuring basic PIM-DM functions, configure a unicast routing protocol to ensure normal unicast routing on the network.
Context
PIM-DM and PIM-SM cannot be enabled simultaneously in the public network instance or VPN instance.
It is recommended that you enable PIM-DM on all interfaces on a PIM-DM network, so that the interfaces can establish neighbor relationships with all connected PIM devices.
If PIM-DM and Internet Group Management Protocol (IGMP) need to be enabled on the same interface, enable PIM-DM, and then enable IGMP.
Procedure
- Enable PIM-DM for a public network instance.
- Enable PIM-DM for a VPN instance.
A VPN instance must exist before you enable PIM-DM in the VPN instance.
Verifying the Configuration
After PIM-DM is enabled on all the interfaces in a PIM domain, use the following commands to check information about PIM interfaces, PIM neighbors, and PIM routing entries.
Run the display pim [ vpn-instance vpn-instance-name | all-instance ] interface [ interface-type interface-number | up | down ] [ verbose ] command to check PIM information on an interface.
Run the display pim [ vpn-instance vpn-instance-name | all-instance ] neighbor [ neighbor-address | interface interface-type interface-number | verbose ] * command to check information about PIM neighbors.
Run the following commands to check the PIM routing table:
Run the display pim [ vpn-instance vpn-instance-name | all-instance ] routing-table [ group-address [ mask { group-mask-length | group-mask } ] | source-address [ mask { source-mask-length | source-mask } ] | incoming-interface { interface-type interface-number | register } | outgoing-interface { include | exclude | match } { interface-type interface-number | register | none } | mode { dm | sm | ssm } | flags flag-value | fsm ] * [ outgoing-interface-number [ number ] ] command to check detailed information about the PIM routing table.
Run the display pim [ vpn-instance vpn-instance-name | all-instance ] routing-table brief [ group-address [ mask { group-mask-length | group-mask } ] | source-address [ mask { source-mask-length | source-mask } ] | incoming-interface { interface-type interface-number | register } ] * command to check brief information about the PIM routing table.