Command Reference VLAN Commands
Platform
Description
N/A
4.5 switchport hybrid allowed
Use this command to add the port to the VLAN or remove the port from the VLAN, Use the
no
or
default
form of this command to restore the default setting.
switchport hybrid allowed vlan
{ { [
add
|
only
]
tagged
vlist
| [
add
]
untagged
vlist
} |
remove
vlist
}
no switchport hybrid allowed vlan
default switchport hybrid allowed vlan
Parameter
Description
Parameter
Description
add
Adds the port to the VLAN.
only
Adds the port to the VLAN and removes the port from the VLANs not
on the VLAN list.
tagged
Adds the port to the VLAN and the VLAN packets going out on the
port are tagged with VLAN ID.
untagged
Adds the port to the VLAN and the VLAN packets going out on the
port are not tagged with VLAN ID.
remove
Removes the port from the VLAN.
vlist
Specifies the VLAN.
Defaults
By default, the hybrid port is in all VLANs. All VLAN packets (except native VLAN packets) going out
on the port are tagged with VLAN ID. Native VLAN packets are not tagged with VLAN ID.
Command
mode
Interface configuration mode
Usage Guide
N/A
Configuration
Examples
The following example adds the hybrid port to VLAN 20 and VLAN 30 and the VLAN packets going
out on the port are not tagged with VLAN ID.
Ruijie(config)# interface gigabitEthernet 0/1
Ruijie(config-if-GigabitEthernet 0/1)# switchport mode hybrid
Ruijie(config-if-GigabitEthernet 0/1)#switchport hybrid allowed vlan untagged
20
Ruijie(config-if-GigabitEthernet 0/1)#switchport hybrid allowed vlan add
untagged 30
The following example adds the hybrid port to VLAN 40 and VLAN 50 and the VLAN packets going
out on the port are tagged with VLAN ID,
Summary of Contents for RG-S29 Series
Page 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Page 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Page 93: ...Command Reference Line Commands Description...
Page 248: ...Command Reference PKG_MGMT Commands...
Page 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Page 350: ...Command Reference Voice VLAN Commands Description...
Page 430: ...Command Reference LLDP Commands Description...
Page 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Page 541: ...Command Reference IPv6 Commands Platform Description N A...
Page 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Page 1092: ...Configuration Guide SCC Commands Platforms N A...
Page 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Page 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...