S12700 and S12700E V200R019C10 Configuration Guide - IP Multicast

This document describes the configurations of IP multicast, including IP multicast basics, IGMP, MLD, IPv4 PIM, IPv6 PIM, MSDP, multicast VPN, layer 3 multicast CAC, IPv4 multicast route management, IPv6 multicast route management, IGMP snooping, MLD snooping, static multicast MAC address, multicast VLAN replication, layer 2 multicast CAC, multicast network management.

Configuring a Multicast Static Route

Configuring a Multicast Static Route

Context

A multicast static route specifies a reverse path forwarding (RPF) interface or RPF neighbor for multicast packets from a specified multicast source. Configure a multicast static route to:

  • Change an RPF route.

    If you want an interface to receive multicast data packets from a specified multicast source but the interface is not the RPF interface for that multicast source, configure a multicast static route to specify this interface as the RPF interface for the multicast source. When the switch receives multicast data packets from the multicast source, it performs an RPF check using the configured RPF route. Packets sent from the source to the switch through other interfaces fail the RPF check.

  • Connect RPF routes.

    If the unicast route on a network segment is incomplete, multicast packets cannot be forwarded because there is no RPF route. For example, when two adjacent devices run different routing protocols but the routing protocols do not import routes from each other, packets cannot be forwarded between the two devices. In this case, you can configure RPF static routes on the devices. The devices can perform an RPF check using the specified RPF interfaces so that multicast packets can be forwarded successfully.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ip rpf-route-static [ vpn-instance vpn-instance-name ] source-address { mask | mask-length } [ isis process-id | ospf process-id | rip process-id | bgp | static ] [ route-policy route-policy-name ] { gateway-address | interface-type interface-number } [ preference preference ] [ order order-number ]

    A multicast static route is configured.

    If the next-hop interface of a multicast static route is a P2P interface, select the interface-type interface-number parameter from gateway-address | interface-type interface-number to specify the outbound interface. If the next-hop interface is a P2MP interface, select the gateway-address parameter to specify the next-hop IP address.