Send document comments to nexus7k-docfeedback@cisco.com.
6-36
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 6 Configuring OSPFv2
Configuring Advanced OSPFv2
The following example shows how to create summary addresses between areas on an ABR:
switch# config t
switch(config)# router ospf 201
switch(config-router)# area 0.0.0.10 range 10.3.0.0/16
switch(config-router)# copy running-config startup-config
The following example shows how to create summary addresses on an ASBR;
switch# config t
switch(config)# router ospf 201
switch(config-router)# summary-address 10.5.0.0/16
switch(config-router)# copy running-config startup-config
Configuring Stub Route Advertisements
Use Stub Route Advertisements when you want to limit the OSPFv2 traffic through this router for a short
time. See the “OSPFv2 Stub Router Advertisements” section on page 6-12.
Stub route advertisements can be configured with the following optional parameters:
• On startup—Sends stub route advertisements for the specified announce time.
• Wait for BGP—Sends stub router advertisements until BGP converges.
BEFORE YOU BEGIN
Ensure that you have enabled the OSPF feature (see the “Enabling the OSPFv2 Feature” section on
page 6-14).
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1. config t
2. router ospf instance-tag
3. max-metric router-lsa [on-startup [announce-time] [wait-for bgp tag]]
4. copy running-config startup-config
Note You should not save the running configuration of a router when it is configured for a graceful shutdown
because the router will continue to advertise a maximum metric after it is reloaded.
Step 5
show ip ospf summary-address
Example:
switch(config-router)# show ip ospf
summary-address
(Optional) Displays information about OSPF summary
addresses.
Step 6
copy running-config startup-config
Example:
switch(config-router)# copy
running-config startup-config
(Optional) Saves this configuration change.
Command Purpose