distance ospf (OSPF)
This command sets the route preference value of OSPF in the router. Lower route preference
values are preferred when determining the best route. The type of OSPF route can be intra,
inter, or external. All the external type routes are given the same preference value. The
range of <preference> value is 1 to 255.
Default
110
Format
distance ospf {intra-area <1-255> | inter-area <1-255> | external <1-
255>}
Mode
Router OSPF Config
no distance ospf
This command sets the default route preference value of OSPF routes in the router. The type of
OSPF can be intra, inter, or external. All the external type routes are given the same preference
value.
Format
no distance ospf {intra-area | inter-area | external}
Mode
Router OSPF Config
distribute-list out (OSPF)
Use this command to specify the access list to filter routes received from the source protocol.
Format
distribute-list <1-199> out {rip | static | connected}
Mode
Router OSPF Config
no distribute-list out
Use this command to specify the access list to filter routes received from the source protocol.
Format
no distribute-list <1-199> out {rip | static | connected}
Mode
Router OSPF Config
Routing Commands
Managed Switch CLI Manual, Release 8.0
v1.0, July 2009
4-54