show resources
Syntax
show resources [<SLOT-ID>] [vsx-peer]
Description
On the 6300 switch, shows hardware resource consumption for the specified VSF member or for all VSF members. On the 6400 switch, shows hardware resource consumption for the specified line module or for all line modules. Resource data is updated every 10 seconds.
TCAM entries
TCAM lookups
Policers
Command context
Operator (>
) or Manager (#
)
Parameters
<SLOT-ID>
Specifies the VSF member on the 6300 switch and the member and slot of the line module on the 6400 switch. For example, on the 6400 switch, 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.
Usage
The widths for show resources can have features combined (IPv4 + IPv6) into one TCAM lookup. Therefore, the table widths for each ACL/classifier policy type are variable depending on what is applied. For example:
"Ingress IP Port ACL" = Ingress v4 Port ACLs + Ingress v6 Port ACLs = 1 TCAM entry + 4 TCAM entries = 5 TCAM entries
Widths per feature are as follows:
MAC ACL 1 IPv4 ACL 1 IPv6 ACL 4 MAC Class 1 IPv4 Class 2 IPv6 Class 4
A MAC Class with an ethertype of "any" has a width of 7 because it uses one TCAM entry each for MAC, IPv4, and IPv6. Specifying the IPv4 (0x0800) or IPv6 (0x86DD) ethertypes in a MAC Class uses a TCAM entry equal to their respective size. IPv4 uses a width of 2 and IPv6 uses a width of 4.
Examples
Showing hardware resource consumption on a 6300 switch:
switch# show resources Resource Usage: Mod Description Resource Used Free ------------------------------------------------------------------------- 1/1 Ingress IP Port ACL Lookup Ingress TCAM Entries 20 5093 Total Ingress Lookups 1 4 Egress Lookups 0 4
Showing hardware resource consumption for all line modules on a 6405 switch:
switch# show resources Resource Usage: Mod Description Resource Used Free ------------------------------------------------------------------------- 1/3 Total Ingress Lookups 0 5 Egress Lookups 0 4 1/5 Total Ingress Lookups 0 5 Egress Lookups 0 4