Virtual Local Area Network (VLAN) Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide 1264
67
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
When the port’s mode is changed, it receives the configuration corresponding to
the mode.
If the port mode is changed to access and the access VLAN does not exist, then
the port does not belong to any VLAN.
The following features cannot be enabled if vlan-mapping is allowed:
• IPv4 routing
• IPv6 routing
• Auto Smart Port
• Voice VLAN
IPv4 and IPv6 interfaces cannot be defined on VLANs containing edge interfaces.
The following Layer 2 features are not supported into VLANs containing edge
interfaces:
• IGMP Snooping
• MLD Snooping
• DHCP Snooping
• IPv6 First Hop Security
Examples
Example 1 - The following example configures gi11 as an access port (untagged
layer 2) VLAN port.
switchxxxxxx(config)#
interface
gi1
1
switchxxxxxx(config-if)#
switchport mode access
switchxxxxxx(config-if)#
switchport access vlan
2
Example 2 - The following example puts the port gi12 into private-vlan host mode.