Cisco Nexus 7000 Series Configuration Manual page 148

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 .
6.
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
redistribute maximum-prefix max
[ threshold ] [warning-only | withdraw
[ num-retries timeout ]]
Example:
switch(config-router)# redistribute
maximum-prefix 1000 75 warning-only
Step 5
show running-config ospf
Example:
switch(config-router)# show
running-config ospf
Step 6
copy running-config startup-config
Example:
switch(config-router)# copy
running-config startup-config
The following example shows how to limit the number of redistributed routes into OSPF:
switch# config t
switch(config)# router ospf 201
switch(config-router)# redistribute bgp route-map FilterExternalBGP
switch(config-router)# redistribute maximum-prefix 1000 75
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
6-34
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.
Specifies a maximum number of prefixes that OSPFv2
will distribute. The range is from 0 to 65536.
Optionally specifies the following:
threshold—Percent of maximum prefixes that will
trigger a warning message.
warning-only—Logs an warning message when
the maximum number of prefixes is exceeded.
withdraw—Withdraws all redistributed routes.
Optionally tries to retrieve the redistributed
routes. The num-retries range is from 1 to 12. The
timeout is 60 to 600 seconds. The default is 300
seconds. Use clear ip ospf redistribution if all
routes are withdrawn.
(Optional) Displays the OSPFv2 configuration.
(Optional) Saves this configuration change.
Chapter 6
Configuring OSPFv2
OL-20002-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents