![Cisco Sx350 Cli Manual Download Page 1264](http://html.mh-extra.com/html/cisco/sx350/sx350_cli-manual_26093201264.webp)
Virtual Local Area Network (VLAN) Commands
1263
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
67
Examples
Example 1 - The following example puts the port
gi1
1 into Layer 2 mode.
switchxxxxxx(config)#
interface
gi11
switchxxxxxx(config-if)#
switchport
Example 2 - The following example puts the port
gi1
1 into Layer 3 mode.
switchxxxxxx(config)#
interface
gi11
switchxxxxxx(config-if)#
no switchport
67.10 switchport mode
Use the switchport mode Interface Configuration mode command to configure the
VLAN membership mode. Use the no form of this command to restore the default
configuration.
Syntax
switchport mode
access | trunk | general | private-vlan {promiscuous | host} |
customer
no switchport mode
Parameters
•
access—Specifies an untagged layer 2 VLAN port.
•
trunk—Specifies a trunking layer 2 VLAN port.
•
general—Specifies a full 802-1q-supported VLAN port.
•
customer—Specifies that an edge port connected to customer equipment.
Traffic received from this port will be tunneled with the additional 802.1q
VLAN tag (Q-in-Q VLAN tunneling).
•
private-vlan promiscuous—Private-VLAN promiscuous port.
•
private-vlan host—Private-VLAN host port.
Default Configuration
Access mode.
Summary of Contents for Sx350
Page 1: ...Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide CLI GUIDE ...
Page 26: ...25 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1 ...
Page 237: ...CDP Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 236 8 ...
Page 975: ...RADIUS Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 974 48 ...