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 #1108 background imageLoading...
Page #1108 background image
2-1050
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
If you enter dynamic auto mode, the interface converts the link to a trunk link if the neighboring
interface is set to trunk or desirable mode.
If you enter dynamic desirable mode, the interface becomes a trunk interface if the neighboring
interface is set to trunk, desirable, or auto mode.
If you specify the dot1q-tunnel keyword, the port is set unconditionally as an 802.1Q tunnel port.
The port becomes inactive if you configure it as a private VLAN trunk port and one of the following
applies:
• The port does not have a valid PVLAN association.
• The port does not have valid allowed normal VLANs.
If a private port PVLAN association or mapping is deleted, or if a private port is configured as a SPAN
destination, it becomes inactive.
Examples This example shows how to set the interface to dynamic desirable mode:
Switch(config-if)# switchport mode dynamic desirable
Switch(config-if)#
This example shows how to set a port to PVLAN host mode:
Switch(config-if)# switchport mode private-vlan host
Switch(config-if)#
This example shows how to set a port to private VLAN trunk:
Switch(config-if)# switchport mode private-vlan trunk
Switch(config-if)#
This example shows how to configure a port for an 802.1Q tunnel port:
Switch(config-if)# switchport mode dot1q-tunnel
Switch(config-if)#
This example shows how to configure a promiscuous trunk port:
Switch(config-if)# switchport mode private-vlan trunk promiscuous
Switch(config-if)#
This example shows how to configure an isolated trunk port:
Switch(config-if)# switchport mode private-vlan trunk
OR
Switch(config-if)# switchport mode private-vlan trunk secondary
Switch(config-if)#
You can verify your settings by entering the show interfaces switchport command and examining
information in the Administrative Mode and Operational Mode rows.
This example shows how to configure interface FastEthernet 5/2 as a PVLAN promiscuous port, map it
to a PVLAN, and verify the configuration:
Switch# configure terminal
Switch(config)# interface fastethernet 5/2
Switch(config-if)# switchport mode private-vlan promiscuous
Switch(config-if)# switchport private-vlan mapping 200 2
Switch(config-if)# end
Switch# show interfaces fastethernet 5/2 switchport

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