Command Reference Interface Commands
Usage Guide
Native VLAN:
A trunk port belongs to one native VLAN. A native VLAN means that the untagged packets
received/sent on the trunk port belong to the VLAN. Obviously, the default VLAN ID of the interface
(that is, the PVID in the IEEE 802.1Q) is the VLAN ID of the native VLAN. In addition, when frames
belonging to the native VLAN are sent over the trunk port, they are untagged.
Allowed-VLAN List:
By default, a trunk port sends traffic to and received traffic from all VLANs (ID 1 to 4094). However,
you can prevent the traffic from passing over the trunk by configuring allowed VLAN lists on a trunk.
Use show interfaces switchport to display configuration.
Configuration
Examples
The following example removes port 1/15 from VLAN 2.
Ruijie(config)# interface fastethernet
1/15
Ruijie(config-if)# switchport trunk allowed vlan remove
2
Ruijie(config-if)# end
Ruijie# show interfaces fastethernet
1/15
switchport
Switchport is enabled
Mode is trunk port
Access vlan is 1,Native vlan is 1
Protected is disabled
Vlan lists is
1,3-4094
Related
Commands
Command
Description
show interfaces
Displays the interface information.
switchport access
Configures an interface as a statics access port
and assigns it to a VLAN.
Platform
Description
N/A
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...