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,
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...