ip route
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.
ip route [ vrf vrfName ] { ipAddress ipMask { ipNextHop
[ interfaceType interfaceSpecifier ] | interfaceType interfaceSpecifier } }
[ distance ] [ tag tagVal ] [ permanent ] [ verify rtr rtrIndex [ last-resort ] ]
[ verify bfd-liveness-detection [ minimum-interval minInterval |
[ minimum-receive-interval minRecInterval ]
[ minimum-transmit-interval minTransInterval ] ] ] [ multiplier multValue ] [last-resort] ]no ip route [ vrf vrfName ] ipAddress ipMask [ ipNextHop | interfaceType interfaceSpecifier ] [ distance ]
- vrfNameName of the VRF if the static route is being established within a VRF context; available only in Global Configuration mode
- ipAddressDestination IP address
- ipMaskIP mask for the destination
- ipNextHopIP address of the next hop that can be used to reach the destination network
- interfaceTypeInterface type; see Interface Types and Specifiers in About This Guide
- interfaceSpecifierParticular interface; format varies according to interface type; see Interface Types and Specifiers in About This Guide
- distanceAdministrative distance for this route in the range 0254
- tagValNumber in the range 04294967295 that identifies the tag for this route
- permanentSpecifies that the route will not be removed, even if the interface shuts down
- verify rtrInstalls the static route in the routing table only if the next hop to the specified destination address is resolved and if the specified RTR operation is currently reachable
- rtrIndexNumber of the RTR operation to be verified; there is no default value
- last-resortInstalls the static route in the routing table even if the specified RTR operation is currently unreachable, provided that no other static route to the same network prefix is available
- verify bfd-liveness-detectionInstalls the static route in the routing table only if the next hop to the specified destination address is verifiable by means of BFD liveness detection
- minIntervalMinimum proposed transmit interval and required receive interval for BFD control packets; number in the range 10065535 milliseconds; default value is 300 milliseconds
- minRecIntervalMinimum interval at which the local peer must receive BFD control packets sent by the remote peer; number in the range 10065535 milliseconds; default value is 300 milliseconds
- minTransIntervalMinimum proposed interval between BFD control packets sent by the local peer; number in the range 10065535 milliseconds; default value is 300 milliseconds
- multValueDetection multiplier value that the remote peer router multiplies by the local peer's negotiated transmit interval to determine the remote peer's BFD liveness detection interval; equal to the number of BFD packets that can be missed before the BFD session is declared down; number in the range 1255; default value is 3
Global Configuration, VRF Configuration
Release Information Command introduced before JUNOSe Release 7.1.0.