Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring Advanced Routing Information (Rev. 03)
Open Shortest Path First (OSPF)
© 2008 Foundry Networks, Inc
Page 22 of 68
Command
Description
area stub
Defines the specified area to be a stub area.
area range
Defines an address range within the specified area for which a single
route will be advertised.
area shortcut
Configures and manages the area shortcutting mode.
area virtual-
link
Establishes a virtual link through the specified transit area.
Enabling the Area Authentication
The
area authentication
command, in Router OSPF Configuration mode, enables authentication
for the specified OSPF area. The
no
form of this command disables authentication for the specified
OSPF area.
Command Syntax
device-name
(config-router)#
area
{<
area-id
> |
A.B.C.D
}
authentication
[
message-digest
]
device-name
(config-router)#
no area
{<
area-id
> |
A.B.C.D
}
authentication
Argument Description
area-id
OSPF area ID as a decimal value in the range <0-4294967295>.
A.B.C.D
OSPF area ID in IP address format.
authentication
Enables authentication for the OSPF area.
message-digest
(Optional). Enables MD5 authentication for the OSPF area.
Example
The following example mandates authentication for areas 0 and 36.0.0.0, authentication keys are
also provided:
device-name
(config)#
interface sw0
device-name
(config-if sw0)#
ip address 131.119.251.201/24
device-name
(config-if sw0)#
ip ospf authentication-key adcdefgh
device-name
(config-if sw0)#
exit
device-name
(config)#
interface sw1
device-name
(config-if sw1)#
ip address 36.56.0.201/16
device-name
(config-if sw1)#
ip ospf authentication-key ijklmnop
device-name
(config-if sw1)#
exit
device-name
(config)#
router ospf
device-name
(config-router)#
network 36.56.0.0/16 area 36.56.0.0
device-name
(config-router)#
network 131.119.251.0/24 area 0
device-name
(config-router)#
area 36.56.0.0 authentication
device-name
(config-router)#
area 0 authentication
Setting the Area Default Cost
The
area default-cost
command, in Router OSPF Configuration mode, assigns the specified cost
to the default summary route used for the stub area. The
no
form of this command removes the
definition.