Administrator Guide

interface Loopback 10
ip address 192.168.100.100/24
no shutdown
OSPF Area 0 — Te 3/1 and 3/2
router ospf 33333
network 192.168.100.0/24 area 0
network 10.0.13.0/24 area 0
network 10.0.23.0/24 area 0
!
interface Loopback 30
ip address 192.168.100.100/24
no shutdown
!
interface TenGigabitEthernet 3/1
ip address 10.1.13.3/24
no shutdown
!
interface TenGigabitEthernet 3/2
ip address 10.2.13.3/24
no shutdown
OSPF Area 0 — Te 2/1 and 2/2
router ospf 22222
network 192.168.100.0/24 area 0
network 10.2.21.0/24 area 0
network 10.2.22.0/24 area 0
!
interface Loopback 20
ip address 192.168.100.20/24
no shutdown
!
interface TenGigabitEthernet 2/1
ip address 10.2.21.2/24
no shutdown
!
interface TenGigabitEthernet 2/2
ip address 10.2.22.2/24
no shutdown
Conguration Task List for OSPFv3 (OSPF for IPv6)
This section describes the conguration tasks for Open Shortest Path First version 3 (OSPF for IPv6) on the switch.
The conguration options of OSPFv3 are the same as those options for OSPFv2, but you may congure OSPFv3 with dierently labeled
commands. Specify process IDs and areas and include interfaces and addresses in the process. Dene areas as stub or totally stubby.
The interfaces must be in IPv6 Layer-3 mode (assigned an IPv6 IP address) and enabled so that they can send and receive trac. The
OSPF process must know about these interfaces. To make the OSPF process aware of these interfaces, assign them to OSPF areas.
The OSPFv3 ipv6 ospf area command enables OSPFv3 on the interface and places the interface in an area. With OSPFv2, two
commands are required to accomplish the same tasks — the router ospf command to create the OSPF process, then the network
area
command to enable OSPF on an interface.
NOTE
: The OSPFv2 network area command enables OSPF on multiple interfaces with the single command. Use the OSPFv3
ipv6 ospf area command on each interface that runs OSPFv3.
All IPv6 addresses on an interface are included in the OSPFv3 process that is created on the interface.
640
Open Shortest Path First (OSPFv2 and OSPFv3)