Hello, friend!
The two commands are explained as follows:
translate-and-add
Indicates the translation of the VLAN and the adding of a tag.
1. The C-VLAN tag is translated into C'-VLAN.
2. Then add an S-VLAN tag. That is, the user packet carries two VLAN tags (S+C') for upstream transmission.
3. When a two-layer VLAN tag is used to identify different user services (one to identify services, one to identify users), and the user VLAN planned on EA5800 is different from the VLAN in user packets, use this parameter.
add-double
Adds double tags. Adds two tags to user-side packets: S-VLAN and C-VLAN. This mode applies to:
1. Service flows for single services or based on user-encap user-encap traffic classification, whose S-VLAN is stacking VLAN, QinQ VLAN or Common VLAN.
2.untagged service flows, whose S-VLAN is stacking VLAN, QinQ VLAN or Common VLAN.
I hope it will help you.
Thank you!