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
Содержание 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...