OSPF Application Example

Configuring OSPF

 

 

 

 

-> ip ospf interface 12.0.0.1

 

-> ip ospf interface 12.0.0.1 area 0.0.0.0

 

-> ip ospf interface 12.0.0.1 status enable

 

-> ip ospf interface 10.0.0.1

 

-> ip ospf interface 10.0.0.1 area 0.0.0.1

 

-> ip ospf interface 10.0.0.1 status enable

 

IP router port 31.0.0.1 was associated to OSPF interface 31.0.0.1, enabled, and assigned to the backbone. IP router port 12.0.0.1 was associated to OSPF interface 12.0.0.1, enabled, and assigned to the backbone. IP router port 10.0.0.1 which connects to end stations and attached network devices, was associated to OSPF interface 10.0.0.1, enabled, and assigned to Area 0.0.0.1.

Alternatively, you can also configure Router 1 with the interface name instead of the IP address as shown below:

-> ip ospf interface vlan-12

-> ip ospf interface vlan-12 area 0.0.0.0 -> ip ospf interface vlan-12 status enable

-> ip ospf interface vlan-12

-> ip ospf interface vlan-12 area 0.0.0.0 -> ip ospf interface vlan-12 status enable

-> ip ospf interface vlan-10

-> ip ospf interface vlan-10 area 0.0.0.1 -> ip ospf interface vlan-10 status enable

Router 2

-> ip ospf interface 12.0.0.2

-> ip ospf interface 12.0.0.2 area 0.0.0.0 -> ip ospf interface 12.0.0.2 status enable

-> ip ospf interface 23.0.0.2

-> ip ospf interface 23.0.0.2 area 0.0.0.0 -> ip ospf interface 23.0.0.2 status enable

-> ip ospf interface 20.0.0.2

-> ip ospf interface 20.0.0.2 area 0.0.0.2 -> ip ospf interface 20.0.0.2 status enable

IP router port 12.0.0.2 was associated to OSPF interface 12.0.0.2, enabled, and assigned to the backbone. IP router port 23.0.0.2 was associated to OSPF interface 23.0.0.2, enabled, and assigned to the backbone. IP router port 20.0.0.2, which connects to end stations and attached network devices, was associated to OSPF interface 20.0.0.2, enabled, and assigned to Area 0.0.0.2.

Alternatively, you can also configure Router 2 with the interface name instead of the IP address as shown below:

-> ip ospf interface vlan-12

-> ip ospf interface vlan-12 area 0.0.0.0 -> ip ospf interface vlan-12 status enable

-> ip ospf interface vlan-23

-> ip ospf interface vlan-23 area 0.0.0.0 -> ip ospf interface vlan-23 status enable

page 1-36

OmniSwitch 6600 Family Advanced Routing Configuration Guide March 2005

Page 46
Image 46
Alcatel Carrier Internetworking Solutions 060187-10 REV D manual Ospf Application Example