EasyManuals Logo

Cisco Sx350 User Manual

Cisco Sx350
1323 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 #1268 background imageLoading...
Page #1268 background image
Virtual Local Area Network (VLAN) Commands
1267 Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
67
User Guidelines
Use the switchport trunk allowed vlan command to specify which VLANs the port
belongs to when its mode is configured as trunk.
Non-existed VLANs can be configured. When a non-existed VLAN is created the
port will add to it automatically.
Forbidden VLANs can be configured.
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
67.13 switchport trunk native vlan
If an untagged packet arrives on a trunk port, it is directed to the port’s 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
|
none}
no switchport trunk native vlan
Parameters
•
vlan-id
—Specifies the native VLAN ID.
• none—Specifies the access port cannot belong to any VLAN.
Default Configuration
The default native VLAN is the Default VLAN.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Cisco Sx350 Specifications

General IconGeneral
BrandCisco
ModelSx350
CategorySwitch
LanguageEnglish

Related product manuals