Cisco Nexus 3000 Series Configuration Manual page 91

Nx-os unicast routing configuration guide, nx-os release 5.0(3)u1(1)
Hide thumbs Also See for Nexus 3000 Series:
Table of Contents

Advertisement

Chapter 3
Configuring 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 3 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
configure terminal
Example:
switch# configure terminal
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
| 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
This example shows how to limit the number of redistributed routes into OSPF:
switch# configure terminal
switch(config)# router ospf 201
switch(config-router)# redistribute bgp route-map FilterExternalBGP
switch(config-router)# redistribute maximum-prefix 1000 75
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
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.
Configuring Advanced OSPFv2
3-33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents