Command Reference VLAN Commands
Usage Guide
Native VLAN packets going out on the hybrid port are not tagged with VLAN ID. Packets not tagged
with VLAN ID coming in on the hybrid port are taken as native VLAN packets.
Configuration
Examples
The following example configures VLAN 20 as the native VLAN for hybrid port GigabitEthernet 0/1.
Ruijie(config-if-GigabitEthernet 0/1)#interface gigabitEthernet 0/1
Ruijie(config-if-GigabitEthernet 0/1)#switchport mode hybrid
Ruijie(config-if-GigabitEthernet 0/1)#switchport hybrid native
vlan 20
Related
Commands
Command
Description
N/A
N/A
Platform
Description
N/A
4.7 switchport mode
Use this command to specify a L2 interface (switch port) mode. You can specify this interface to be an
access port or a trunk port or a servicechain port. Use the
no
or
default
form of this command to
restore the default setting.
switchport mode
{
access
|
trunk
|
hybrid
|
uplink
}
no switchport mode
default switchport mode
Parameter
Description
Parameter
Description
access
Configures the switch port as an access port.
trunk
Configures the switch port as a trunk port.
hybrid
Configures the switch port as a hybrid port.
uplink
Configures the switch port as an uplink port.
Defaults
By default, the switch port is an access port.
Command
mode
Interface configuration mode.
Usage Guide
If a switch port is an access port, the port can be added only to one VLAN. You can run the
switchport access vlan
command to specify the VLAN to which the port belongs.
If a switch port is a trunk port, the port is added to all VLANs by default. You can also run the
switchport trunk allowed
command to add the port to or remove the port from a specified VLAN.
If a switch port is an uplink port, the port is added to all VLANs by default. Different from the trunk
port, the uplink port sends packets with a tag carried, that is, the tag of packets from default VLANs
Содержание 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...