Command Line Reference Guide

Command History
Version 9.0(1.3) Introduced on the S5000.
Related
Commands
show ip ospf asbr – displays the VLAN configuration.
distance
Define an administrative distance for particular routes to a specific IP address.
S5000
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
weight
Specify an administrative distance. The range is 1 to 255. The default
is 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.
Defaults 110
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.
919