D-Link DGS-1510 Series Reference Manual page 652

Gigabit ethernet smartpro switch
Hide thumbs Also See for DGS-1510 Series:
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
Switch# configure terminal
Switch(config)# interface eth1/0/1
Switch(config-if)# switchport mode trunk
Switch(config-if)#
75-8 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 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 eth1/0/1
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan add 1000
Switch(config-if)#
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.
649

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents