EasyManuals Logo
Home>Cisco>Network Router>4500M

Cisco 4500M Command Reference

Cisco 4500M
578 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 #489 background imageLoading...
Page #489 background image
2-457
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco 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
Command History
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.
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 DISL/DTP negotiation packets will not be sent on the
interface.
voice vlan vlan_id (Optional) Specifies number of the VLAN; valid values are from 1 to 1005.
dot1p (Optional) Specifies PVID packets tagged as priority.
none (Optional) Specifies that the telephone and voice VLAN do not
communicate.
untagged (Optional) Specifies 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 4500M

Questions and Answers:

Question and Answer IconNeed help?

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

Cisco 4500M Specifications

General IconGeneral
BrandCisco
Model4500M
CategoryNetwork Router
LanguageEnglish

Related product manuals