show iproute reserved-entries statistics

show iproute reserved-entries statistics {slot slot_num}

Description

Displays the current usage statistics of the Longest Prefix Match (LPM) hardware table and the Layer 3 hardware hash table by resource type.

Syntax Description

slot_num For BlackDiamond 8800 series switches and SummitStack only, this option displays the statistics for the specified slot.

Default

N/A.

Usage Guidelines

This command shows the current number of IP routes and local and remote IPv4 hosts in the LPM hardware table. It also shows the number of IPv4 unicast, multicast, and IPv6 unicast entries in the Layer 3 hardware hash table. The theoretical maximums for each individual resource type are shown at the bottom of the output. These maximum values cannot all be achieved simultaneously, and individual values might not be reached depending on the addresses or routes in use.

The ExtremeXOS software supports the coexistence of higher- and lower-capacity hardware in the same BlackDiamond 8800 chassis or Summit family switch stack or BlackDiamond X8. To allow for coexistence and increased hardware forwarding, when the number of IPv4 routes exceeds 25,000, the lower-capacity hardware automatically transitions from using LPM routing to forwarding of individual remote hosts, also known as IP Forwarding Database (IP FDB) mode. Higher-capacity hardware continues using LPM routing. Lower-capacity hardware operating in IP FDB mode will be indicated with a d flag in the output of show iproute reserved-entries statistics command, indicating that only direct routes are installed. For more information, see Coexistence of Higher- and Lower-Capacity Hardware in the ExtremeXOS User Guide.

Example

The following example displays usage statistics for the LPM and Layer 3 hardware tables:

# show iproute reserved-entries statistics
|-----In HW Route Table----|   |--In HW L3 Hash Table--|
# Used Routes   # IPv4 Hosts   IPv4   IPv4   IPv6  IPv4
Slot  Type              IPv4   IPv6    Local Remote   Local  Rem.   Loc.  MCast
----  ---------------- ------  -----  ------ ------   -----  -----  ----  -----
1     G48Pe               100     20>    372      0     613      0    34     12
2     G48Pe               100     20>      -      -     637      0    34     12
3     G48Ta               100     20>    386      0    2114      0    34     12
4     G48Ta               100     20>      -      -    2253      0    34     12
5     G8X                 100      -       -      -    2253      0     -     12
6                           -      -       -      -      -       -     -      -
7     10G4Xa              100     20>   2288      0     212      0    34     12
8     10G4Xa              100     20>   2500      0       0      0    34     12
9     G48Ta                 -      -       -      -       -      -     -      -
10    8900-10G8X-xl       100     20>   2500      0       0      0    34     12
Theoretical maximum for each resource type:
"e"-series          480    240     512    512    2045   2048  1024  *2048
"c"-series        12256   6128   12256  12288    8189   8192  4096  *6000
"xl"-series      262112   8192  260000  40960   16381  16384  8192  *6000
original          12256    n/a     n/a    n/a    8189   8188   n/a  *3000
Flags: (!) Indicates all reserved route entries in use.
(d) Indicates only direct IPv4 routes are installed.
(>) Some IPv6 routes with mask > 64 bits are installed and do not use
entries in the internal HW Route Table.
(R) IPv6 hosts in external HW Route Table.
(*) Assumes IP Multicast compression is on.

History

This command was first available in ExtremeXOS 12.1.

Support for additional IPv4 local host entries was added with the distributed IP ARP feature for BlackDiamond X8, and BlackDiamond 8000 c- and xl-series modules in ExtremeXOS 12.5.

Platform Availability

This command is available on all platforms.