Configure the Default Administrative Distance
Configuration Condition
None
Configure the Default Administrative Distance
The smaller the administrative distance that is specified for a static route in configuring the static route is, the higher the priority of the route is. If the administrative distance is not specified, the default administrative distance is used. You can modify the default administrative distance dynamically. After the default administrative distance is re-configured, the new default administrative distance is valid only for new static routes.
Table 3-3 Configuring the Default Administrative Distance
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enters the static route configuration mode.
|
router static
|
-
|
Configure the default administrative distance.
|
distance administration-distance
|
Optional.
The default value of the default administrative distance is 1.
|
![note](/storage/images/Document/Maipu/note-icon.jpg)
-
When you use the ip route command to configure a static route, you can specify an independent administrative distance for the route. If you do not specify the administrative distance, the default administrative distance is used.