show resources

Syntax

show resources [<SLOT-ID>] [vsx-peer]

Description

Shows hardware resource consumption for the specified line modules or for all line modules. Resource data is updated every 10 seconds.

Hardware resource consumption information is shown for:
  • TCAM entries

  • Policers

  • L4 Port Ranges

Command context

Operator (>) or Manager (#)

Parameters

<SLOT-ID>

Specifies the member and slot of the line module. For example, to specify the line module in member 1, slot 2, enter 1/2.

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.

Authority

Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.

Examples

Showing hardware resource consumption for line module 1/1:

switch# show resources 1/1

Resource Usage:

Mod  Description
         Resource                          Width    Used Reserved    Free
-------------------------------------------------------------------------
1/1  Ingress IPv4 Port ACL
         High-Capacity TCAM/LPM Entries        2       0   262144
     MAC Control Plane Policing
         TCAM Entries                          2      16      256
     IPv4 Control Plane Policing
         TCAM Entries                          2      70      256
     IPv6 Control Plane Policing
         TCAM Entries                          2      72        *
     IPv4 Unicast Route
         High-Capacity TCAM/LPM Entries        1       0   131072
     IPv6 Unicast Route
         High-Capacity TCAM/LPM Entries        2       0   262144
     IPv4 Multicast Route
         High-Capacity TCAM/LPM Entries        2       0    65536
     IPv6 Multicast Route
         High-Capacity TCAM/LPM Entries        4       0    65536
     Total
         TCAM Entries                                158      512   49664
         High-Capacity TCAM/LPM Entries                0   786432  258048
         Policers                                      0            65536
         Ingress L4 Port Ranges                        0               24
* This feature shares reserved resources with the preceding feature.