set protocols static mroute

set protocols static mroute


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-addressnext-hop-interface <interface-name>} [distance <distance>]

delete protocols static mroute <ipv4/prefixlen> {next-hop<nexthop-addressnext-hop-interface <interface-name>} [distance<distance>]



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 interface as an outgoing interface. The value could be a VLAN interface, loopback interface, routed interface or sub-interface.

distance <distance>

Optional. Specifies the administrative distance of a static route. The value is an integer that ranges from 1 to 255.



Example
• This example creates a static route.

admin@XorPlus# set protocols static mroute 10.10.10.0/24 next-hop-interface vlan100 admin@XorPlus# commit

Copyright © 2025 Pica8 Inc. All Rights Reserved.