Switchport Trunk Allowed Vlan - Cisco 220 Series Smart Plus Reference Manual

Smart plus switches command line interface
Hide thumbs Also See for 220 Series Smart Plus:
Table of Contents

Advertisement

VLAN Commands

switchport trunk allowed vlan

switchport trunk allowed vlan
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
Command Mode
Interface Configuration (Ethernet, port channel) mode
User Guidelines
Packets are subject to all filtering rules and Filtering Database (FDB) decisions.
Example
switchxxxxxx(config)# interface gi1
switchxxxxxx(config-if)# switchport protected
A trunk interface is an untagged member of a single VLAN. It may be a tagged
member of one or more VLANs. To add or remove VLANs to or from a trunk port,
use the switchport trunk allowed vlan Interface Configuration mode command.
Syntax
switchport trunk allowed vlan {add
Parameters
vlan-list
add
—Adds a list of VLANs to a port. Separate nonconsecutive
VLAN IDs with a comma and no spaces. Use a hyphen to designate a range
of VLAN IDs.
vlan-list
remove
nonconsecutive VLAN IDs with a comma and no spaces. Use a hyphen to
designate a range of VLAN IDs.
all—Adds or removes all VLANs from a port.
Default Configuration
Trunk port is an untagged member in the default VLAN and is not tagged member
in any other VLANs.
Command Mode
Interface Configuration (Ethernet, port channel) mode
vlan-list
—Removes a list of VLANs from a port. Separate
vlan-list
| remove
| all}
41
520

Advertisement

Table of Contents
loading

Table of Contents