S2600E/P CLI Reference Guide Chapter 5 VLAN Configuration Commands
switchport
trunk
Use this command to specify a native
VLAN and the allowed-VLAN list for the
trunkport.
5.1.4
switchport mode
Use this command to specify a L2 interface (switch port) mode. You can specify
this interface to be an access port or a trunk port or an 802.1Q tunnel. Use the
no
form of the command to restore the default setting.
switchport mode
{
access
|
trunk | hybrid | uplink | dot1q-tunnel
}
no switchport mode
Parameter
Description
access
Configure the switch port as an access
port.
trunk
Configure the switch port as a trunk
port.
hybrid
Configure the switch port as a hybrid
port.
uplink
Configure the switch port as an uplink
port.
Parameter
description
dot1q-tunnel
Configure the switch port as a 802.1Q
tunnel port.
Default
configuration
By default, the switch port is an access port.
Command
mode
Interface configuration mode.
Usage
guidelines
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.
Examples
Ruijie(config-if)#
switchport mode trunk
Содержание RG-S2600E Series
Страница 1: ...CLI Reference Guide RG S2600E Series Switch RGOS 10 4 3 p1 1...
Страница 5: ...Basic Configuration...
Страница 83: ...Ethernet Switching...
Страница 240: ...IPApplication...
Страница 263: ...S2600E P CLI Reference Guide Chapter 1 IP Address Configuration Commands Platform description...
Страница 317: ...S2600E P CLI Reference Guide Chapter 5 DHCP Relay Configuration Commands Platform description...
Страница 335: ...Network Management and Monitoring...
Страница 361: ...S2600E CLI Reference Guide Chapter 1 SNMP Configuration Command Platform description Supported by switches only...
Страница 408: ...S2600E CLI Reference Guide Chapter 5 SPAN Configuration Commands...
Страница 415: ...S2600E CLI Reference Guide Chapter 6 RSPAN Configuration Commands Platform description N A...
Страница 416: ...Multicast Commands...
Страница 449: ...S2600E P CLI Reference Guide Chapter 1 IGMP Snooping Commands Example3 Example4...
Страница 450: ...S2600E P CLI Reference Guide Chapter 1 IGMP Snooping Commands...
Страница 477: ...Security...
Страница 526: ...S2600E CLI Reference Guide Chapter 1 AAA Configuration Commands Platform description Supported by switch products only...
Страница 656: ...S2600E CLI Reference Guide Chapter 5 Web Authentication Configuration Commands Configuration Example...
Страница 735: ...S2600E CLI Reference Guide Chapter 10 DHCP Snooping Configuration Commands Examples Command Description Related commands...
Страница 877: ...S2600E CLI Reference Guide Chapter 16 Ruijie Switch Security Compatible Mode Configuration Commands...
Страница 878: ...ACL QOS...
Страница 953: ...Reliability...
Страница 985: ...S2600E CLI Reference Guide Chapter 4 Warm Reload Upgrade Configuration Commands Platform Description None...
Страница 1011: ...S2600E CLI Reference Guide Chapter 5 SRM Configuration Commands Command Description Related commands Platform description...
Страница 1012: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands 6 GRTD Configuration Commands 6 1 Configuration Related Commands...
Страница 1024: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description...
Страница 1027: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description 6 2 Test Related Commands...
Страница 1029: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands commands None Platform description...
Страница 1031: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description...
Страница 1035: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands 6 3 Display Related Commands...
Страница 1121: ...System Management...