986 Configuring OSPF and OSPFv3Configuring Stub Areas and NSSAsBeginning in Privileged EXEC mode, use the following commands toconfigure OSPF stub areas and NSSAs.networkip-addresswildcard-mask areaarea-idEnable OSPFv2 on interfaces whose primary IP addressmatches this command, and make the interface a memberof the specified area.•ip-address — Base IPv4 address of the network area.•wildcard-mask — The network mask indicating thesubnet.•area-id — The ID of the area (Range: IP address ordecimal from 0–4294967295).exit Exit to Global Config mode.exit Exit to Privileged EXEC mode.show ip ospf interface[vlanvlan-id]View summary information for all OSPF interfacesconfigured on the switch or for the specified routinginterface.show ip ospf interfacestats vlanvlan-idView per-interface OSPF statistics.Command Purposeconfigure Enter global configuration mode.router ospf Enter OSPF configuration mode.areaarea-id stub Create a stub area for the specified area ID.areaarea-id stub no-summaryPrevent Summary LSAs from being advertised into thestub area.areaarea-id default-costintegerConfigure the metric value (default cost) for the type 3summary LSA sent into the stub area. Range:1–16777215)areaarea-id nssa Create an NSSA for the specified area ID.areaarea-id nssa no-summaryConfigure the NSSA so that summary LSAs are notadvertised into the NSSA.Command Purpose