CLI ReferenceInterface Configuration Commands Private VLAN Configuration Commands
switchport mode hybrid
Use this command to configure the port as a hybrid port.
switchport mode hybrid
no switchport mode
No hybrid port is configured.
Interface configuration mode.
Ruijie(config-if)# switchport mode hybrid
The software version must be RGOS10.1 and later.
switchport hybrid native vlan
Use this command to configure the default VLAN of a hybrid port.
switchport hybrid native vlan vid
no switchport hybrid native vlan
Restore the hybrid port to the default VLAN.
No default VLAN is configured.
Ruijie(config-if)# switchport hybrid native vlan 3
The software version must be RGOS10.1 and later.
switchport hybrid allowed vlan
Use this command to configure the output rules of a hybrid port.
switchport hybrid allowed vlan [[add] [tagged | untagged] | remove] vlist