Ip ospf commands – Allied Telesis AT-8550 User Manual
Page 25

AT-9108, AT-8518, AT-8525, and AT-8550 User’s Command Guide
23
IP OSPF Commands
Command
Description
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 add vlan [<name> | all]
Enables OSPF on one or all VLANs (router interfaces). The default
setting is disabled.
config ospf area <areaid> add range
<ipaddress> <mask> [advertise | noadvertise]
{type 3 | type 7}
Configures a range of IP addresses in an OSPF area. If advertised, the
range is exported as a single LSA by the ABR.
config ospf area <areaid> delete range
<ipaddress> <mask>
Deletes a range of IP addresses in an OSPF area.
config ospf area <area_id> external-filter
[<access_profile> | none]
Configures the router to use the access policy to determine which
external routes are allowed to be exported into the area. This router
must be an ABR.
config ospf area <area_id> interarea-filter
[<access_profile> | none]
Configures the router to use the access policy to determine which
inter-area routes are allowed to be exported into the area. This
router must be an ABR.
config ospf area <areaid> normal
Configures an OSFP area as a normal area. The default setting is
normal
.
config ospf area <areaid> nssa [summary |
nosummary] stub-default-cost <cost>
{translate}
Configures an OSPF area as a NSSA.
config ospf area <areaid> stub [summary |
nosummary] stub-default-cost <cost>
Configures an OSPF area as a stub area.
config ospf asbr-filter [<access_policy> |
none]
Configures a route filter for all the routes OSPF exports from RIP or
other sources.
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 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.
config ospf [area <areaid> | vlan [<name> |
all]] cost <number>
Configures the cost metric of one or all interface(s). The default cost
is 1.
config ospf delete virtual-link <routerid>
<areaid>
Removes a virtual link.
config ospf delete vlan [<name> | all]
Disables OSPF on one or all VLANs (router interfaces).
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) of for all the interfaces 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 routerid [automatic | <routerid>]
Configures the OSPF router ID. If automatic is specified, the switch
uses the largest IP interface address as the OSPF router ID. The
default setting is
automatic
.