Switchport - Cisco 4500M Command Reference Manual

Command reference
Hide thumbs Also See for 4500M:
Table of Contents

Advertisement

Chapter2
Cisco IOS Commands for the Catalyst 4500 Series Switches

switchport

To modify the switching characteristics of a Layer 2 switch interface, use the switchport command. To
return the interface to the routed-interface status and cause all further Layer 2 configuration to be erased,
use the no form of this command without parameters.
Syntax Description
access vlan vlan_num
nonegotiate
voice vlan vlan_id
dot1p
none
untagged
Defaults
The default settings are as follows:
Command Modes
Interface configuration
Command History
Release
12.1(8a)EW
12.1(11)EW
Usage Guidelines
The no switchport command shuts the port down and then re-enables it, which may generate messages
on the device to which the port is connected.
The no form of the switchport access command resets the access mode VLAN to the appropriate default
VLAN for the device. The no form of the switchport nonegotiate command removes nonegotiate
status.
78-16201-01
switchport [access vlan vlan_num] | [nonegotiate ] | [voice vlan {vlan_id | dot1p | none |
untagged }]
no switchport [access | nonegotiate | voice vlan]
(Optional) Sets the VLAN when the interface is in access mode; valid values
are from 1 to 1005.
(Optional) Specifies DISL/DTP negotiation packets will not be sent on the
interface.
(Optional) Specifies number of the VLAN; valid values are from 1 to 1005.
(Optional) Specifies PVID packets tagged as priority.
(Optional) Specifies that the telephone and voice VLAN do not
communicate.
(Optional) Specifies untagged PVID packets.
Switchport trunking mode is enabled.
Dynamic negotiation parameter is set to auto.
Access VLANs and trunk interface native VLANs are a default VLAN corresponding to the platform
or interface hardware.
All VLAN lists include all VLANs.
No voice VLAN is enabled.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Support for voice VLAN was added.
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
switchport
2-457

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c4507r4500 series

Table of Contents