Configuring Basic IPv6 PIM-DM Functions
Pre-configuration Tasks
Before configuring basic IPv6 PIM-DM functions, configure an IPv6 unicast routing protocol to ensure normal unicast routing on the IPv6 network.
Context
IPv6 PIM-DM and IPv6 PIM-SM cannot be enabled simultaneously on the device.
It is recommended that you enable IPv6 PIM-DM on all interfaces on an IPv6 PIM-DM network, so that the interfaces can establish neighbor relationships with all connected PIM devices.
If IPv6 PIM-DM and MLD need to be enabled on the same interface, enable IPv6 PIM-DM, and then enable Multicast Listener Discovery (MLD).
Procedure
- Run system-view
The system view is displayed.
- Run multicast ipv6 routing-enable
The IPv6 multicast routing function is enabled.
- Run interface interface-type interface-number
The interface view is displayed.
- Run pim ipv6 dm
IPv6 PIM-DM is enabled on the interface.
Verifying the Configuration
After IPv6 PIM-DM is enabled on all the interfaces in an IPv6 PIM domain, use the following commands to check information about IPv6 PIM interfaces, IPv6 PIM neighbors, and IPv6 PIM routing entries.
Run the display pim ipv6 interface [ interface-type interface-number | up | down ] [ verbose ] command to check IPv6 PIM information on an interface.
Run the display pim ipv6 neighbor [ ipv6-link-local-address | interface interface-type interface-number | verbose ] * command to check information about IPv6 PIM neighbors.
Run the following commands to check the IPv6 PIM routing table:
Run the display pim ipv6 routing-table [ ipv6-source-address [ mask mask-length ] | ipv6-group-address [ mask mask-length ] | flags flag-value | fsm | incoming-interface { interface-type interface-number | register } | mode { dm | sm | ssm } | outgoing-interface { exclude | include | match } { interface-type interface-number | none | register } ] * [ outgoing-interface-number [ number ] ] command to check detailed information about the IPv6 PIM routing table.
Run the display pim ipv6 routing-table brief [ ipv6-source-address [ mask mask-length ] | ipv6-group-address [ mask mask-length ] | incoming-interface { interface-type interface-number | register } ] * command to check brief information about the IPv6 PIM routing table.