NOTE:
The device can route and forward multicast data only through the primary IP addresses of
interfaces, rather than their secondary addresses or unnumbered IP addresses. For more
information about primary and secondary IP addresses, and IP unnumbered, see Layer 3—IP
Services Configuration Guide.
Enabling IP multicast routing
Enable IP multicast routing before you configure any Layer 3 multicast functionality on the public
network or VPN instance.
To enable IP multicast routing:
Step
1.
Enter system view.
2.
Enable IP multicast routing
and enter MRIB view.
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 can interoperate at the
network layer.
•
Enable PIM-DM or PIM-SM.
Configuring static multicast routes
To configure a static multicast route for a given multicast source, you can specify an RPF interface or
an RPF neighbor for the multicast traffic from that source.
To configure a static multicast route:
Step
1.
Enter system view.
2.
Configure
multicast route.
Command
system-view
multicast
[
vpn-instance-name ]
Command
system-view
ip
rpf-route-static
vpn-instance-name ] source-address
a
static
{ mask-length | mask } { rpf-nbr-address
|
interface-type
[ preference preference ]
routing
vpn-instance
[
vpn-instance
interface-number
46
Remarks
N/A
By default, IP multicast routing is
disabled.
Remarks
N/A
By default, no static multicast
routes exist.
}