OSPF Application ExampleConfiguring OSPF

Router 2 (using ports 2/1 and 2/2 for the backbone, and ports 2/3-5 for end devices):

-> vlan 12

 

-> ip interface

vlan-12 vlan 12 address 12.0.0.2 mask 255.0.0.0

-> vlan 12 port

default 2/1

-> vlan 23

 

-> ip interface

vlan-23 vlan 23 address 23.0.0.2 mask 255.0.0.0

-> vlan 23 port

default 2/2

-> vlan 20

 

-> ip interface

vlan-20 vlan 20 address 20.0.0.2 mask 255.0.0.0

-> vlan 20 port

default 2/3-5

-> ip router router-id 2.2.2.2

These commands created VLANs 12, 23, and 20.

VLAN 12 handles the backbone connection from Router 1 to Router 2, using the IP router port 12.0.0.2 and physical port 2/1.

VLAN 23 handles the backbone connection from Router 2 to Router 3, using the IP router port 23.0.0.2 and physical port 2/2.

VLAN 20 handles the device connections to Router 2, using the IP router port 20.0.0.2 and physical ports 2/3-5. More ports could be added at a later time if necessary.

The router was assigned the Router ID of 2.2.2.2.

Router 3 (using ports 2/1 and 2/2 for the backbone, and ports 2/3-5 for end devices)

-> vlan 23

 

-> ip interface

vlan-23 vlan 23 address 23.0.0.3 mask 255.0.0.0

-> vlan 23 port

default 2/1

-> vlan 31

 

-> ip interface

vlan-31 vlan 31 address 31.0.0.3 mask 255.0.0.0

-> vlan 31 port

default 2/2

-> vlan 30

 

-> ip interface

vlan-30 vlan 30 address 30.0.0.3 mask 255.0.0.0

-> vlan 30 port

default 2/3-5

-> ip router router-id 3.3.3.3

These commands created VLANs 23, 31, and 30.

VLAN 23 handles the backbone connection from Router 2 to Router 3, using the IP router port 23.0.0.3 and physical port 2/1.

VLAN 31 handles the backbone connection from Router 3 to Router 1, using the IP router port 31.0.0.3 and physical port 2/2.

VLAN 30 handles the device connections to Router 3, using the IP router port 30.0.0.3 and physical ports 2/3-5. More ports could be added at a later time if necessary.

The router was assigned the Router ID of 3.3.3.3.

page 1-34

OmniSwitch 6600 Family Advanced Routing Configuration Guide March 2005

Page 44
Image 44
Alcatel Carrier Internetworking Solutions 060187-10 REV D manual Ospf Application ExampleConfiguring Ospf