Switchport Mode - Cisco Catalyst 4500 Series Configuration Manual

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

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.
Syntax Description
access
dot1q-tunnel
trunk
dynamic auto
dynamic desirable
private-vlan host
private-vlan
promiscuous
private-vlan trunk
promiscuous
private-vlan trunk
secondary
Command Default
Link converts to a trunk link.
dot1q tunnel ports are disabled.
Command Modes
Interface configuration mode
Command History
Release
12.1(8a)EW
12.2(18)EW
12.2(31)SG
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.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
2-1102
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
Specifies a nontrunking, nontagged single VLAN Layer 2 interface.
Specifies an 802.1Q tunnel port.
Specifies a trunking VLAN Layer 2 interface.
Specifies that the interface convert the link to a trunk link.
Specifies that the interface actively attempt to convert the link to a trunk link.
Specifies that the ports with a valid PVLAN trunk association become active host
private VLAN trunk ports.
Specifies that the ports with a valid PVLAN mapping become active promiscuous
ports.
Specifies that the ports with valid PVLAN trunk mapping become active
promiscuous trunk ports.
Specifies that the ports with a valid PVLAN trunk association become active host
private VLAN trunk ports.
Modification
This command was introduced on the Catalyst 4500 series switch..
Support was added for configuring dot1q tunnel ports.
Support was added for trunk promiscuous ports.
Chapter 2

Advertisement

Table of Contents
loading

Table of Contents