S2600E/P CLI Reference Guide Chapter 1 Interface Configuration Commands
no switchport mode
Parameter
Description
access
Configure the switch port as an access
port.
Parameter
description
trunk
Configure the switch port as a trunk port.
Default
configuration
The default mode of switch port is 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
Command
Description
switchport
access
Use this command to configure an
interface as a statics access port and
assign it to a VLAN.
Related
commands
switchport trunk
Use this command to specify a native
VLAN and the allowed-VLAN list for
the trunk port.
1.1.19
switchport trunk
Use this command to specify a native VLAN and the allowed-VLAN list for the
trunk port. Use the
no
form of the command to restore it to the default setting.
switchport trunk
{
allowed vlan
{
all
|
[
add | remove | except
]
vlan-list
}
| native
vlan vlan-id
}
no switchport trunk
{
allowed vlan | native vlan
}
Содержание 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...