home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

protocols static route <subnet> next-hop <address>

Configures the next hop for a static route.

set protocols static route subnet next-hop address [ disable | distance distance | fall-over bfd | interface interface-name ]
delete protocols static route subnet next-hop address [ disable | distance | fall-over bfd | interface interface-name ]
show protocols static route subnet next-hop address [ disable | distance | fall-over | interface ]
subnet
Multi-node. A static route. The format is a destination subnet of the form address/prefix (x.x.x.xlx).

You can define multiple static routes by creating multiple route configuration nodes.

address
The address of the next-hop router.
disable
Disables the static route.
distance distance
Sets the next-hop distance for this route. Routes with a smaller distance are selected before those with a larger distance. The distance ranges from 1 through 255. The default distance is 1.
fall-over bfd
Enables BFD support for fallover.
interface interface-name
Specifies the name of the outgoing intrface.

Configuration mode

protocols {
	static {
		route subnet {
			next-hop address {
				disable
				distance distance
    fall-over bfd
				interface interface-name
			}
		}
	}

}

Use the set form of this command to configure the next hop for a static route.

Use the delete form of this command to remove the next hop from a static route.

Use the show form of this command to view the next hop for a static route.