Alcatel-Lucent 6850 Switch User Manual


 
Configuring OSPF Configuring OSPF
page 1-20 OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide December 2007
-> ip ospf area 1.1.1.1 summary disable
-> ip ospf area 1.1.1.1 default-metric 0
-> ip ospf interface vlan-5
-> ip ospf interface vlan-5 area 1.1.1.1
-> ip ospf interface vlan-5 status enable
-> ip ospf interface vlan-6
-> ip ospf interface vlan-6 area 0.0.0.0
-> ip ospf interface vlan-6 status enable
-> ip ospf status enable
2 Enter the following on Router A:
-> ip load ospf
-> ip ospf area 1.1.1.1
-> ip ospf area 1.1.1.1 type stub
-> ip ospf interface vlan-3
-> ip ospf interface vlan-3 area 1.1.1.1
-> ip ospf interface vlan-3 status enable
-> ip ospf status enable
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 interface name, as shown:
-> ip ospf interface vlan-213
Note. The interface name cannot have spaces.
The interface can be deleted the by using the no keyword, as shown:
-> no ip ospf interface vlan-213
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-17 above.)
To assign an interface to an area, enter the ip ospf interface area command with the interface name and
area identification number at the CLI prompt. For example to add interface vlan-213 to area 1.1.1.1, enter
the following:
-> ip ospf interface vlan-213 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 vlan-213
Instructions for configuring authentication are given in “Interface Authentication” on page 1-21, and inter-
face parameter options are described in “Modifying Interface Parameters” on page 1-22.