Table 5: Default Administrative Distances for Route Sources
(continued)
Default Distance
Route Source
2
Internal access route
3
Access route
20
External BGP
110
OSPF
115
IS-IS
120
RIP
200
Internal BGP
255
Unknown
If the IP routing table contains several routes to the same prefix—for example, an
OSPF route and a RIP route—the route with the lowest administrative distance is
used for forwarding.
To set the administrative distance for BGP routes, see
JUNOSe BGP and MPLS
Configuration Guide
.
To set the administrative distance for RIP, IS-IS, and OSPF, use the following
distance
commands in Router Configuration mode.
distance
■
Use to set an administrative distance for RIP or OSPF routes in the range 0–255.
■
For RIP routes, the default value is 120.
■
For OSPF routes, the default value is 110.
■
Example
host1(config)#
router rip
host1(config-router)#
distance 100
■
Use the
no
version to restore the default value.
■
See distance
distance ip
■
Use to set the administrative distance for IS-IS routes in the range 1–255.
■
Example
host1(config)#
router isis
host1(config-router)#
distance 80 ip
28
■
IP Routing
JUNOSe 11.0.x IP, IPv6, and IGP Configuration Guide
Summary of Contents for IGP - CONFIGURATION GUIDE V11.1.X
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Page 18: ...xviii List of Figures JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Page 20: ...xx List of Tables JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Page 26: ...2 Internet Protocol JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Page 228: ...204 Internet Protocol Routing JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Page 264: ...240 Monitoring RIP JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Page 438: ...414 Monitoring IS IS JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Page 439: ...Part 3 Index Index on page 417 Index 415...
Page 440: ...416 Index JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Page 454: ...430 Index JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...