White Papers

Table Of Contents
Parameters
weight
Specify an administrative distance. The range is from 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, 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
Supported Modes FullSwitch
Command
History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
distance ospf
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, use the no distance ospf command.
Parameters
external
dist3
(OPTIONAL) Enter the keyword external then a number to specify a distance
for external type 5 and 7 routes. The range is from 1 to 255. The default is 110.
inter-area
dist2
(OPTIONAL) Enter the keywords inter-area then a number to specify a
distance metric for routes between areas. The range is from 1 to 255. The default
is 110.
intra-area
dist1
(OPTIONAL) Enter the keywords intra-area then a number to specify a
distance metric for all routes within an area. The range is from 1 to 255. The default
is 110.
Defaults
external dist3 = 110
inter-area dist2 = 110
intra-area dist1 = 110
Command Modes ROUTER OSPF
Supported Modes FullSwitch
Command
History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage
Information
To specify a distance for routes learned from other routing domains, use the redistribute command.
distribute-list in
Apply a filter to incoming routing updates from OSPF to the routing table.
Syntax
distribute-list prefix-list-name in [interface]
To delete a filter, use the no distribute-list prefix-list-name in [interface]
command.
820 Open Shortest Path First (OSPFv2 and OSPFv3)