Limiting The Number Of Redistributed Routes - Cisco Nexus 3000 Series Configuration Manual

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

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 3 k - d o c f e e d b a c k @ c i s c o . c o m
This example shows how to redistribute the Border Gateway Protocol (BGP) into OSPF:
switch# configure terminal
switch(config)# router ospf 201
switch(config-router)# redistribute bgp route-map FilterExternalBGP
switch(config-router)# copy running-config startup-config

Limiting the Number of Redistributed Routes

Route redistribution can add many routes to the OSPFv2 route table. You can configure a maximum limit
to the number of routes accepted from external protocols. OSPFv2 provides the following options to
configure redistributed route limits:
BEFORE YOU BEGIN
Ensure that you have enabled the OSPF feature (see the
page
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
3-32
Fixed limit—Log a message when OSPFv2 reaches the maximum the configured maximum.
OSPFv2 does not accept any more redistributed routes. You can optionally configure a threshold
percentage of the maximum where OSPFv2 will log a warning when that threshold is passed.
Warning only—Log a warning only when OSPFv2 reaches the maximum. OSPFv2 continues to
accept redistributed routes.
Widthdraw—Start the timeout period when OSPFv2 reaches the maximum. After the timeout
period, OSPFv2 requests all redistributed routes if the current number of redistributed routes is less
than the maximum limit. If the current number of redistributed routes is at the maximum limit,
OSPFv2 withdraws all redistributed routes. You must clear this condition before OSPFv2 accepts
more redistributed routes.
You can optionally configure the timeout period.
3-13).
configure terminal
router ospf instance-tag
redistribute {bgp id | direct| eigrp id | ospf id | rip id | static} route-map map-name
redistribute maximum-prefix max [threshold] [warning-only | withdraw [num-retries timeout]]
(Optional) show running-config ospf
(Optional) copy running-config startup-config
Chapter 3
"Enabling the OSPFv2 Feature" section on
Configuring OSPFv2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents