Switchport Mode - Cisco Sx350 Cli Manual

Hide thumbs Also See for Sx350:
Table of Contents

Advertisement

67
1263
Examples
Example 1 - The following example puts the port
switchxxxxxx(config)#
switchxxxxxx(config-if)#
Example 2 - The following example puts the port
switchxxxxxx(config)#
switchxxxxxx(config-if)#

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.
Virtual Local Area Network (VLAN) Commands
interface gi11
switchport
interface gi11
no switchport
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
1 into Layer 2 mode.
gi1
1 into Layer 3 mode.
gi1

Advertisement

Table of Contents
loading

Table of Contents