Dell POWEREDGE M1000E User Manual

Page 1004

Advertising
background image

1004

Configuring OSPF and OSPFv3

To Configure Border Router A:

1 Enable routing on the switch.

console#configure

console(config)#ip routing

2 Create VLANS 70, 80, and 90.

console(config)#vlan 70,80,90

3 Assign IP addresses for VLANs 70, 80 and 90.

console(config)#interface vlan 70

console(config-if-vlan70)#ip address 192.150.2.2

255.255.255.0

console(config-if-vlan70)#exit

console(config)#interface vlan 80

console(config-if-vlan80)#ip address 192.150.3.1

255.255.255.0

console(config-if-vlan80)#exit

console(config)#interface vlan 90

console(config-if-vlan90)#ip address 192.150.4.1

255.255.255.0

console(config-if-vlan90)#exit

4 Enable OSPF on the switch and specify a router ID.

console(config)#router ospf

console(config-router)#router-id 192.150.9.9

console(config-router)#exit

5 Configure the OSPF area ID, priority, and cost for each interface.

console(config)#interface vlan 70

console(config-if-vlan70)#ip ospf area 0.0.0.0

console(config-if-vlan70)#ip ospf priority 128

console(config-if-vlan70)#ip ospf cost 32

NOTE:

OSPF is globally enabled by default. To make it operational on the

router, you configure OSPF for particular interfaces and identify which area

the interface is associated with.

Advertising