EasyManuals Logo

Cisco Catalyst 4500 Series Command Reference Guide

Cisco Catalyst 4500 Series
1230 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
Page #1100 background imageLoading...
Page #1100 background image
2-1042
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
switchport
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.
switchport [access vlan vlan_num] | [nonegotiate] | [voice vlan {vlan_id | dot1p | none |
untagged}]
no switchport [access | nonegotiate | voice vlan]
Syntax Description
Defaults The default settings are as follows:
• 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.
Command Modes Interface configuration mode
Command History
Usage Guidelines The no switchport command shuts the port down and then reenables it, which may generate messages
on the device to which the port is connected.
access vlan vlan_num (Optional) Sets the VLAN when the interface is in access mode; valid values
are from 1 to 1005.
nonegotiate (Optional) Specifies that the DISL/DTP negotiation packets will not be sent
on the interface.
voice vlan vlan_id (Optional) Specifies the number of the VLAN; valid values are from 1 to
1005.
dot1p (Optional) Specifies that the PVID packets are tagged as priority.
none (Optional) Specifies that the telephone and voice VLAN do not
communicate.
untagged (Optional) Specifies the untagged PVID packets.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.
12.1(11)EW Support for voice VLAN was added.

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 4500 Series and is the answer not in the manual?

Cisco Catalyst 4500 Series Specifications

General IconGeneral
SeriesCatalyst 4500 Series
CategorySwitch
Layer SupportLayer 2, Layer 3
Form FactorModular chassis
StackableNo
Chassis Slots3, 6, 7, 10
Power Supply OptionsAC, DC
RedundancyPower supply, Supervisor engine
Network ManagementCisco IOS Software CLI, SNMP, Cisco Prime Infrastructure
FeaturesSecurity, QoS
Port DensityUp to 384 ports per chassis
Security Features802.1X, ACLs, DHCP Snooping, Dynamic ARP Inspection, IP Source Guard
Supervisor Engine8-E

Related product manuals