ip route

Syntax

ip route [ vrf vrfName ] { ipAddress ipMask { ipNextHop
[ interfaceType interfaceSpecifier ] | interfaceType interfaceSpecifier } }

[ distance ] [ tag tagVal ] [ permanent ] [ [ verify rtr rtrIndex ]
[ verify bfd-liveness-detection [ minimum-interval minInterval |
[ minimum-receive-interval minRecInterval ]
[ minimum-transmit-interval minTransInterval ] ] ] [ multiplier multValue ] ]
[ last-resort] ] [ reject | discard ]

no ip route [ vrf vrfName ] ipAddress ipMask [ ipNextHop | interfaceType interfaceSpecifier ] [ distance ]

Release Information

Command introduced before JunosE Release 7.1.0.
reject and discard keywords added in JunosE Release 12.0.0.

Description

Establishes static routes and can also enable Bidirectional Forwarding Detection (BFD) for the static route. The no version removes static routes or removes BFD from the static route.

Note: BFD sessions might not be maintained when the multiplier value is 1 and configured intervals are very short. We recommend that you do not use a multiplier value of 1 with very short intervals.

Options

Mode

Global Configuration

Related Documentation