Cisco Nexus 7000 Series Configuration Manual page 146

Nx-os unicast routing configuration
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

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 .
Create the necessary route maps used for redistribution.
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
7.
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
redistribute {bgp id | direct | eigrp id
| isis id | ospf id | rip id | static}
route-map map-name
Example:
switch(config-router)# redistribute bgp
route-map FilterExternalBGP
Step 4
default-information originate [always]
[route-map map-name]
Example:
switch(config-router)#
default-information-originate route-map
DefaultRouteFilter
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
6-32
config t
router ospf instance-tag
redistribute {bgp id | direct | eigrp id | isis id | ospf id | rip id | static} route-map map-name
default-information originate [always] [route-map map-name]
default-metric cost
exit
copy running-config startup-config
Purpose
Enters configuration mode.
Creates a new OSPFv2 instance with the configured
instance tag.
Redistributes the selected protocol into OSPF through
the configured route map.
If you redistribute static routes, Cisco NX-OS
Note
also redistributes the default static route.
Creates a default route into this OSPF domain if the
default route exists in the RIB. Use the following
optional keywords:
always —Always generate the default route of
0.0.0. even if the route does not exist in the RIB.
route-map—Generate the default route if the
route map returns true.
This command ignores match statements in
Note
the route map.
Chapter 6
Configuring OSPFv2
OL-20002-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents