Cisco Catalyst 4500 Series Configuration Manual page 1143

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
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
name vlan_name
Command Default
The default settings are as follows:
Command Modes
Interface configuration mode
Command History
Release
12.1(8a)EW
12.1(11)EW
IOS XE 3.8.0E and
IOS 15.2(4)E
switchport [access vlan {vlan_num | name vlan_name}] | [nonegotiate] | [voice vlan {vlan-id |
dot1p | name vlan_name | none | untagged}]
no switchport [access vlan | nonegotiate | voice vlan]
(Optional) Sets the VLAN when the interface is in access mode; valid values
are from 1 to 1005 or a VLAN name.
(Optional) Specifies that the DISL/DTP negotiation packets will not be sent
on the interface.
(Optional) Specifies the number of the VLAN; valid values are from 1 to
1005
(Optional) Specifies that the PVID packets are tagged as priority.
(Optional) Specifies that the telephone and voice VLAN do not
communicate.
(Optional) Specifies the untagged PVID packets.
(Optional) Specifies the VLAN name. You can enter up to 128 characters.
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
This command was introduced on the Catalyst 4500 series switch.
Support for voice VLAN was added.
Option to specify a VLAN name for access and voice VLAN.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
switchport
2-1093

Advertisement

Table of Contents
loading

Table of Contents