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

DETAILED STEPS
Command or Action
Step 1
enable
Example:
Switch> enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
interface interface-id
Example:
Switch(config)# interface
gigabitethernet1/0/1
Step 4
switchport mode trunk
Example:
Switch(config-if)# switchport mode trunk
Step 5
switchport trunk allowed vlan {add | all | except |
remove} vlan-list
Example:
Switch(config-if)# switchport trunk allowed
vlan remove 2
Step 6
end
Example:
Switch(config)# end
Step 7
show interfaces interface-id switchport
Example:
Switch# show interfaces gigabitethernet1/0/1
switchport

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

Purpose
Enables privileged EXEC mode. Enter your password if
prompted.
Enters the global configuration mode.
Specifies the port to be configured, and enters interface
configuration mode.
Configures the interface as a VLAN trunk port.
(Optional) Configures the list of VLANs allowed on the trunk.
The vlan-list parameter is either a single VLAN number from
1 to 4094 or a range of VLANs described by two VLAN
numbers, the lower one first, separated by a hyphen. Do not
enter any spaces between comma-separated VLAN parameters
or in hyphen-specified ranges.
All VLANs are allowed by default.
Returns to privileged EXEC mode.
Verifies your entries in the Trunking VLANs Enabled field of
the display.
How to Configure VLAN Trunks
2137

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents