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

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

Advertisement

Configuring Advanced OSPFv3
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 .
Command
Step 5
default-information originate [always]
[route-map map-name]
Example:
switch(config-router-af)#
default-information-originate route-map
DefaultRouteFilter
Step 6
default-metric cost
Example:
switch(config-router-af)# default-metric
25
Step 7
copy running-config startup-config
Example:
switch(config-router)# copy
running-config startup-config
The following example shows how to redistribute the Border Gateway Protocol (BGP) into OSPFv3:
switch# config t
switch(config)# router ospfv3 201
switch(config-router)# address-family ipv6 unicast
switch(config-router-af)# redistribute bgp route-map FilterExternalBGP
switch(config-router-af)# copy running-config startup-config

Limiting the Number of Redistributed Routes

Route redistribution can add many routes to the OSPFv3 route table. You can configure a maximum limit
to the number of routes accepted from external protocols. OSPFv3 provides the following options to
configure redistributed route limits:
BEFORE YOU BEGIN
Ensure that you have enabled the OSPF feature (see the
page
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
7-30
Fixed limit—Log a message when OSPFv3 reaches the maximum the configured maximum.
OSPFv3 does not accept any more redistributed routes. You can optionally configure a threshold
percentage of the maximum where OSPFv3 will log a warning when that threshold is passed.
Warning only—Log a warning only when OSPFv3 reaches the maximum. OSPFv3 continuse to
accept redistributed routes.
Widthdraw—Start the configured timeout period when OSPFv3 reaches the maximum. After the
timeout period, OSPFv3 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, OSPFv3 widthdraws all redistributed routes. You must clear this condition before
OSPFv3 accepts more redistributed routes.
You can optionally configure the timeout period.
7-13).
Purpose
Creates a default route into this OSPFv3 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.
Sets the cost metric for the redistributed routes. The
range is from 1 to 16777214. This does not apply to
directly connected routes. Use a route map to set the
default metric for directly connected routes.
(Optional) Saves this configuration change.
"Enabling the OSPFv3 Feature" section on
Chapter 7
Configuring OSPFv3
OL-20002-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents