Switchport Trunk Allowed Vlan - D-Link xStack DWS-3200 Series Cli Manual

Layer 2+ stackable gigabit ethernet switches with optional xg uplinks
Hide thumbs Also See for xStack DWS-3200 Series:
Table of Contents

Advertisement

DXS/DWS-3200 series CLI Reference Guide

switchport trunk allowed vlan

The switchport trunk allowed vlan Interface Configuration mode command adds or removes VLANs to or from a
trunk port.
Syntax
switchport trunk allowed vlan {add vlan-list | remove vlan-list}
Parameters
add vlan-list — List of VLAN IDs to be added. Separate nonconsecutive VLAN IDs with a comma and no
spaces. A hyphen designates a range of IDs.
remove vlan-list — List of VLAN IDs to be removed. Separate nonconsecutive VLAN IDs with a comma and
no spaces. A hyphen designates a range of IDs.
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Example
The following example adds VLANs 1, 2, 5 to 6 to the allowed list of te Ethernet port 1
Console(config)# interface ethernet 1
Console(config-if)# switchport mode trunk
console(config-if)# switchport trunk allowed vlan add 1-2,5-6
Page 419

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xstack dxs-3200 series

Table of Contents