2-800Cisco Catalyst Blade Switch 3120 for HP Command ReferenceOL-12248-03Chapter 2 Cisco Catalyst Blade Switch 3120 for HP Cisco IOS Commandsswitchport trunkswitchport trunkUse the switchport trunk interface configuration command on the switch stack or on a standalone switchto set the trunk characteristics when the interface is in trunking mode. Use the no form of this commandto reset a trunking characteristic to the default.switchport trunk {allowed vlan vlan-list | encapsulation {dot1q | isl | negotiate} | native vlanvlan-id | pruning vlan vlan-list}no switchport trunk {allowed vlan | encapsulation | native vlan | {pruning vlan}Syntax DescriptionThe vlan-list format is all | none | [add | remove | except] vlan-atom [,vlan-atom...] where:• all specifies all VLANs from 1 to 4094. This keyword is not allowed on commands that do notpermit all VLANs in the list to be set at the same time.• none means an empty list. This keyword is not allowed on commands that require certain VLANsto be set or at least one VLAN to be set.• add adds the defined list of VLANs to those currently set instead of replacing the list. Valid IDs arefrom 1 to 1005; extended-range VLANs (VLAN IDs greater than 1005) are valid in some cases.Note You can add extended-range VLANs to the allowed VLAN list, but not to thepruning-eligible VLAN list.Separate nonconsecutive VLAN IDs with a comma; use a hyphen to designate a range of IDs.allowed vlan vlan-list Set the list of allowed VLANs that can receive and send traffic on thisinterface in tagged format when in trunking mode. See the following vlan-listformat. The none keyword is not valid. The default is all.encapsulation dot1q Set the encapsulation format on the trunk port to IEEE 802.1Q. With thisformat, the switch supports simultaneous tagged and untagged traffic on aport.encapsulation isl Set the encapsulation format on the trunk port to Inter-Switch Link (ISL).The switch encapsulates all received and sent packets with an ISL header andfilters native frames received from an ISL trunk port.encapsulationnegotiateSpecify that if Dynamic Inter-Switch Link (DISL) and Dynamic TrunkingProtocol (DTP) negotiation do not resolve the encapsulation format, ISL isthe selected format.native vlan vlan-id Set the native VLAN for sending and receiving untagged traffic when theinterface is in IEEE 802.1Q trunking mode. The range is 1 to 4094.pruning vlan vlan-list Set the list of VLANs that are eligible for VTP pruning when in trunkingmode. The all keyword is not valid.