JunosE 11.3.x IP, IPv6, and IGP Configuration Guide
distance
distance ip
Setting the Metric for a Route
Routing Operations
Identifying a Router Within an Autonomous System
ip router-id
28
To set the administrative distance for RIP, IS-IS, and OSPF, use the following distance
commands in Router Configuration mode.
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
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
Use the no version to restore the default value of 115.
See distance ip
For information about how to set a metric for a route, see JunosE IP Services Configuration
Guide as well as the individual routing protocol chapters in the JunosE BGP and MPLS
Configuration Guide , and in this guide.
Routers keep track of next-hop information that enables a data packet to reach its
destination through the network. A router that does not have a direct physical connection
to the destination checks its routing table and forwards packets to another next-hop
router that is closer to that destination. This process continues until the packet reaches
its final destination.
The router ID is commonly one of the router's defined IP addresses. Although the router
ID is, by convention, formatted as an IP address, it is not required to be a configured
address of the router. If you do not use the ip router-id command to assign a router ID,
the router uses one of its configured IP addresses as the router ID.
Copyright © 2010, Juniper Networks, Inc.
Need help?
Do you have a question about the JUNOSE SOFTWARE FOR E SERIES 11.3.X - IP-IPV6-IGP CONFIGURATION GUIDE 2010-10-31 and is the answer not in the manual?
Questions and answers