Switchport Mode - Cisco Small Business 300 1.1 Series Administration Manual

Managed switch
Table of Contents

Advertisement

Virtual Local Area Network (VLAN) Commands
78-20269-01 Command Line Interface Reference Guide
Command Mode
EXEC mode
Example
console# show interfaces protected-ports
Interface
State
--------- -------------
gi1
Protected
gi2
Protected
gi3
Unprotected
gi4
Unprotected

30.11 switchport mode

Use the switchport mode Interface Configuration (Ethernet, port-channel) mode
command to configure the VLAN membership mode (access, trunk, general or
customer) of a port. Use the no form of this command to restore the default
configuration.
Syntax
{access | trunk | general | customer}
switchport mode
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 the port is connected to customer equipment.
Used when the switch is in a provider network.
Default Configuration
Trunk mode.
30
412

Advertisement

Table of Contents
loading

Table of Contents