Switchport Trunk Allowed Vlan - Cisco 300 Series Cli Manual

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

32
500
Vlan
Name
---- ----------------- --------------------------- ------------ -------------
1
1
2
2
3
3
4
4
5
5

32.13 switchport trunk allowed vlan

A trunk interface is an untagged member of a single VLAN, and, in addition, it may
be an tagged member of one or more VLANs. Use the switchport trunk allowed
vlan Interface Configuration mode command to add/remove VLAN(s) to/from a
trunk port.
Syntax
switchport trunk allowed vlan {add
Parameters
add
vlan-list
— Specifies a list of VLAN IDs to add to a port. Separate
nonconsecutive VLAN IDs with a comma and no spaces; use a hyphen to
designate a range of IDs.
remove
vlan-list
Separate nonconsecutive VLAN IDs with a comma and no spaces; use a
hyphen to designate a range of IDs.
Default Configuration
By default, trunk ports belongs to all created VLANs.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
If the interface is a forbidden member of the specified VLAN, it does not become a
member of the VLAN. An error message is displayed ("An interface cannot
become a member of a forbidden VLAN. This message will only be displayed
Virtual Local Area Network (VLAN) Commands
Ports
151-28,Po1-8
153-4
153-4
151-4
151-4
vlan-list
| remove
— Specifies a list of VLAN IDs to remove from a port.
78-21075-01 Command Line Interface Reference Guide
Type
Authorization
Default
Required
static
Required
static
Required
static
Required
vlan-list
}

Advertisement

Table of Contents
loading

Table of Contents