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 (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
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:
Step
1.
Enter system view.
2.
Configure a static
multicast route.
3.
Delete static
multicast routes.
Configuring a multicast routing policy
You can configure the router to determine the RPF route based on the longest match principle. For more
information about RPF route selection, see
By configuring per-source or per-source-and-group load splitting, you can optimize the traffic delivery
when multiple data flows are handled.
Step
1.
Enter system view.
Command
system-view
multicast routing-enable
Command
system-view
ip rpf-route-static source-address { mask |
mask-length } [ protocol [ process-id ] ] [ route-policy
policy-name ] { rpf-nbr-address | interface-type
interface-number } [ preference preference ] [ order
order-number ]
delete ip rpf-route-static
"RPF check
Command
system-view
63
Remarks
N/A
Disabled by default
process."
Remarks
N/A
Remarks
N/A
No static multicast route is
configured by default.
Optional.