Device model and version: S12508F-AF R1152
Previously, BAGG52 successfully delivered vlan mapping, but after configuration changes were made and qinq enable was activated on the interface, errors occurred when attempting to deliver vlan mapping again.
XG1/2/0/31 reported insufficient resources, while XG2/2/0/31 could be delivered normally.
Error message from the customer's adjustment last night:
[HZD4Z-B-POP-S12508F-IRF-Bridge-Aggregation52] vlan mapping nest range 101 to700 3101 to3500 nested-vlan 3914
Not enough hardware resources are available to complete the operation on Ten-GigabitEthernet1/2/0/31.
Interface configuration is as follows:
#
interface Ten-GigabitEthernet1/2/0/31
port link-mode bridge
description To 1227I-C_GSSZ-G0/2 10.28.0.3
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 3 to 100 701 to 801 803 to 893 896 to 901 904 to 967 969 to 2000 2012 to 2811 2813 to 3100 3501 to 3913 3915 to 4093 tagged
port hybrid vlan 3914 untagged
qinq enable
shutdown
port link-aggregation group 52
#
#
interface Ten-GigabitEthernet2/2/0/31
port link-mode bridge
description 1227I-C_GSSZ-T2/0/25 10.28.0.3
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 3 to 100 701 to 801 803 to 893 896 to 901 904 to 967 969 to 2000 2012 to 2811 2813 to 3100 3501 to 3913 3915 to 4093 tagged
port hybrid vlan 3914 untagged
qinq enable
vlan mapping nest range 101 to 700 3101 to 3500 nested-vlan 3914
port link-aggregation group 52
#
By reviewing resources it was found that
Interfaces: XGE2/2/0/25 to XGE2/2/0/48
---------------------------------------------------------------------
Type Total Reserved Configured Remaining Usage
---------------------------------------------------------------------
IFP ACL 16896 4096 12316 484 97%
IFP Meter 30720 79 10 30631 0%
IFP Counter 8191 80 10 8101 1%
EFP ACL 2176 0 1661 515 76%
Interfaces: XGE1/2/0/25 to XGE1/2/0/48
---------------------------------------------------------------------
Type Total Reserved Configured Remaining Usage
---------------------------------------------------------------------
IFP ACL 12800 4096 48 8656 32%
IFP Meter 30720 78 10 30632 0%
IFP Counter 8191 79 10 8102 1%
EFP ACL 6272 0 3322 2950 52%
Acknowledge: Enabling QINQ consumes system ACL resources: This will consume ACL resources in the ifp orientation, where each VLAN passing through the port will issue separate ACL matching entries. Therefore, the more VLANs pass through, the more ACL resources are consumed. Here, VLAN refers to the VLANs permitted by the port. Configuring the qinq enable command will consume additional system resources, so it is recommended to configure it only when necessary.
This issue can be resolved by deleting QINQ and reissuing VLAN mapping. At the same time, check whether all VLANs permitted on the interface are necessary. If not, they can be streamlined.