Switchport Trunk Allowed Vlan - D-Link DXS-1210-12TC Reference Manual

Dxs-1210 series l2 10 gigabit ethernet switch
Hide thumbs Also See for DXS-1210-12TC:
Table of Contents

Advertisement

Switch# configure terminal
Switch(config)#interface eth 1/0/1
Switch(config-if)# switchport mode trunk
Switch(config-if)#
48-8
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 form of this command to revert 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 eth1/0/1 as a tagged member of VLAN 1000.
Switch# configure terminal
Switch(config)#interface eth 1/0/1
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan add 1000
Switch(config-if)#
DXS-1210 Series Smart Managed Switch CLI Reference Guide

switchport trunk allowed vlan

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.
363

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxs-1210-12scDxs-1210-10tsDxs-1210-16tc

Table of Contents