Switchport Trunk Allowed Vlan - D-Link DXS-3600 Series Cli Reference Manual

Layer 2/3 managed 10gigabit
Hide thumbs Also See for DXS-3600 Series:
Table of Contents

Advertisement

DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
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
add
remove
except
VLAN-ID
,
-
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.
Specifies that all VLANs are allowed on the interface.
Specifies to add the specified VLAN list to the allowed VLAN list.
Specifies to remove the specified VLAN list from the allowed VLAN list.
Specifies that all VLANs except the VLANs in the exception list are
allowed.
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.
1343

Advertisement

Table of Contents
loading

Table of Contents