Configuring OSPF

Configuring OSPF

 

 

 

 

Creating OSPF Interfaces

Once areas have been established, interfaces need to be created and assigned to the areas.

Creating an Interface

To create an interface, enter the ip ospf interface command with an IP address or interface name, as shown:

-> ip ospf interface 120.5.80.1

-> ip ospf interface vlan-213

The interface can be deleted the by using the no keyword, as shown:

-> no ip ospf interface 120.5.80.1

Assigning an Interface to an Area

Once an interface is created, it must be assigned to an area. (Creating areas is described in “Creating an Area” on page 1-18above.)

To assign an interface to an area, enter the ip ospf interface area command with the interface IP address or interface name and area identification number at the CLI prompt. For example to add interface 120.5.80.1 to area 1.1.1.1, enter the following:

-> ip ospf interface 120.5.80.1 area 1.1.1.1

An interface can be removed from an area by reassigning it to a new area.

Once an interface has been created and enabled, you can check its status and configuration by using the show ip ospf interface command, as demonstrated:

-> show ip ospf interface 120.5.80.1

Instructions for configuring authentication are given in “Interface Authentication” on page 1-23, and inter- face parameter options are described in “Modifying Interface Parameters” on page 1-24.

Activating an Interface

Once the interface is created and assigned to an area, it must be activated using the ip ospf interface status command with the interface IP address or interface name, as shown:

-> ip ospf interface 120.5.80.1 status enable

The interface can be disabled using the disable keyword in place of the enable keyword.

page 1-22

OmniSwitch 6600 Family Advanced Routing Configuration Guide March 2005

Page 32
Image 32
Alcatel Carrier Internetworking Solutions 060187-10 REV D manual Creating Ospf Interfaces, Creating an Interface