Switchport General 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 general allowed vlan

The switchport general allowed vlan Interface Configuration mode command adds or removes VLANs from a
general port.
Syntax
switchport general allowed vlan add vlan-list [tagged | untagged]
switchport general allowed vlan remove vlan-list
Parameters
add vlan-list — Specifies the 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 — Specifies the list of VLAN IDs to be removed. Separate nonconsecutive VLAN IDs with a
comma and no spaces. A hyphen designates a range of IDs.
tagged — Indicates that the port transmits tagged packets for the VLANs.
untagged — Indicates that the port transmits untagged packets for the VLANs.
Default Configuration
If the port is added to a VLAN without specifying tagged or untagged, the default setting is tagged.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
This command enables changing the egress rule (for example from tagged to untagged) without first removing the
VLAN from the list.
Example
The following example adds VLANs 2, 5, and 6 to the allowed list of Ethernet port 1.
Console(config)# interface ethernet 1
Console(config-if)# switchport mode general
Console(config-if)# switchport general allowed vlan add 2,5-6 tagged
Page 421

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xstack dxs-3200 series

Table of Contents