Reference Guide

Open Shortest Path First (OSPFv2) | 1087
Command Modes
ROUTER OSPF
Command
History
Related
Commands
distance
c e s
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
Version 8.3.19.0 Introduced on S4820T
Version 8.3.7.0 Introduced on S4810
Version 7.8.1.0 Introduced support for Multi-Process OSPF.
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.1.1.1 Introduced on E-Series
show ip ospf asbr Display VLAN configuration.
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 8.3.19.0 Introduced on S4820T
Version 8.3.7.0 Introduced on S4810
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.
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.1.1.1 Introduced on E-Series