DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
1343
When the switch-port mode is changed, the VLAN related setting associated with previous mode will be
lost.
Example
This example shows how to set the interface Ethernet 1/0/1 as a trunk port.
Switch# configure terminal
Switch(config)# interface ethernet 1/0/1
Switch(config-if)# switchport mode trunk
Switch(config-if)#
116-13
switchport trunk allowed vlan
This command is used to configure the VLANs that are allowed to receive and send traffic on the
specified interface in a tagged format. Use the
no
command to reset to the default setting
switchport trunk allowed vlan {all | [add | remove | except] VLAN-ID [, | -]}
no switchport trunk allowed vlan
Parameters
all
Specifies that all VLANs are allowed on the interface.
add
Specifies to add the specified VLAN list to the allowed VLAN list.
remove
Specifies to remove the specified VLAN list from the allowed VLAN list.
except
Specifies that all VLANs except the VLANs in the exception list are
allowed.
VLAN-ID
Specifies the allow VLAN list or the VLAN list to be added to or
removed from the allow VLAN list.
,
(Optional) Specifies a series of VLANs, or separate a range of VLANs
from a previous range. No space is required before and after the
comma.
-
(Optional) Specifies a range of VLANs. No space is required before
and after the hyphen.
Default
By default, all VLANs are allowed.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
This command only takes effect when the interface is set to trunk mode. If a VLAN is allowed on a trunk
port, the port will become the tagged member of the VLAN. When the allowed VLAN option is set to
all
,
the port will be automatically added to all the VLAN created by the system.
Example
This example shows how to configure interface Ethernet 1/0/1 as a tagged member of VLAN 1000.
Summary of Contents for DXS-3600 Series
Page 1: ......
Page 423: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 418 ...
Page 548: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 543 ...
Page 673: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 668 ...
Page 712: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 707 Switch ...
Page 845: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 840 ...
Page 884: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 879 ...
Page 1152: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 1147 ...