beautypg.com

Configuring multicast routing and forwarding, Configuration prerequisites, Configuring static multicast routes – H3C Technologies H3C SecPath F1000-E User Manual

Page 591: Configuring a multicast routing policy

background image

566

Configuring multicast routing and forwarding

Configuration prerequisites

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.
To configure a static multicast route:

Step

Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure a static multicast
route.

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 ]

No static multicast route
configured by default

3.

Delete static multicast routes. delete ip rpf-route-static

Optional

CAUTION:

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, Layer 3 RPR logical interface,

or VLAN interface. Instead, you can specify such an RPF neighbor only by its address (

rpf-nbr-address).

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 Appendix Protocol References.
By configuring per-source or per-source-and-group load splitting, you can optimize the traffic delivery

when multiple data flows are handled.
To configure a multicast routing policy for the public network:

Step

Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure the device to select the
RPF route based on the longest

match.

multicast longest-match

The route with the highest
priority is selected as the

RPF route by default.