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 #1107 background imageLoading...
Page #1107 background image
2-1049
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 mode
switchport mode
To set the interface type, use the switchport mode command. To reset the mode to the appropriate
default mode for the device, use the no form of this command.
switchport mode {access | dot1q-tunnel | trunk | dynamic {auto | desirable}}
switchport mode private-vlan {host | promiscuous | trunk promiscuous | trunk [secondary]}
no switchport mode dot1q-tunnel
no switchport mode private-vlan
Syntax Description
Defaults Link converts to a trunk link.
dot1q tunnel ports are disabled.
Command Modes Interface configuration mode
Command History
Usage Guidelines If you enter access mode, the interface goes into permanent nontrunking mode and negotiates to convert
the link into a nontrunk link even if the neighboring interface does not approve the change.
If you enter trunk mode, the interface goes into permanent trunking mode and negotiates to convert the
link into a trunk link even if the neighboring interface does not approve the change.
access Specifies a nontrunking, nontagged single VLAN Layer 2 interface.
dot1q-tunnel Specifies an 802.1Q tunnel port.
trunk Specifies a trunking VLAN Layer 2 interface.
dynamic auto Specifies that the interface convert the link to a trunk link.
dynamic desirable Specifies that the interface actively attempt to convert the link to a trunk link.
private-vlan host Specifies that the ports with a valid PVLAN trunk association become active host
private VLAN trunk ports.
private-vlan
promiscuous
Specifies that the ports with a valid PVLAN mapping become active promiscuous
ports.
private-vlan trunk
promiscuous
Specifies that the ports with valid PVLAN trunk mapping become active
promiscuous trunk ports.
private-vlan trunk
secondary
Specifies that the ports with a valid PVLAN trunk association become active host
private VLAN trunk ports.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch..
12.2(18)EW Support was added for configuring dot1q tunnel ports.
12.2(31)SG Support was added for trunk promiscuous ports.

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