beautypg.com

Configuring ospf, Configuring ospf -18 – Allied Telesis AT-8550 User Manual

Page 172

background image

Configuring OSPF

9-18

Configuring 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.

Note

Do not set the router ID to 0.0.0.0

Table 9-5

describes the commands used to configure OSPF.

Table 9-5 OSPF Configuration Commands

Command

Description

create ospf area

Creates an OSPF area. Area 0.0.0.0 does not need
to be created. It exists by default.

enable ospf

Enables OSPF process for the router.

enable ospf export static cost {}
[ase-type-1 | ase-type-2] {tag }

Enables the distribution of static routes into the
OSPF domain. The default tag number is 0. The
default setting is disabled.

enable ospf export rip cost {} [ase-
type-1 | ase-type-2] {tag }

Enables the distribution of RIP routes into the
OSPF domain. The default tag number is 0. The
default setting is disabled.

config ospf asbr-filter [ |
none]

Configures a route filter for all the routes OSPF
exports from RIP or other sources.

config ospf [vlan | area |
virtual-link ]
authentication [simple-password
| md5
| 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 vlan area

Associates a VLAN (router interface) with an
OSPF area. All router interfaces must have an
associated OSPF area. By default, all router
interfaces are associated with area 0.0.0.0.

config ospf [area | vlan [ |
all]] cost

Configures the cost metric of one or all
interface(s). The default cost is 1.

This manual is related to the following products: