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