Switchport Mode - Cisco SPS2024 Reference Manual

Cisco systems ethernet switch reference guide
Hide thumbs Also See for SPS2024:
Table of Contents

Advertisement

VLAN Commands

switchport mode

switchport mode
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide
User Guidelines
The name string may include numbers and other characters (#,@,% etc.) but no
spaces.
Example
The following example gives VLAN number 19 the name Marketing.
Console(config)# interface vlan 19
Console(config-if)# name Marketing
The switchport mode Interface Configuration mode command configures the
VLAN membership mode of a port. Use the no form of this command to restore the
default configuration.
Syntax
switchport mode {access | trunk | general | customer}
no switchport mode
Parameters
access — Indicates an untagged layer 2 VLAN port.
trunk — Indicates a trunking layer 2 VLAN port.
general — Indicates a full 802-1q supported VLAN port.
customer — The port is connected to customer equipment. Used when the
switch is in a provider network.
Default Configuration
All ports are in access mode, and belong to the default VLAN (whose VID=1).
34
486

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sps224g4Sps208g

Table of Contents