CLI ReferenceInterface Configuration Commands QinQ Configuration Commands
Ruijie(config)# interface gigabitEthernet 0/1
Ruijie(config-if)# switchport mode trunk
Ruijie(config-if)# vlan-mapping-out vlan 3 remark 4
Ruijie(config-if)# end
show interface [ intf-id ]
vlan-mapping
The software version must be RGOS10.4 and later.
l2protocol-tunnel
Use this command to set the dot1q-tunnel port to receive L2 protocol message.
l2protocol-tunnel {stp | gvrp}
no l2protocol-tunnel {stp | gvrp}
Global configuration mode.
Here is an example of enabling the function of receiving L2 protocol
gvrp and stp:
Ruijie#configure
Ruijie(config)# l2protocol-tunnel stp
Ruijie(config)# l2protocol-tunnel gvrp
Ruijie(config)#end
show l2protocol-tunnel
{ gvrp | stp }
The software version must be RGOS10.3 and later.