Command Reference Interface Commands
trunk
Configures the switch port as a trunk port.
Defaults
The default is
access
.
Command
Mode
Interface configuration mode.
Usage Guide
If a switch port mode is access port, it can be the member port of only one VLAN. Use
switchport
access vlan
to specify the member of the VLAN.
A trunk port can be the member port of various VLANs defined by the allowed-VLAN list. The
allowed VLAN list of the interface determines the VLANs to which the interface may belong. The
trunk port is the member of all the VLANs in the allowed VLAN list. Use
switchport trunk
to define
the allowed-VLANs list.
Configuration
Examples
The following example specifies a L2 interface (switch port) mode.
Ruijie(config-if)# switchport mode trunk
Related
Commands
Command
Description
switchport access
Configures an interface as a statics access
port and assigns it to a VLAN.
switchport trunk
Configures a native VLAN and the
allowed-VLAN list for the trunk port.
Platform
Description
N/A
1.36 switchport protected
Use this command to configure the interface as the protected port. Use the
no
form of this command
to restore the default setting.
switchport protected
no switchport protected
Parameter
Description
Parameter
Description
N/A
N/A
Defaults
This function is disabled by default.
Command
Mode
Interface configuration mode.
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...