Consolidated Platform Configuration Guide, Cisco Ios Release 15.2(4)E (Catalyst 2960-X Switches - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

Command or Action
Step 3
interface interface-id
Example:
Switch(config)# interface
gigabitethernet1/0/2
Step 4
switchport mode {dynamic {auto | desirable} |
trunk}
Example:
Switch(config-if)# switchport mode dynamic
desirable
Step 5
switchport access vlan vlan-id
Example:
Switch(config-if)# switchport access vlan
200
Step 6
switchport trunk native vlan vlan-id
Example:
Switch(config-if)# switchport trunk native
vlan 200
Step 7
end
Example:
Switch(config)# end
Step 8
show interfaces interface-id switchport
Example:
Switch# show interfaces gigabitethernet1/0/2
switchport

Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)

Purpose
Specifies the port to be configured for trunking, and enters
interface configuration mode.
Configures the interface as a Layer 2 trunk (required only if the
interface is a Layer 2 access port or tunnel port or to specify the
trunking mode).
• dynamic auto—Sets the interface to a trunk link if the
neighboring interface is set to trunk or desirable mode. This
is the default.
• dynamic desirable—Sets the interface to a trunk link if the
neighboring interface is set to trunk, desirable, or auto mode.
• trunk—Sets the interface in permanent trunking mode and
negotiate to convert the link to a trunk link even if the
neighboring interface is not a trunk interface.
(Optional) Specifies the default VLAN, which is used if the
interface stops trunking.
Specifies the native VLAN for IEEE 802.1Q trunks.
Returns to privileged EXEC mode.
Displays the switch port configuration of the interface in the
Administrative Mode and the Administrative Trunking
Encapsulation fields of the display.
How to Configure VLAN Trunks
2135

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents