S2600E/P CLI Reference Guide Chapter 5 VLAN Configuration Commands
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
trunkport.
5.1.5
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 the default setting.
switchport trunk
{
allowed vlan
{
all
| [
add
|
remove
|
except
]
vlan-list
}|
native vlan
vlan-id
}
no switchport trunk
{
allowed vlan
|
native vlan
}
Parameter
Description
allowed vlan
vlan-list
Configure the list of VLANs allowed on
the trunk port.
vlan-list
can be a VLAN
or a range of VLANs starting with the
smaller VLAN ID and ending with the
larger VLAN ID and being separated by
hyphen, for example, 10 to 20. The
segments can be separated with a
comma (,), for example, 1 to 10, 20 to
25, 30, 33.
all
means that the allowed VLAN list
contains all the supported VLANs;
add
means to add the specified VLAN
list to the allowed VLAN list;
remove
means to remove the specified
VLAN list from the allowed VLAN list;
except
means to add all the VLANs
other than those in the specified VLAN
list to the allowed VLAN list;
Parameter
description
native vlan
vlan-id
Specify the native VLAN.
Default
configuration
The default allowed-VLAN list is all the VLANs, the default
native VLAN is VLAN 1.
Summary of Contents for RG-S2600E Series
Page 1: ...CLI Reference Guide RG S2600E Series Switch RGOS 10 4 3 p1 1...
Page 5: ...Basic Configuration...
Page 83: ...Ethernet Switching...
Page 240: ...IPApplication...
Page 263: ...S2600E P CLI Reference Guide Chapter 1 IP Address Configuration Commands Platform description...
Page 317: ...S2600E P CLI Reference Guide Chapter 5 DHCP Relay Configuration Commands Platform description...
Page 335: ...Network Management and Monitoring...
Page 408: ...S2600E CLI Reference Guide Chapter 5 SPAN Configuration Commands...
Page 415: ...S2600E CLI Reference Guide Chapter 6 RSPAN Configuration Commands Platform description N A...
Page 416: ...Multicast Commands...
Page 449: ...S2600E P CLI Reference Guide Chapter 1 IGMP Snooping Commands Example3 Example4...
Page 450: ...S2600E P CLI Reference Guide Chapter 1 IGMP Snooping Commands...
Page 477: ...Security...
Page 878: ...ACL QOS...
Page 953: ...Reliability...
Page 1024: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description...
Page 1031: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description...
Page 1035: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands 6 3 Display Related Commands...
Page 1121: ...System Management...