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
Enabling IP multicast routing
Before you configure any Layer 3 multicast functionality, you must enable IP multicast routing.
To enable IP multicast routing:
Step
1.
Enter system view.
2.
Enable IP multicast routing.
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-DM or PIM-SM.
•
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 the multicast traffic from that source.
To configure a static multicast route:
Step
1.
Enter system
view.
2.
Configure a
static multicast
route.
3.
(Optional.)
Delete static
multicast routes.
Configuring the RPF route selection rule
You can configure the router to select the RPF route based on the longest prefix match principle. For more
information about RPF route selection, see
Command
system-view
multicast routing-enable
Command
system-view
ip rpf-route-static source-address { mask-length | mask }
{ rpf-nbr-address | interface-type interface-number }
[ preference preference ]
•
Delete a specified static multicast route:
undo ip rpf-route-static source-address
{ mask-length | mask } { rpf-nbr-address |
interface-type interface-number }
•
Delete all static multicast routes:
delete ip rpf-route-static
"RPF check
37
Layer 3—IP Services Configuration Guide
Remarks
N/A
By default, IP multicast routing is
disabled.
process."
.
Remarks
N/A
By default, no static
multicast route is
configured.
N/A