Users Guide

Table Of Contents
1334 OSPF and OSPFv3
Switch A is a backbone router. It links to an ASBR (not defined here) that
routes traffic outside the AS.
To configure Switch A:
1
Globally enable IPv6 and IPv4 routing:
console#configure
console(config)#ipv6 unicast-routing
console(config)#ip routing
2
Create VLANs 6 and 12 and assign them to interfaces.
console(config)#vlan 6,12
console(config-vlan6,12)#interface gi1/0/1
console(config-if-Gi1/0/1)#switchport access vlan 6
console(config-if-Gi1/0/1)#interface gi1/0/2
console(config-if-Gi1/0/2)#switchport access vlan 12
3
Configure IP and IPv6 addresses on VLAN routing interface 6.
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.