
Release 1.0 | OSPF Commands |
|
|
distance ospf
The distance ospf command defines OSPF route administrative distances based on route type. The no distance ospf command deletes OSPF route administrative distances based on route type.
Use the distance ospf command to set a distance for a group of routers, as opposed to any specific route passing an access list. The distance ospf command serves the same function as the distance command used with an access list.
Use the distance ospf command when OSPF processes have mutual redistribution, to choose internal routes from one external route to another.
Group Access
ISP
Command Mode
Router Configuration
Command Line Usage
distance ospf
<1-255>
no distance ospf
<1-255>
Command Syntax
| sets distance for all routes within an area, |
| default value 110 |
| sets distance for all routes from one area to |
| another area, default value 110 |
external | sets distance for routes learned by |
| redistribution from other routing domains |
MGBI |