OcNOS-SP : Multicast Guide : Multicast Command Reference : Multicast Commands : ip mroute
ip mroute
Use this command to create a multicast static route.
Multicast static routes are unicast routes which allow multicast and unicast topologies to be incongruous. These routes are used by multicast routing protocols to perform Reverse Path Forwarding (RPF) checks.
Use the no form of this command to clear a multicast static route.
Command Syntax
ip mroute (vrf NAME|) A.B.C.D/M (static|rip|ospf|bgp|isis|) A.B.C.D
ip mroute (vrf NAME|) A.B.C.D/M (static|rip|ospf|bgp|isis|) A.B.C.D <1-255>
no ip mroute (vrf NAME|) A.B.C.D/M (static|rip|ospf|bgp|isis|)
Parameters
NAME
Virtual Routing and Forwarding name
A.B.C.D/M
Multicast source IP address and mask of the source
static
Static routes.
rip
Routing Information Protocol.
ospf
Open Shortest Patch First protocol.
bgp
Border Gateway Protocol.
isis
Intermediate System to Intermediate System protocol.
A.B.C.D
IP address to use as the RPF address. A host IP address can be a directly connected system or a remote system. For remote systems, a recursive lookup is done from the unicast routing table to find a directly connected system. Recursive lookup is done up to one level.
<1-255>
Administrative distance for the multicast static route. This value determines whether a unicast route or multicast static route is used for the RPF lookup. Lower distances have preference. If the multicast static route has the same distance as the other RPF sources, the multicast static route takes precedence.
Default
The default administrative distance for the multicast static route is 0.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#ip mroute 10.10.10.50/24 10.10.10.20 1
 
#configure terminal
(config)#ip mroute vrf VRF_A 10.10.10.50/1 10.10.10.20 1
Last modified date: 10/20/2023