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] ]
no ip route [ vrf
vrfName
]
ipAddress ipMask
[
ipNextHop
|
interfaceType interfaceSpecifier
] [
distance
]
Release Information
Command introduced before JunosE Release 7.1.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
•
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
923
Copyright © 2010, Juniper Networks, Inc.
Chapter 10: I Commands
Summary of Contents for JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x Command Reference Guide A to M...
Page 38: ...Copyright 2010 Juniper Networks Inc xxxviii JunosE 11 2 x Command Reference Guide A to M...
Page 40: ...Copyright 2010 Juniper Networks Inc xl JunosE 11 2 x Command Reference Guide A to M...
Page 46: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x Command Reference Guide A to M...
Page 63: ...CHAPTER 2 A Commands 19 Copyright 2010 Juniper Networks Inc...
Page 253: ...CHAPTER 3 B Commands 209 Copyright 2010 Juniper Networks Inc...
Page 389: ...CHAPTER 4 C Commands 345 Copyright 2010 Juniper Networks Inc...
Page 514: ...Copyright 2010 Juniper Networks Inc 470 JunosE 11 2 x Command Reference Guide A to M...
Page 515: ...CHAPTER 5 D Commands 471 Copyright 2010 Juniper Networks Inc...
Page 595: ...CHAPTER 6 E Commands 551 Copyright 2010 Juniper Networks Inc...
Page 663: ...CHAPTER 7 F Commands 619 Copyright 2010 Juniper Networks Inc...
Page 701: ...CHAPTER 8 G Commands 657 Copyright 2010 Juniper Networks Inc...
Page 717: ...CHAPTER 9 H Commands 673 Copyright 2010 Juniper Networks Inc...
Page 732: ...Copyright 2010 Juniper Networks Inc 688 JunosE 11 2 x Command Reference Guide A to M...
Page 733: ...CHAPTER 10 I Commands 689 Copyright 2010 Juniper Networks Inc...
Page 1181: ...CHAPTER 11 K Commands 1137 Copyright 2010 Juniper Networks Inc...
Page 1184: ...Copyright 2010 Juniper Networks Inc 1140 JunosE 11 2 x Command Reference Guide A to M...
Page 1185: ...CHAPTER 12 L Commands 1141 Copyright 2010 Juniper Networks Inc...
Page 1295: ...CHAPTER 13 M Commands 1251 Copyright 2010 Juniper Networks Inc...
Page 1476: ...Copyright 2010 Juniper Networks Inc 1432 JunosE 11 2 x Command Reference Guide A to M...
Page 1477: ...PART 2 Index Index on page 1435 1433 Copyright 2010 Juniper Networks Inc...
Page 1478: ...Copyright 2010 Juniper Networks Inc 1434 JunosE 11 2 x Command Reference Guide A to M...
Page 1502: ...Copyright 2010 Juniper Networks Inc 1458 JunosE 11 2 x Command Reference Guide A to M...