Setup Guide

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
OSPFv3 NSSA
NSSA (Not-So-Stubby-Area) is a stub area that does not support Type-5 LSAs, but supports Type-7 LSAs to forward external links. Initially
ASBR (Autonomous System Border Router) forwards the external links through Type-7 LSAs to the Area Border Router (ABR) of NSSA,
which in turn converts them into Type-5 LSAs and forwards them to the rest of the OSPF domain.
NOTE
: To support NSSA area, all the OSPF routers in that area should be congured with NSSA.
NSSA Options
NSSA can be congured with the following options:
1 Default-information-originate – To inject a default route using Type-7 LSAs — NSSA routers need to have access to the rest of the
OSPF routers in the autonomous system. To facilitate this, the default route is injected into the NSSA area through a Type-7 LSA. This
can be generated either by NSSA ASBR or NSSA ABR.
2 No-redistribute – To restrict Type-7 LSAs — When NSSA ASBR is also an ABR, redistributed external routes need not be translated
from Type-7 to Type-5 LSAs. ABR will directly inject external routes through Type-5 LSAs into the OSPF domain. It does not send
Type-7 LSAs into the NSSA area.
3 No-summary – To act as totally stubby area — NSSA area can be converted intoa totally stubby area to reduce the number of Type-3
LSAs. Once it is congured, NSSA ABR will inject Type-3 LSAs into the NSSA area for default routes. The remaining Type-3 LSAs are
not allowed inside this area.
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.
Open Shortest Path First (OSPFv2 and OSPFv3)
705