Monitoring the Utilization of Interface Attachment Resources

Purpose

Display policy resource consumption information about a particular slot or all slots to which the policies are attached.

Action

To display policy resource consumption information about all slots to which the policies are attached:

host1#show policy-resources slot all

Slot number 4

Resource   Supported    Used    Remaining       Direction
--------   --------    ------   ----------     ----------

IpPolicyDesc    16000   0       16000           Ingress
IpPolicyDesc    8191    0       8191            Egress
L2PolicyDesc    8191    0       8191            Ingress
L2PolicyDesc    8191    0       8191            Egress
RateLimiter     24575   0       24575           Ingress
RateLimiter     24575   0       24575           Egress
StatsBlock      262140  0       262140          Ingress
StatsBlock      262140  0       262140          Egress
SwLookupRuleSet 16383   0       16383           NA
ParentGroups    8191    0       8191            Ingress
ParentGroups    8191    0       8191            Egress

Slot number 5

Resource   Supported    Used    Remaining       Direction
--------   --------    ------   ----------     ----------

IpPolicyDesc    16000   0       16000           Ingress
IpPolicyDesc    8191    0       8191            Egress
L2PolicyDesc    8191    0       8191            Ingress
L2PolicyDesc    8191    0       8191            Egress
RateLimiter     24575   0       24575           Ingress
RateLimiter     24575   0       24575           Egress
StatsBlock      262140  0       262140          Ingress
StatsBlock      262140  0       262140          Egress
SwLookupRuleSet 16383   0       16383           NA
ParentGroups    24575   0       24575           Ingress
ParentGroups    24575   0       24575           Egress

Slot number 6

Resource   Supported    Used    Remaining       Direction
--------   --------    ------   ----------     ----------

IpPolicyDesc    16000   0       16000           Ingress
IpPolicyDesc    8191    0       8191            Egress
L2PolicyDesc    8191    0       8191            Ingress
L2PolicyDesc    8191    0       8191            Egress
RateLimiter     24575   0       24575           Ingress
RateLimiter     24575   0       24575           Egress
StatsBlock      262140  0       262140          Ingress
StatsBlock      262140  0       262140          Egress
SwLookupRuleSet 16383   0       16383           NA
ParentGroups    8191    0       8191            Ingress
ParentGroups    8191    0       8191            Egress

To display policy resource consumption information about a particular slot to which the policies are attached:

host1#show policy-resources slot 5

Slot number 5

Resource   Supported    Used    Remaining       Direction
--------   --------    ------   ----------     ----------

IpPolicyDesc    16000   0       16000           Ingress
IpPolicyDesc    8191    0       8191            Egress
L2PolicyDesc    8191    0       8191            Ingress
L2PolicyDesc    8191    0       8191            Egress
RateLimiter     24575   0       24575           Ingress
RateLimiter     24575   0       24575           Egress
StatsBlock      262140  0       262140          Ingress
StatsBlock      262140  0       262140          Egress
SwLookupRuleSet 16383   0       16383           NA
ParentGroups    24575   0       24575           Ingress
ParentGroups    24575   0       24575           Egress

Meaning

Table 47 lists the output fields for the show policy-resources slot command.

Table 47: show policy-resources slot Output Fields

Field Name

Field Description

Slot number

Number of the chassis slot

Resource

Type of policy resources:

  • IpPolicyDesc – L3 policy interface attachments per line module
  • L2PolicyDesc – L2 policy interface attachments per line module
  • RateLimiter – Rate limiters per line module
  • StatsBlock – Policy statistics blocks per line module
  • CamTotalEntries – Policy classification (CLACL) entries per line module
  • SwLookupRuleSet – Software lookup blocks per line module
  • ParentGroups – Parent groups per line module

Supported

Number of policy resources supported by the line module

Used

Number of policy resources consumed by the line module

Remaining

Number of policy resources that are free in the line module

Direction

Direction type of the policy resources:

  • Ingress – Input policy resource attached to the interface
  • Egress – Output policy resource attached to the interface
  • Both – Input and output policy resources attached to the interface

Related Documentation