EasyManua.ls Logo

Cisco Catalyst 2960 Series

Cisco Catalyst 2960 Series
2288 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Specifies the port to be configured, and enters interface
configuration mode.
interface interface-id
Example:
Switch(config)# interface
Step 3
gigabitethernet1/0/1
Configures the interface as a VLAN trunk port.switchport mode trunk
Example:
Switch(config-if)# switchport mode trunk
Step 4
(Optional) Configures the list of VLANs allowed on the trunk.switchport trunk allowed vlan {add | all | except |
remove} vlan-list
Step 5
The vlan-list parameter is either a single VLAN number from
1 to 4094 or a range of VLANs described by two VLAN
Example:
Switch(config-if)# switchport trunk allowed
numbers, the lower one first, separated by a hyphen. Do not
enter any spaces between comma-separated VLAN parameters
or in hyphen-specified ranges.
vlan remove 2
All VLANs are allowed by default.
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 6
Verifies your entries in the Trunking VLANs Enabled field of
the display.
show interfaces interface-id switchport
Example:
Switch# show interfaces gigabitethernet1/0/1
Step 7
switchport
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2137
How to Configure VLAN Trunks

Table of Contents

Other manuals for Cisco Catalyst 2960 Series

Related product manuals