DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
606
66-5 switchport trunk allowed vlan
This command is used to configure the VLANs that will be allowed to receive and send traffic on the specified interface
in a tagged format. Use the
no switchport trunk allowed vlan
command to reset the VLAN membership of the port.
switchport trunk allowed vlan {all | {add | remove }
VLAN-ID
[, | -]}
no switchport trunk allowed vlan
Parameters
The
switchport access vlan
command can also be used to configure the tunnel
VLAN for a Dot1q-tunnel port. Removing the VLAN that is used as a port’s access
VLAN will lead to the port’s access VLAN to reset to the default VLAN.
Example
This example shows how to set an interface port 1 to access mode with access
VLAN 1000.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#interface tenGigabitEthernet 1/0/1
DXS-3600-32S(config-if)#switchport mode access
DXS-3600-32S(config-if)#switchport access vlan 1000
DXS-3600-32S(config-if)#
all
Specifies to add all VLANs to the allowed VLAN list.
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.
VLAN-ID
Specifies the VLAN list that will be added or removed from.
,
(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 a port that is set to trunk mode allows all VLANs.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12
Usage Guideline
The command can only be configured on physical ports or link aggregation groups
that are set to trunk mode.
If a trunk port is allowed all VLANs, the traffic of all VLANs can be transmitted over it.
Entering the
switchport trunk allowed vlan
command to restrict the traffic of some
VLANs from passing the trunk port. A trunk port is a tagged member of a VLAN if the
VLAN is existed and it is in the allowed VLAN list of this port. If an allowed VLAN is
created at later, the trunk port joins to it automatically.
Using
no switchport trunk allowed-vlan
command resets the allowed VLAN list of
the trunk port to default.
Example
This example shows how to configure an interface port 1 allowed VLAN list to 1-
1000.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#interface tenGigabitEthernet 1/0/1
DXS-3600-32S(config-if)#switchport mode trunk
DXS-3600-32S(config-if)#switchport trunk allowed vlan add 1-1000
DXS-3600-32S(config-if)#
Содержание DXS-3600-16S
Страница 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Страница 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Страница 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Страница 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Страница 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Страница 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Страница 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...