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 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. 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 v34.1.1 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    IPv6
Slot  Type                              IPv4   IPv6    Local Remote   Local  Rem.  Local   MCast   MCast
----  ------------------------------- ------- ------  ------ ------   ----- ------ -----  ------  ------
1     switch-model-EXOS                     0      0       0      0       0      0     0       0       0

Theoretical maximum for each resource type:
X435                                       32     16      64     64     509   4096   509 *  2048 *  1024
X465                              16352   8176   16384  16384   79870 135168 24573 * 67584 * 33792
X695                                    32736  16368   32768  32768  102398 147456 57341 * 73728 * 36864

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 HW Route Table.
       (*) Assumes IP Multicast compression is on.
       (M) IPMC entries stored in L2 MAC Table when lookup-key is 'mac-vlan'.

History

This command was first available in ExtremeXOS 12.1.

Platform Availability

This command is available on all platforms.