EasyManuals Logo

Cisco 300 Series User Manual

Cisco 300 Series
1117 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #853 background imageLoading...
Page #853 background image
Smartport Commands
853 OL-32830-01 Command Line Interface Reference Guide
44
Syntax
smartport switchport trunk allowed vlan {add [
vlan-list |
all] | remove [
vlan-list | all
]}
Parameters
• add
vlan-list
—Specifies a list of VLAN IDs to add to interface. Separate
nonconsecutive VLAN IDs with a comma and no spaces; use a hyphen to
designate a range of IDs.
• add all—Add all VLANs to interface.
• remove
vlan-list
—Specifies a list of VLAN IDs to remove. Separate
nonconsecutive VLAN IDs with a comma and no spaces; use a hyphen to
designate a range of IDs.
• remove all—Remove all VLANs from interface.
Default Configuration
None
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
This command is an extension of the switchport access vlan (Non-ISCLI)
command. Unlike the switchport access vlan (Non-ISCLI) command, the
vlan-list
parameter of this command may include the voice VLAN (when it is the default
VLAN). If the default VLAN is the voice VLAN, the following occurs:
• add all —Adds the interface to the default VLAN as an egress tagged port.
• remove all
—Removes the interface from the default VLAN.
Example
To add port 1 to VLANs 1-5:
switchxxxxxx(config)#
interface
gi11
switchxxxxxx(config-if)#
smartport switchport trunk allowed vlan
add
1-5

Table of Contents

Other manuals for Cisco 300 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco 300 Series and is the answer not in the manual?

Cisco 300 Series Specifications

General IconGeneral
ModelCisco 300 Series
CategorySwitch
DimensionsVaries by model
WeightVaries by model
Power over Ethernet (PoE)Available on select models
ManagementWeb-based GUI, SNMP, CLI
VLANsUp to 256
Security FeaturesACLs, 802.1X, Port Security
Humidity10% to 90% non-condensing
Ports8, 16, 24, 48

Related product manuals