EasyManuals Logo
Home>Cisco>Switch>300 Series

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 #1064 background imageLoading...
Page #1064 background image
Virtual Local Area Network (VLAN) Commands
OL-32830-01 Command Line Interface Reference Guide 1064
56
• remove
vlan-list
—Specifies a list of VLAN IDs to remove from a port.
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 the default VLAN.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
If the interface is a forbidden member of an added VLAN, the interface does not
become a member of this specific VLAN. The system displays an error message
about this issue ("An interface cannot become a a member of a forbidden VLAN.
This message will only be displayed once."), and the command continues to
execute in case there are more VLANs in the vlan-list.
Example
To add VLANs 2,3 and 100 to trunk ports 1 to 13:
switchxxxxxx(config)#
interface range
gi11-3
switchxxxxxx(config-if)#
switchport
mode
trunk
switchxxxxxx(config-if)#
switchport
trunk
allowed
vlan
add
2-3,100
switchxxxxxx(config-if)#
exit
56.15 switchport trunk native vlan
Use the switchport trunk native vlan Interface Configuration mode command to
define the native VLAN for a trunk interface. Use the no form of this command to
restore the default native VLAN.
Syntax
switchport trunk native vlan
vlan-id
no switchport trunk native vlan
Parameters
•
vlan-id
—Specifies the native VLAN ID.

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
BrandCisco
Model300 Series
CategorySwitch
LanguageEnglish

Related product manuals