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 Switch Engine 32.3 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     5720-24MXW                            0      0       0      0       0      0      0       0       0

Theoretical maximum for each resource type:
5320 16-port, 5320 24-port               8160   4080    8192   8192   14334  16384   8192 
*  8192 *  4096
5320 48-port, 5420F                     12256   6128   12285  12288   14334  16384   8192 
*  8192 *  4096
5420M                                   12256   6128   12288  12288   28670  32768  16384 * 
16384 *  8192
5520                                    16352   8176   16384  16384   41982  65536  18429 * 
32768 * 16384
5720MW                                  16352   8176   16384  16384   61438  98304  24573 * 
49152 * 24576
5720MXW                                 24544  12272   24576  24576  143358 163840  81920 * 
81920 * 40960

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 5320, 5420, 5520, and 5720 series switches.