Parameter |
Description |
Value |
---|---|---|
slot slot-id |
|
The value is an integer. The value range depends on the configuration of a device. |
Usage Scenario
If ACL configuration fails, all the ACL resources on the device may have been used up. You can run the display acl resource command to check whether there are available ACL resources (including ACL4 and ACL6).
Precautions
# Display information about ACL resources in slot 0 (S6720-LI is used as an example).
<HUAWEI> display acl resource slot 0
Slot 0
XGigabitEthernet0/0/1 to XGigabitEthernet0/0/24
40GE0/0/1
40GE0/0/2
Vlan-ACL Inbound-ACL Outbound-ACL Reserved-ACL
---------------------------------------------------------------------------
Rule Used 0 30 30 124
Rule Free 512 2018 2018 388
Rule Total 512 2048 2048 512
Meter Used 0 0 0 0
Meter Free 0 1536 2048 0
Meter Total 0 1536 2048 0
Counter Used 0 0 0 0
Counter Free 0 1536 2048 0
Counter Total 0 1536 2048 0
---------------------------------------------------------------------------
# Display information about ACL resources in slot 0 (S5720-HI is used as an example).
<HUAWEI> display acl resource slot 0
Slot 0
GigabitEthernet0/0/1 to GigabitEthernet0/0/48
XGigabitEthernet0/0/1 to XGigabitEthernet0/0/4
Used Free Total
-----------------------------------------------------------------------------
ACL Unallocated - - 20480
ACL Allocated 147 365 511
Vlan ACL 1 - -
Sec ACL 146 - -
EXT Unallocated - - 8192
EXT Allocated 0 0 0
Car 260 32508 32768
Counter 144 65392 65536
-----------------------------------------------------------------------------
# Display information about ACL resources in slot 0 (S5720-EI is used as an example).
<HUAWEI> display acl resource slot 0 Slot 0 GigabitEthernet0/0/1 to GigabitEthernet0/0/48 XGigabitEthernet0/0/1 to XGigabitEthernet0/0/4 Used Free Total ---------------------------------------------------------------------------- VACL Slice 1 3 4 VACL 8 2040 2048 IACL Slice 11 1 12 IACL Unallocated - - 3072 IACL Allocated - - 1024 Srv ACL 10 502 512 Sec ACL 348 164 512 EACL Slice 0 4 4 EACL Unallocated - - 1024 EACL Allocated - - 0 Ingress Meter 36 4060 4096 Egress Meter 0 1024 1024 Ingress Counter 155 3941 4096 Egress Counter 0 1024 1024 Ingress UDF 0 8 8 ----------------------------------------------------------------------------
# Display information about ACL resources in slot 0 (S5735-S is used as an example).
<HUAWEI> display acl resource slot 0
Slot 0
GigabitEthernet0/0/1 to GigabitEthernet0/0/16
Used Free Total
-----------------------------------------------------------------------------
VACL Block 2 - -
IACL Block 25 - -
EACL Block 3 - -
Block 30 2 32
ACL Unallocated - - 256
ACL Allocated 2370 1470 3840
Ingress L2ACL 2049 127 2176
Sec VACL 4 252 256
Sec IACL 240 784 1024
Sec EACL 77 307 384
Car 44 468 512
-----------------------------------------------------------------------------
Item |
Description |
---|---|
Slot |
Stack ID. |
GigabitEthernet 0/0/1 to GigabitEthernet 0/0/x XGigabitEthernet 0/0/1 to XGigabitEthernet 0/0/x |
Interface to which an ACL is applied. |
Vlan-ACL |
Inbound ACL resources delivered before Layer 2 forwarding process starts.
|
Inbound-ACL |
Inbound ACL resources delivered after Layer 3 forwarding process is complete. Generally, the device delivers Inbound-ACL resources in either of the following situations:
|
Outbound-ACL |
ACL resources in outbound direction. The device delivers Outbound-ACL resources when the traffic policy applied to the outbound direction contains a traffic behavior which is not mirroring to observe-port. If the traffic behavior contained in the traffic policy is mirroring to observe-port, the device delivers Inbound-ACL resources. |
Reserved-ACL |
ACL resources reserved for CPCAR. |
Rule Used |
Number of used ACL rules. |
Rule Free |
Number of free ACL rules. |
Rule Total |
Total number of ACL rules. |
Meter Used |
Number of used rate limiting resources. |
Meter Free |
Number of idle rate limiting resources. |
Meter Total |
Total number of rate limiting resources. |
Counter Used |
Number of used counters. |
Counter Free |
Number of free counters. |
Counter Total |
Total number of counters, including those for collecting statistics on traffic policies, VLAN traffic, VLANIF interface traffic, and packets sent to the CPU. |
Car |
Traffic monitoring resources. |
Counter |
Traffic statistics collection resources. |
Used |
Number of used resources. |
Free |
Number of free resources. |
Total |
Total number of resources. |
ACL Unallocated |
Unallocated common ACL resources. |
ACL Allocated |
Number of ACL resources:
|
EXT Unallocated |
Unallocated extended ACL resources. |
EXT Allocated |
Number of extended ACL resources:
|
VACL Slice |
Inbound slice resources delivered before Layer 2 forwarding process starts. |
VACL |
Inbound ACL resources delivered before Layer 2 forwarding process starts. |
IACL Slice |
Inbound slice resources. |
IACL Unallocated |
Unallocated inbound ACL resources. |
IACL Allocated |
Inbound ACL resources are allocated, including:
|
EACL Slice |
Outbound slice resources. |
EACL Unallocated |
Unallocated outbound ACL resources. |
EACL Allocated |
Outbound ACL resources are allocated, including:
|
Ingress Meter |
Inbound rate limiting resources. |
Egress Meter |
Outbound rate limiting resources. |
Ingress Counter |
Inbound statistics collection resources. |
Egress Counter |
Outbound statistics collection resources. |
Ingress UDF |
Inbound user-defined ACL resources. |
VACL Block |
Inbound block resources delivered before Layer 2 forwarding process starts. |
IACL Block |
Inbound block resources. |
EACL Block |
Outbound block resources. |
Block |
Total number of block resources. |