show routing memory estimate

To display an estimate of routing memory requirements, use the show routing memory estimate command.

show routing memory estimate [routes num-routes next-hops num-hop-addresses]

Syntax Description

routes

(Optional) Specifies the unicast Routing Information Base (RIB) memory estimate for the number of routes.

num-routes

Number of routes. The range is from 1000 to 1,000,000.

next-hops

(Optional) Specifies the unicast RIB memory estimate for the number of next hops per route.

num-hop-
addresses

Number of next-hop addresses per route. The range is from 1 to 16.


Command Default

None

Command Modes

Any command mode

Command History

Release
Modification

5.0(3)N1(1)

This command was introduced.


Usage Guidelines

Use the show routing memory estimate command to estimate the memory required for a selected number of routes and number of next-hop addresses per route.

Examples

This example shows how to display the route table:

switch# show routing memory estimate routes 1000 next-hops 1
Shared memory estimates:
  Current max     32 MB;  27495 routes with 16 nhs
          in-use   1 MB;     11 routes with  1 nhs (average)
  Configured max  32 MB;  27495 routes with 16 nhs
  Estimate         0 MB;   1000 routes with  1 nhs