129
To do... Use the command... Descri
tion
Enter system view system-view —
Create a VPN instance and enter
VPN instance view
ip vpn-instance vpn-instance-name —
Configure an RD for the VPN
instance
route-distinguisher route-
distinguisher
Required
Not configured by default.
Enable IP multicast routing multicast routing-enable
Required
Disabled by default.
Enter interface view
interface interface-type interface-
number
—
Associate the current interface
with the VPN instance
ip binding vpn-instance vpn-
instance-name
Required
No VPN instance is associated
with an interface by default.
Enable PIM-DM
pim dm
Required
Disabled by default.
CAUTION:
• All the interfaces in the same VPN instance on the same device must work in the same PIM mode.
• PIM-DM does not work with multicast groups in the SSM group range.
NOTE:
• For more information about the ip vpn-instance, route-distinguisher and ip binding vpn-instance
commands, see the
MPLS Command Reference
.
• For more information about the multicast routing-enable command, see the
IP Multicast Command
Reference
.
Enabling state-refresh capability
Pruned interfaces resume multicast forwarding when the pruned state times out. To prevent this, the
router with the multicast source attached periodically sends an (S, G) state-refresh message, which is
forwarded hop by hop along the initial multicast flooding path of the PIM-DM domain, to refresh the
prune timer state of all the routers on the path. A multi-access subnet can have the state-refresh capability
only if the state-refresh capability is enabled on all PIM routers on the subnet.
Follow these steps to enable the state-refresh capability:
To do... Use the command... Remarks
Enter system view
system-view —
Enter interface view
interface interface-type interface-
number
—
Enable the state-refresh capability
pim state-refresh-capable
Optional
Enabled by default