User guide

E
XTREME
W
ARE
S
OFTWARE
U
SER
G
UIDE
12-21
C
ONFIGURING
OSPF
C
ONFIGURING
OSPF
Each switch that is configured to run OSPF must have a unique router ID. It is
recommended that you manually set the router ID of the switches participating in OSPF,
instead of having the switch automatically choose its router ID based on the highest
interface IP address. Not performing this configuration in larger, dynamic environments
could result in an older link state database remaining in use.
Table 12-5 describes the commands used to configure OSPF.
Table 12-5: OSPF Configuration Commands
Command Description
config ospf [area <areaid> | vlan [<name> | all]]
cost [automatic | <number>]
Configures the cost metric of one or all
VLAN(s). If an area is specified, the cost metric
is applied to all VLANs currently within that
area. When automatic is specified, the
advertised cost is determined from the OSPF
metric table and corresponds to the active
highest bandwidth port in the VLAN.
config ospf [area <areaid> | vlan [<name> | all]]
priority <number>
Configures the priority used in the designated
router-election algorithm for one or all IP
interface(s) (VLANs) for all VLANs currently
within the area. The range is 0 through 255,
and the default setting is 1. Setting the value to
0 ensures that the router is never selected as
the designated router or backup designated
router.
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
eight characters) or Message Digest 5 (MD5)
key for one or all interfaces (VLANs) in an
area. The md5_key is a numeric value with the
range 0 to 65,536. When the OSPF area is
specified, authentication information is applied
to all OSPF interfaces within the area.