华三设备报错Failed to apply IPv4 ACL 3001 to the inbound direction of interface Vlan-interface236 on slot 1, 2.

数通
华三设备报错Failed to apply IPv4 ACL 3001 to the inbound direction of interface Vlan-interface236 on slot 1, 2.-下一朵云

入方向调用acl时报错:Failed to apply IPv4 ACL 3001 to the inbound direction of interface Vlan-interface236 on slot 1, 2.

[SW_172.21.36.254-Vlan-interface236]packet-filter 3001 inbound
Failed to apply IPv4 ACL 3001 to the inbound direction of interface Vlan-interface236 on slot 1, 2.

设备型号:

H3C Comware Software, Version 7.1.070, Release 6615P08
H3C S5560X-30F-EI

报错原因:

入方向acl资源不足导致策略下发失败,建议display qos-acl resource确认下slot0 IFP入方向资源是否不足,若不足了,建议精简acl处理

<SW_172.21.36.254>dis qos-acl resource
Interfaces: GE1/0/1 to GE1/0/24, XGE1/0/25 to XGE1/0/28 (slot 1)
---------------------------------------------------------------------
 Type             Total      Reserved   Configured Remaining  Usage
---------------------------------------------------------------------
 TTI ACL          1024       0          0          1024       0%
 IPCL0+IPCL2 ACL  2048       60         1836       152        92%
 IPCL Counter     2048       56         868        1124       45%
 EPCL+IPCL1 ACL   512        0          484        28         94%
 EPCL Counter     1024       0          0          1024       0%
 IPCL Meter       4888       4          1          4883       0%
 EPCL Meter       4096       0          0          4096       0%

Interfaces: GE2/0/1 to GE2/0/24, XGE2/0/25 to XGE2/0/28 (slot 2)
---------------------------------------------------------------------
 Type             Total      Reserved   Configured Remaining  Usage
---------------------------------------------------------------------
 TTI ACL          1024       0          0          1024       0%
 IPCL0+IPCL2 ACL  2048       60         1836       152        92%
 IPCL Counter     2048       56         868        1124       45%
 EPCL+IPCL1 ACL   512        0          484        28         94%
 EPCL Counter     1024       0          0          1024       0%
 IPCL Meter       4888       4          1          4883       0%
 EPCL Meter       4096       0          0          4096       0%

解决办法:

(1)精简acl

(2)出方向调用

[SW_172.21.36.254-Vlan-interface236]packet-filter 3001 outbound