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 30.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                           -      -       -      -       -      -     -       -       -
2                           -      -       -      -       -      -     -       -       -
3     X670G2-48x-4q      2546   1565>    358      0       2      0    23     156     284
4                           -      -       -      -       -      -     -       -       -
5     X670G2-48x-4q      3553   1565>    353      0       0      0    23     156     284
6                           -      -       -      -       -      -     -       -       -
7                           -      -       -      -       -      -     -       -       -
8                           -      -       -      -       -      -     -       -       -
 
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
X460G2                                  12256   6128   12288  12288   40958  49152 24576 * 24576 * 12288
X450G2                                  16352   8176   16384  16384   22526  28672 14336 * 14336 *  7168
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.
       (R) IPv6 hosts in external 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 the ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, and X870 series switches.