Reference Guide
Open Shortest Path First (OSPFv2) | 645
Related
Commands
distance
z
Define an administrative distance for particular routes to a specific IP address.
Syntax
distance weight [ip-address mask access-list-name]
To delete the settings, use the no distance weight [ip-address mask access-list-name] command.
Parameters
Defaults
110
Command Modes
ROUTER OSPF
Command
History
distance ospf
z
Configure an OSPF distance metric for different types of routes.
Syntax
distance ospf [external dist3] [inter-area dist2] [intra-area dist1]
To delete these settings, enter no distance ospf.
Parameters
show ip ospf asbr Display VLAN configuration.
S6000
weight
Specify an administrative distance.
Range: 1 to 255
Default: 110
ip-address
(OPTIONAL) Enter a router ID in the dotted decimal format.
If you enter a router ID, you must include the mask for that router address.
mask
(OPTIONAL) Enter a mask in dotted decimal format or /n format.
access-list-name
(OPTIONAL) Enter the name of an IP standard access list, up to 140 characters.
Version 9.0.2.0 Introduced on S6000.
Version 8.3.11.1 Introduced on Z9000
Version 7.8.1.0 Introduced support for Multi-Process OSPF.
Increased name string to accept up to 140 characters. Prior to 7.8.1.0, names are up to
16 characters long.
S6000
external dist3 (OPTIONAL) Enter the keyword external followed by a number to specify a
distance for external type 5 and 7 routes.
Range: 1 to 255
Default: 110










