Specifications
Send document comments to nexus3k-docfeedback@cisco.com.
3-35
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 3 Configuring OSPFv2
Configuring Advanced OSPFv2
This example shows how to create summary addresses between areas on an ABR:
switch# configure terminal
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
This example shows how to create summary addresses on an ASBR;
switch# configure terminal
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 3-11.
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 3-13).
SUMMARY STEPS
1. configure terminal
2. router ospf instance-tag
3. max-metric router-lsa [on-startup [announce-time] [wait-for bgp tag]]
4. (Optional) 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