EasyManua.ls Logo

Cisco Nexus 3000 series - Page 89

Cisco Nexus 3000 series
338 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Send document comments to nexus3k-docfeedback@cisco.com
3-31
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release5.0(3)U1(1)
Chapter 3 Configuring OSPFv2
Configuring Advanced OSPFv2
Create the necessary route maps used for redistribution.
SUMMARY STEPS
1. configure terminal
2. router ospf instance-tag
3. redistribute {bgp id | direct | eigrp id | ospf id | rip id | static} route-map map-name
4. default-information originate [always] [route-map map-name]
5. default-metric cost
6. (Optional) copy running-config startup-config
DETAILED STEPS
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
router ospf
instance-tag
Example:
switch(config)# router ospf 201
switch(config-router)#
Creates a new OSPFv2 instance with the configured
instance tag.
Step 3
redistribute {bgp
id
| direct | eigrp
id
| ospf
id
| rip
id
| static} route-map
map-name
Example:
switch(config-router)# redistribute bgp
64496 route-map FilterExternalBGP
Redistributes the selected protocol into OSPF through
the configured route map.
Note If you redistribute static routes, Cisco NX-OS
also redistributes the default static route.
Step 4
default-information originate [always]
[route-map map-name]
Example:
switch(config-router)#
default-information-originate route-map
DefaultRouteFilter
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.
Note This command ignores match statements in
the route map.
Step 5
default-metric
cost
Example:
switch(config-router)# default-metric 25
Sets the cost metric for the redistributed routes. This
does not apply to directly connected routes. Use a
route map to set the default metric for directly
connected routes.
Step 6
copy running-config startup-config
Example:
switch(config-router)# copy
running-config startup-config
(Optional) Saves this configuration change.

Table of Contents

Other manuals for Cisco Nexus 3000 series

Related product manuals