Switchport Trunk - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

switchport trunk

switchport trunk
To set the trunk characteristics when an interface is in trunking mode, use the switchport trunk
command. To reset all of the trunking characteristics back to the original defaults, use the no form of
this command.
Syntax Description
native vlan tag
native vlan vlan_id
allowed vlan vlan_list
pruning vlan vlan_list
Defaults
The default settings are as follows:
Command Modes
Interface configuration mode
Command History
Release
12.1(8a)EW
12.1(12c)EW
12.2(18)EW
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
2-1070
switchport trunk native vlan {tag | vlan_id}
no switchport trunk native vlan {tag | vlan_id}
switchport trunk allowed vlan vlan_list
no switchport trunk allowed vlan vlan_list
switchport trunk pruning vlan vlan_list
no switchport trunk pruning vlan vlan_list
Specifies the tagging of native VLAN traffic on 802.1Q trunks.
Sets the native VLAN for the trunk in 802.1Q trunking mode.
Sets the list of allowed VLANs that transmit this interface in tagged
format when in trunking mode. See the "Usage Guidelines" section for
formatting guidelines for vlan_list.
Sets the list of VLANs that are enabled for VTP pruning when the switch
is in trunking mode. See the "Usage Guidelines" section for formatting
guidelines for vlan_list.
IOS-XE only supports dot1Q.
The access VLANs and trunk interface native VLANs are a default VLAN that corresponds to the
platform or the interface hardware.
All VLAN lists include all VLANs.
Native VLAN tagging is enabled on the port if enabled globally.
Modification
Support for this command was introduced on the Catalyst 4500 series switch..
Support for extended addressing was added.
Support for native VLAN tagging was added.
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
OL-27596 -01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents