ip route
Syntax
Release Information
Description
Options
Copyright © 2010, Juniper Networks, Inc.
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] ]
no ip route [ vrf vrfName ] ipAddress ipMask [ ipNextHop | interfaceType interfaceSpecifier
] [ distance ]
Command introduced before JunosE Release 7.1.0.
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.
vrfName—Name of the VRF if the static route is being established within a VRF context;
available only in Global Configuration mode
ipAddress—Destination IP address
ipMask—IP mask for the destination
ipNextHop—IP address of the next hop that can be used to reach the destination
network
interfaceType—Interface type; see "Interface Types and Specifiers" on page 5
interfaceSpecifier—Particular interface; format varies according to interface type; see
Interface Types and Specifiers on page 5
distance—Administrative distance for this route in the range 0–254
tagVal—Number in the range 0–4294967295 that identifies the tag for this route
permanent—Specifies that the route will not be removed, even if the interface shuts
down
verify rtr—Installs 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
rtrIndex—Number of the RTR operation to be verified; there is no default value
Chapter 10: I Commands
923
Need help?
Do you have a question about the JUNOSE SOFTWARE 11.2.X - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010 and is the answer not in the manual?
Questions and answers