Command Reference VLAN Commands
4.9 switchport trunk native vlan
Use this command to configure the native VLAN for the trunk/uplink port. Use the
no
or
default
form
of this command to restore the default setting.
switchport trunk
native vlan
vlan-id
no switchport trunk
native vlan
default switchport trunk
native vlan
Parameter
Description
Parameter
Description
vlan-id
Native VLAN ID.
Defaults
By default, the native VLAN for the trunk/uplink port is VLAN 1.
Command
mode
Interface configuration mode
Usage Guide
After this function is enabled, packets not tagged with VLAN ID are taken as native VLAN packets.
Tags are removed from native VLAN packets going out on the trunk port.
Configuration
Examples
The following example configures VLAN 10 as the native VLAN for trunk port GigabitEthernet 0/10.
Ruijie(config)#interface gigabitEthernet 0/10
Ruijie(config-if-GigabitEthernet 0/10)# switchport mode trunk
Ruijie(config-if-GigabitEthernet 0/10)# switch trunk native vlan 10
The following example configures VLAN 10 as the native VLAN for unlink port GigabitEthernet 0/10.
Ruijie(config)#interface gigabitEthernet 0/10
Ruijie(config-if-GigabitEthernet 0/10)# switchport mode uplink
Ruijie(config-if-GigabitEthernet 0/10)# switch trunk native vlan
10
Related
Commands
Command
Description
N/A
N/A
Platform
Description
N/A
4.10 vlan
Use this command to enter the VLAN configuration mode. Use the
no
or
default
form of this
command to restore the default setting.
vlan
{
vlan-id
|
range
vlan-range
}
no vlan
{
vlan-id
|
range
vlan-range
}
Содержание 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...