Switchport Trunk Allowed Vlan - D-Link DES-3010FA Cli Manual

Layer 2 switch, 8 port 10/100 802.3af poe managed switch plus (1)gigabit copper and (1)sfp interface
Hide thumbs Also See for DES-3010FA:
Table of Contents

Advertisement

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/all | remove vlan-list/all}
Specify all existing IEEE 802.1 VLANs
all -
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 Ethernet port 6.
Console(config)# interface ethernet 6
Console(config-if)# switchport mode trunk
console(config-if)# switchport trunk allowed vlan add 1-2,5-6
Page 306
VLAN Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents