The set protocols static mroute command adds a static route entry to the Multicast RIB.
The delete protocols static mroute command removes the static route.
Command Syntax
set protocols static mroute <ipv4/prefixlen> {next-hop<nexthop-address> | next-hop-interface <interface-name>} [metric <metric>]
delete protocols static mroute <ipv4/prefixlen> {next-hop<nexthop-address> | next-hop-interface <interface-name>} [metric <metric>]
Parameter
Parameter | Description |
mroute <ipv4/prefixlen> | Specifies the IPv4 address of a multicast source. The value is in dotted decimal notation. The value prefixlen is a decimal integer that ranges from 1 to 32. |
next-hop<nexthop-address> | Specifies the next-hop address. The value is in dotted decimal notation. |
next-hop-interface <interface-name> | Specifies the L3 VLAN interface as an outgoing interface. |
metric <metric> | Optional. Specifies the metric of a static route. The default value is 1. |
Example
• This example creates a static route.
admin@XorPlus# set protocols static mroute 10.10.10.10/32 next-hop-interface vlan100 admin@XorPlus# commit