EasyManua.ls Logo

Cisco Nexus 7000 Series - Limiting the Number of Redistributed Routes

Cisco Nexus 7000 Series
536 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 nexus7k-docfeedback@cisco.com.
7-30
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 7 Configuring OSPFv3
Configuring Advanced OSPFv3
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:
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.
BEFORE YOU BEGIN
Ensure that you have enabled the OSPF feature (see the “Enabling the OSPFv3 Feature” section on
page 7-13).
Step 5
default-information originate [always]
[route-map map-name]
Example:
switch(config-router-af)#
default-information-originate route-map
DefaultRouteFilter
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.
Note This command ignores match statements in
the route map.
Step 6
default-metric
cost
Example:
switch(config-router-af)# default-metric
25
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.
Step 7
copy running-config startup-config
Example:
switch(config-router)# copy
running-config startup-config
(Optional) Saves this configuration change.
Command Purpose

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals