Reference Guide

Command
Modes
ROUTER OSPF
Command
History
Version 9.0(1.3) Introduced on the S5000.
distance ospf
Configure an OSPF distance metric for different types of routes.
S5000
Syntax
distance ospf [external dist3] [inter-area dist2] [intra-area
dist1]
To delete these settings, use the no distance ospf command.
Parameters
external dist3 (OPTIONAL) Enter the keyword external followed by a
number to specify a distance for external type 5 and 7 routes.
The range is 1 to 255. The default is 110.
inter-area dist2 (OPTIONAL) Enter the keywords inter-area followed by a
number to specify a distance metric for routes between
areas. The range is 1 to 255. The default is 110.
intra-area dist1 (OPTIONAL) Enter the keywords intra-area followed by a
number to specify a distance metric for all routes within an
area. The range is 1 to 255. The default is
110.
Defaults
external dist3 = 110
inter-area dist2 = 110
intra-area dist1 = 110
Command
Modes
ROUTER OSPF
Command
History
Version 9.0(1.3) Introduced on the S5000.
Usage
Information
To specify a distance for routes learned from other routing domains, use the
redistribute command.
982
Open Shortest Path First (OSPFv2)