![background image](http://html1.mh-extra.com/html/foundry-networks/netiron-m2404c/netiron-m2404c_user-manual_2324273890.webp)
Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring Advanced Routing Information (Rev. 03)
Open Shortest Path First (OSPF)
© 2008 Foundry Networks, Inc
Page 23 of 68
Command Syntax
device-name
(config-router)#
area
{<
area-id
> |
A.B.C.D
}
default-cost
<
cost-
value
>
device-name
(config-router)#
no area
{<
area-id
> |
A.B.C.D
}
default-cost
<
cost-value
>
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.
cost-value
The summary-default cost of an NSSA or stub area <0-16777215>
Example
The following example assigns a default cost of 20 to stub network 36.0.0.0:
device-name
(config)#
router ospf
device-name
(config-router)#
network 36.0.0.0/24 area 36.0.0.0
device-name
(config-router)#
area 36.0.0.0 stub
device-name
(config-router)#
area 36.0.0.0 default-cost 20
Setting the Area Export List
The
area export-list
command, in Router OSPF Configuration mode, sets a filter by the specified
routing access list for networks that are announced to other areas. The
no
form of this command
removes the definition.
Command Syntax
device-name
(config-router)#
area
{<
area-id
>|
A.B.C.D
)
export-list ACL-NAME
device-name
(config-router)#
no area
{<
area-id
>|
A.B.C.D
)
export-list ACL-
NAME
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.
export-list ACL-NAME
Routing access list name for filtering.
Setting the Area Import List
The
area import-list
command, in Router OSPF Configuration mode, sets a filter by the specified
routing access list for networks that are announced from other areas to the specified area. The
no
form of this command removes the definition.
Command Syntax
device-name
(config-router)#
area
{<
area-id
> |
A.B.C.D
}
import-list ACL-
NAME
device-name
(config-router)#
no area
{<
area-id
> |
A.B.C.D
}
import-list ACL-
NAME