Supported Platforms
show pfe tcam errors
Syntax
Release Information
Command introduced in Junos OS Release 15.1X54–D20 for ACX5048 and ACX5096 routers.
Description
Display the TCAM resource usage errors for applications and stages (egress, ingress, and pre-ingress)
Options
Required Privilege Level
view
List of Sample Output
show pfe tcam errorsshow pfe tcam errors all-tcam-stages
show pfe tcam errors all-tcam-stages detail
show pfe tcam errors app <application-name>
show pfe tcam errors app <application-name> detail
show pfe tcam errors app <application-name> shared-usage
show pfe tcam errors tcam-stage ingress
show pfe tcam errors tcam-stage ingress detail
show pfe tcam errors tcam-stage ingress app <application-name>
show pfe tcam errors tcam-stage ingress app <application-name> detail
Output Fields
Table 1 lists the output fields for the show pfe tcam usage command. Output fields are listed in the approximate order in which they appear.
Table 1: show pfe tcam usage Output Fields
Field Name | Field Description |
---|---|
App name | Name of the application with TCAM resource usage errors |
Related-App-Name | Name of the related applications for an application using the TCAM resource. |
Precedence | Application priority |
State | Status of the application. The status can be OK or FAILED. |
Tcam-stage | Describes the stage (egress, ingress, and pre-ingress) |
Group | Logical representation of one or more tcam-slices. Note: Tcam-slice represents the hardware TCAM block, where the TCAM lookup can happen in parallel. |
Mode | Defines the matching capability of a given group. The following are the possible values for Mode:
|
Tcam-Entries | TCAM resource used by an application to achieve the functionality of the application. |
Counters | Counter resource used by an application. |
Policers | Policer resource used by an application. |
Free | Available TCAM space. |
Used | Number of resources used by application or group. |
Errors | Number of errors occurred due to shortage of TCAM resources. |
Resource-Shortage | Shortage of TCAM resources for an application |
Allocated | Number of TCAM resources allocated for a group. |
Available | Number of available TCAM resources for a group. |
Hw grps used | Number of TCAM slices used by the group. |
Tcam apps | Number of TCAM applications for a group. |
Tcam-slice represents the hardware TCAM block, where the TCAM lookup can happen in parallel. Tcam-group represents the logical representation of one or more tcam-slices.
Sample Output
show pfe tcam errors
user@host> show pfe tcam errors
fw-vpls-in Resource-shortage[Entries:1, Counters:1, Policers:0]
show pfe tcam errors all-tcam-stages
user@host> show pfe tcam errors all-tcam-stages
fw-vpls-in Resource-shortage[Entries:1, Counters:1, Policers:0]
show pfe tcam errors all-tcam-stages detail
user@host> show pfe tcam errors all-tcam-stages
detail
Tcam Resource Stage: Pre-Ingress -------------------------------- No tcam usage Tcam Resource Stage: Ingress ---------------------------- Group: 7, Mode: DOUBLE, Hw grps used: 2, Tcam apps: 2 Errors Resource-Shortage Tcam-Entries 0 0 Counters 0 0 Policers 0 0 Group: 5, Mode: SINGLE, Hw grps used: 1, Tcam apps: 1 Errors Resource-Shortage Tcam-Entries 0 0 Counters 0 0 Policers 0 0 Group: 8, Mode: DOUBLE, Hw grps used: 4, Tcam apps: 1 Errors Resource-Shortage Tcam-Entries 0 0 Counters 0 0 Policers 0 0 Group: 9, Mode: DOUBLE, Hw grps used: 0, Tcam apps: 1 Errors Resource-Shortage Tcam-Entries 1 1 Counters 1 1 Policers 0 0 App error statistics: ---------------------- App-Name Entries Counters Policers Precedence State Related-App-Name .. ----------------------------------------------------------------- fw-vpls-in 1 1 0 2 FAILED fw-semantics 0 X X 1 OK Tcam Resource Stage: Egress --------------------------- No tcam usage
show pfe tcam errors app <application-name>
user@host> show pfe tcam errors app fw-vpls-in
App name : fw-vpls-in, Precedence: 2, State: FAILED Tcam-stage: Ingress, Group:9, Mode: DOUBLE Used Errors Resource-Shortage Tcam-Entries 0 1 1 Counters 0 1 1 Policers 0 0 0
show pfe tcam errors app <application-name> detail
user@host> show pfe tcam errors app fw-vpls-in
detail
App name : fw-vpls-in, Precedence: 2, State: FAILED Tcam-stage: Ingress, Group:9, Mode: DOUBLE Used Errors Resource-Shortage Tcam-Entries 0 1 1 Counters 0 1 1 Policers 0 0 0 Related Apps: ------------- App name : fw-semantics, Precedence: 1, State: OK Tcam-stage: Pre-Ingress, Group:1, Mode: SINGLE Used Errors Resource-Shortage Tcam-Entries 0 0 0
show pfe tcam errors app <application-name> shared-usage
user@host> show pfe tcam errors app fw-vpls-in
shared-usage
App name : fw-vpls-in, Precedence: 2, State: FAILED Tcam-stage: Ingress, Group:9, Mode: DOUBLE Used Errors Resource-Shortage Tcam-Entries 0 1 1 Counters 0 1 1 Policers 0 0 0 No shared apps usage in this group
show pfe tcam errors tcam-stage ingress
user@host> show pfe tcam errors tcam-stage ingress
fw-vpls-in Resource-shortage[Entries:1, Counters:1, Policers:0]
show pfe tcam errors tcam-stage ingress detail
user@host> show pfe tcam errors tcam-stage ingress
detail
Group: 7, Mode: DOUBLE, Hw grps used: 2, Tcam apps: 2 Errors Resource-Shortage Tcam-Entries 0 0 Counters 0 0 Policers 0 0 Group: 5, Mode: SINGLE, Hw grps used: 1, Tcam apps: 1 Errors Resource-Shortage Tcam-Entries 0 0 Counters 0 0 Policers 0 0 Group: 8, Mode: DOUBLE, Hw grps used: 4, Tcam apps: 1 Errors Resource-Shortage Tcam-Entries 0 0 Counters 0 0 Policers 0 0 Group: 9, Mode: DOUBLE, Hw grps used: 0, Tcam apps: 1 Errors Resource-Shortage Tcam-Entries 1 1 Counters 1 1 Policers 0 0 App error statistics: ---------------------- App-Name Entries Counters Policers Precedence State Related-App-Name .. ----------------------------------------------------------------- fw-vpls-in 1 1 0 2 FAILED fw-semantics 0 X X 1 OK
show pfe tcam errors tcam-stage ingress app <application-name>
user@host> show pfe tcam errors tcam-stage ingress
app fw-vpls-in
App name : fw-vpls-in, Precedence: 2, State: FAILED Tcam-stage: Ingress, Group:9, Mode: DOUBLE Used Errors Resource-Shortage Tcam-Entries 0 1 1 Counters 0 1 1 Policers 0 0 0
show pfe tcam errors tcam-stage ingress app <application-name> detail
user@host> show pfe tcam errors tcam-stage ingress
app fw-vpls-in detail
App name : fw-vpls-in, Precedence: 2, State: FAILED Tcam-stage: Ingress, Group:9, Mode: DOUBLE Used Errors Resource-Shortage Tcam-Entries 0 1 1 Counters 0 1 1 Policers 0 0 0 Related Apps: ------------- App name : fw-semantics, Precedence: 1, State: OK Tcam-stage: Pre-Ingress, Group:1, Mode: SINGLE Used Errors Resource-Shortage Tcam-Entries 0 0 0