free hit counter

Cisco 300 Series Cli Manual page 497

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Virtual Local Area Network (VLAN) Commands
78-21075-01 Command Line Interface Reference Guide
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.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
When the port's mode is changed, it receives the configuration
corresponding to the mode.
If the port mode is changed to access and the access VLAN does not exist,
then the port does not belong to any VLAN.
Trunk and general mode ports can be changed to access mode only if all
VLANs (except for an untagged PVID are first removed.
Example
The following example configures gi1 as an access port (untagged layer 2) VLAN
port.
switchxxxxxx(config)#
switchxxxxxx(config-if)#
interface gi1
switchport mode access
32
497

Advertisement

Table of Contents
loading

Table of Contents

Save PDF