User guide

B
LACK
D
IAMOND
U
SER
G
UIDE
9-15
C
ONFIGURING
OSPF
enable ospf export rip type [1 | 2] {<metric>} Allows OSPF to export RIP routes using LSAs
to other OSPF routers. The default setting is
disabled.
config ospf [vlan <name> | area <areaid> |
virtual-link <routerid> <areaid>] authentication
[simple-password <password> | md5
<md5_key_id> <md5_key>| none]
Specifies the authentication password (up to 8
characters) or MD5 key for one or all interfaces
in an area. The
md5_key
is a numeric value
with the range 0 to 65536. When the OSPF
area is specified, authentication information is
applied to all OSPF interfaces within the area.
config ospf vlan <name> area <areaid> Associates a VLAN (router interface) with an
OSPF area. All router interfaces must have an
associated OSPF area. The default
areaid
is
0 (backbone area).
config ospf [vlan <name> | area <areaid> | all]
cost <number>
Configures the cost metric of one or all
interface(s). The default cost is 1.
config ospf [vlan <name> | area <areaid> | all]
priority <number>
Configures the priority used in the designated
router election algorithm for one or all IP
interface(s) of for all the interfaces within the
area. The range is 0 through 255, and the
default setting is 1.
config ospf add [vlan <name> | all] Enables OSPF on one or all VLANs (router
interfaces). The default setting is disabled.
config ospf delete [vlan <name> | all] Disables OSPF on one or all VLANs (router
interfaces).
config ospf add virtual-link <routerid> <areaid> Adds a virtual link connected to another ABR.
Specify the following:
routerid
— Far-end router interface
number.
areaid
— Transit area used for connecting
the two end-points. The transit area cannot
have the IP address 0.0.0.0.
config ospf delete virtual-link <routerid>
<areaid>
Removes a virtual link.
config ospf area <areaid> normal Configures an OSFP area as a normal area.
The default setting is
normal
.
config ospf area <areaid> stub [summary |
nosummary] stub-default-cost <cost>
Configures an OSPF area as a stub area.
config ospf area add range <ipaddress>
<mask> [advertise | noadvertise]
Configures a range of IP addresses in an
OSPF area. If advertised, the range is exported
as a single summary LSA by the ABR.
Table 9-4:
OSPF Configuration Commands (continued)
Command Description