CLI ReferenceInterface Configuration Commands QinQ Configuration Commands
show interface
mac-address-mapping
x
The software version is RGOS10.4 and later.
switchport mode dot1q-tunnel
Use this command to configure the interface as the dot1q-tunnel interface.
switchport mode dot1q-tunnel
no switchport mode
Delete the corresponding dot1q-tunnel
interface configuration.
No dot1q-tunnel interface is configured.
Interface configuration mode.
Here is an example of configuring the interface as the dot1q-tunnel
interface:
Ruijie(config)# interface gi 0/1
Ruijie(config-if)# switchport access vlan 22
Ruijie(config-if)# switchport mode dot1q-tunnel
Ruijie(config)# end
The software version must be RGOS10.1 and later.
switchport mode uplink
Use this command to configure the interface as an uplink port.
switchport mode uplink
no switchport mode