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 31.7 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     5420M-24T-4YE-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
X440G2                                    480    240     512    512    1021   4096  1021 *  2048 *  1024
X620                                      480    240     512    512    1533   4096  1533 *  2048 *  1024
5420F                                   12256   6128   12285  12288   14334  16384  8192 *  8192 *  4096
5420M                                   12256   6128   12288  12288   28670  32768 16384 * 16384 *  8192
X460G2                                  12256   6128   12288  12288   40958  49152 24576 * 24576 * 12288
X450G2                                  16352   8176   16381  16384   22526  28672 14336 * 14336 *  7168
5520                                    16352   8176   16384  16384   41982  65536 18429 * 32768 * 16384
X460G2-16MP                             16352   8176   16384  16384   49152  49152 24576 * 24576 * 12288
X870                                    16352   8176   16384  16384   53246  73728 32765 * 36864 * 18432
X465, X590, X690                        16352   8176   16384  16384   79870 135168 24573 * 67584 * 33792
X670G2                                  16352   8176   16384  16384   98302 147456 49149 * 73728 * 36864
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 internal 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 ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.