Command
ip-address
network
wildcard-mask
id
exit
exit
show ip ospf interface
vlan-id
[vlan
]
show ip ospf interface
vlan-id
stats vlan
Configuring Stub Areas and NSSAs
Beginning in Privileged EXEC mode, use the following commands to
configure OSPF stub areas and NSSAs.
Command
configure
router ospf
area-id
area
stub
area-id
area
stub no-
summary
area-id
area
default-cost
integer
area-id
area
nssa
area-id
area
nssa no-
summary
986
Configuring OSPF and OSPFv3
Purpose
Enable OSPFv2 on interfaces whose primary IP address
area-
area
matches this command, and make the interface a member
of the specified area.
ip-address
•
wildcard-mask
•
subnet.
area-id
•
decimal from 0–4294967295).
Exit to Global Config mode.
Exit to Privileged EXEC mode.
View summary information for all OSPF interfaces
configured on the switch or for the specified routing
interface.
View per-interface OSPF statistics.
Purpose
Enter global configuration mode.
Enter OSPF configuration mode.
Create a stub area for the specified area ID.
Prevent Summary LSAs from being advertised into the
stub area.
Configure the metric value (default cost) for the type 3
summary LSA sent into the stub area. Range:
1–16777215)
Create an NSSA for the specified area ID.
Configure the NSSA so that summary LSAs are not
advertised into the NSSA.
— Base IPv4 address of the network area.
— The network mask indicating the
— The ID of the area (Range: IP address or