Estimating Memory Requirements For Routes; Clearing Routes In The Unicast Rib - 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

Chapter 10
Managing the Unicast RIB and FIB
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

Estimating Memory Requirements for Routes

You can estimate the memory that a number of routes and next-hop addresses will use.
To estimate the memory requirements for routes, use the following command in any mode:
Command
show routing memory estimate routes
num-routes next-hops num-nexthops
Example:
switch# show routing memory estimate
routes 1000 next-hops 1

Clearing Routes in the Unicast RIB

You can clear one or more routes from the unicast RIB.
The * keyword is severely disruptive to routing.
Caution
To clear one or more entries in the unicast RIB, use the following commands in any mode:
Command
clear ip route {* | { route |
prefix/length }[ next-hop interface ]}
[vrf vrf-name ]
Example:
switch(config)# clear ip route
10.2.2.2
clear routing [multicast | unicast]
[ip | ipv4] {* | { route |
prefix/length }[ next-hop interface ]}
[vrf vrf-name ]
Example:
switch(config)# clear routing ip
10.2.2.2
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
Purpose
Displays the memory requirements for routs. The
num-routes range is from 1000 to 1000000. The
num-nexthops range is from 1 to 16.
Purpose
Clears one or more routes from both the unicast RIB and
all the module FIBs. The route options are as follows:
*—All routes.
route—An individual IP route.
prefix/length—Any IP prefix.
next-hop—The next-hop address
interface—The interface to reach the next-hop
address.
The vrf-name can be any case-sensitive, alphanumeric
string up to 32 characters.
Clears one or more routes from the unicast RIB. The
route options are as follows:
*—All routes.
route—An individual IP route.
prefix/length—Any IP prefix.
next-hop—The next-hop address
interface—The interface to reach the next-hop
address.
The vrf-name can be any case-sensitive, alphanumeric
string up to 32 characters.
Managing the Unicast RIB and FIB
10-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents