EasyManua.ls Logo

Cisco SPS2024 - Switchport Mode

Cisco SPS2024
552 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
VLAN Commands
switchport mode
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 486
34
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
switchport mode
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).

Table of Contents

Related product manuals