Dell POWEREDGE M1000E User Manual

Page 1007

Advertising
background image

Configuring OSPF and OSPFv3

1007

console(config-if)#interface vlan 6

console(config-if-vlan6)#ip address 10.2.3.3

255.255.255.0

console(config-if-vlan6)#ipv6 address

3000:2:3::/64 eui64

4 Associate the interface with area 0.0.0.0 and enable OSPFv3.

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

console(config-if-vlan6)#ipv6 ospf

console(config-if-vlan6)#exit

5 Configure IP and IPv6 addresses on VLAN routing interface 12.

console(config)#interface vlan 12

console(config-if-vlan12)#ip address 10.3.100.3

255.255.255.0

console(config-if-vlan12)#ipv6 address

3000:3:100::/64 eui64

6 Associate the interface with area 0.0.0.0 and enable OSPFv3.

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

console(config-if-vlan12)#ipv6 ospf

console(config-if-vlan12)#exit

7 Define the OSPF and OSPFv3 router IDs for the switch:

console(config)#ipv6 router ospf

console(config-rtr)#router-id 3.3.3.3

console(config-rtr)#exit

console(config)#router ospf

console(config-router)#router-id 3.3.3.3

console(config-router)#exit

Switch B is a ABR that connects Area 0 to Areas 1 and 2.
To configure Switch B:

1 Configure IPv6 and IPv4 routing. The static routes are included for

illustration only: Redistributed static routes, like routes distributed from

other protocols, are not injected into stub areas such as Area 1:

console#configure

console(config)#ipv6 unicast-routing

Advertising