Configuring Advanced OSPFv2
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m .
DETAILED STEPS
Command
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
router ospf instance-tag
Example:
switch(config)# router ospf 201
switch(config-router)#
Step 3
area area-id nssa [no-redistribution]
[default-information-originate]
[route-map map-name ]] [no-summary]
[translate type7 {always | never}
[suppress-fa]]
Example:
switch(config-router)# area 0.0.0.10
nssa
Step 4
area area-id default-cost cost
Example:
switch(config-router)# area 0.0.0.10
default-cost 25
Step 5
show ip ospf instance-tag
Example:
switch(config-if)# show ip ospf 201
Step 6
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
The following example shows how to create an NSSA that blocks all summary route updates:
switch# config t
switch(config)# router ospf 201
switch(config-router)# area 0.0.0.10 nssa no-summary
switch(config-router)# copy running-config startup-config
The following example shows how to create an NSSA that generates a default route:
switch# config t
switch(config)# router ospf 201
switch(config-router)# area 0.0.0.10 nssa default-info-originate
switch(config-router)# copy running-config startup-config
The following example shows how to create an NSSA that filters external routes and blocks all summary
route updates:
switch# config t
switch(config)# router ospf 201
switch(config-router)# area 0.0.0.10 nssa route-map ExternalFilter no-summary
switch(config-router)# copy running-config startup-config
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
6-28
Purpose
Enters configuration mode.
Creates a new OSPFv2 instance with the configured
instance tag.
Creates this area as an NSSA.
(Optional) Sets the cost metric for the default summary
route sent into this NSSA.
(Optional) Displays OSPF information.
(Optional) Saves this configuration change.
Chapter 6
Configuring OSPFv2
OL-20002-02