OSPF Configure Commands
configure router ospf distance ospf external
This command configures the distance parameter for external routes.
Parameter | Description |
external | |
| The range is 1 - 255; the default is 150. |
|
|
syntax:
[ no ] distance ospf external < n >
example:
Table 9.1: Default Route Preference (Administrative Distance) Values
How Route is Learned | Default | Command to Modify Default Preference |
| Preference |
|
|
|
|
Directly connected network | 0 | Not configurable. |
|
|
|
Static | 1 | Not configurable. |
|
|
|
OSPF | 10 | configure router ospf distance ospf non_external |
|
|
|
RIP | 100 | configure router rip distance |
|
|
|
Generated or aggregate | 130 | Applicable to BGP only, and is not configurable. |
|
|
|
OSPF AS external routes | 150 | configure router ospf distance ospf external |
|
|
|
BGP | 170 | configure router bgp distance |
|
|
|
related commands:
configure router ospf distance ospf non_external
applicable systems:
All models.
June 2004 | © 2004 Foundry Networks, Inc. | 9 - 21 |