Specifications
Send document comments to nexus3k-docfeedback@cisco.com.
3-22
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 set an interface for simple, unencrypted passwords and set the password for
Ethernet interface 1/2:
switch# configure terminal
switch(config)# router ospf 201
switch(config-router)# exit
switch(config)# interface ethernet 1/2
switch(config-if)# no switchport
switch(config-if)# ip router ospf 201 area 0.0.0.10
switch(config-if)# ip ospf authentication
switch(config-if)# ip ospf authentication-key 0 mypass
switch(config-if)# copy running-config startup-config
Configuring Advanced OSPFv2
Configure OSPFv2 after you have designed your OSPFv2 network.
This section includes the following topics:
• Configuring Filter Lists for Border Routers, page 3-23
• Configuring Stub Areas, page 3-24
• Configuring a Totally Stubby Area, page 3-25
• Configuring NSSA, page 3-26
• Configuring Virtual Links, page 3-28
• Configuring Redistribution, page 3-30
• Limiting the Number of Redistributed Routes, page 3-32
• Configuring Route Summarization, page 3-34
• Configuring Stub Route Advertisements, page 3-35
• Modifying the Default Timers, page 3-36
• Restarting an OSPFv2 Instance, page 3-39
Step 8
show ip ospf instance-tag interface
interface-type slot/port
Example:
switch(config-if)# show ip ospf 201
interface ethernet 1/2
(Optional) Displays OSPF information.
Step 9
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
(Optional) Saves this configuration change.
Command Purpose