86
Enabling IP multicast routing in a VPN instance
Ste
Command
Remarks
1. Enter system view.
system-view
N/A
2. Create a VPN instance and
enter VPN instance view.
ip vpn-instance vpn-instance-name N/A
3. Configure a route
distinguisher (RD) for the
VPN instance.
route-distinguisher route-distinguisher No RD is configured by default.
4. Enable IP multicast routing.
multicast routing-enable Disabled by default.
For more information about the ip vpn-instance and route-distinguisher commands, see IP Routing
Command Referenc
e.
Configuring multicast routing and forwarding
Before you configure multicast routing and forwarding, complete the following tasks:
• Configure a unicast routing protocol so that all devices in the domain are interoperable at the
network layer.
• Enable PIM (PIM-DM or PIM-SM).
• Determine the maximum number of downstream nodes for a single multicast forwarding table entry.
• Determine the maximum number of entries in the multicast forwarding table.
Configuring static multicast routes
By configuring a static multicast route for a given multicast source, you can specify an RPF interface or an
RPF neighbor for multicast traffic from that source. If you want to remove a specific static multicast route,
use the undo ip rpf-route-static command, if you want to remove all static multicast routes, use the delete
ip rpf-route-static command.
When you configure a static multicast route, you cannot specify an RPF neighbor by providing the type
and number (interface-type interface-number) of the interface if the interface of the RPF neighbor is a
Layer 3 Ethernet interface, Layer 3 aggregate interface, Loopback interface, or VLAN interface. Instead,
you can specify such an RPF neighbor only by its address (rpf-nbr-address).
To configure a static multicast route:
Ste
Command Remarks
1. Enter system view.
system-view
N/A
2. Configure a static
multicast route.
ip rpf-route-static [ vpn-instance vpn-instance-name ]
source-address { mask | mask-length } [ protocol
[ process-id ] ] [ route-policy policy-name ]
{ rpf-nbr-address | interface-type interface-number }
[ preference preference ] [ order order-number ]
No static multicast route is
configured by default.