Configure QinQ single layer pass through on S93 G24A type board, when configure N:1 vlan-mapping, it reports as follows:
[Quidway-GigabitEthernet3/0/1]port vlan-mapping outside-vlan 1 to 4093 map-vlan 4094
When the mapping relation go beyond standard, it will report:
Error: Single VLAN-MAPPING or VLAN-STACKING is canceled because the number of VLAN-MAPPING or VLAN-STACKING entries has reached the maximum.
Configure as follows:
1. Configure N:1 standard permitted.
[Quidway-GigabitEthernet1/0/1]port vlan-mapping outside-vlan 1 to 768 map-vlan 4094
2. Advertise command on interface by slow policy.
[Quidway]traffic classifier 111
[Quidway-classifier-111]if-match vlan-id 768 to 4093
[Quidway]traffic behavior 222
[Quidway-behavior-222]remark vlan-id 4094
[Quidway]traffic policy 333
[Quidway-trafficpolicy-333]classifier 111 behavior 222
[Quidway-GigabitEthernet3/0/1]traffic-policy 333 inbound
On S93 G24A type board, hardware standard table only support 768 mapping when use N:1 vlan-mapping. But the scene from 1 to 4093 is far more than standard that lead to configuration failing. It can optimize configuration by flow policy.
Flow policy use acl resource, so the resource than can be flexible used is less.