Cisco WS-C3560-48PS-S Software Configuration Manual page 269

Software configuration guide
Hide thumbs Also See for WS-C3560-48PS-S:
Table of Contents

Advertisement

Chapter 12
Configuring VLANs
Beginning in privileged EXEC mode, follow these steps to configure the network shown in
Command
Step 1
configure terminal
Step 2
vtp domain domain-name
Step 3
vtp mode server
Step 4
end
Step 5
show vtp status
Step 6
show vlan
Step 7
configure terminal
Step 8
interface gigabitethernet 0/1
Step 9
switchport trunk encapsulation {isl |
dot1q | negotiate}
Step 10
switchport mode trunk
Step 11
end
Step 12
show interfaces gigabitethernet 0/1
switchport
Step 13
Step 14
Step 15
show vlan
Step 16
configure terminal
Step 17
interface gigabitethernet 0/1
Step 18
spanning-tree vlan 8-10 port-priority 16
Step 19
exit
Step 20
interface gigabitethernet0/2
Step 21
spanning-tree vlan 3-6 port-priority 16
Step 22
end
Step 23
show running-config
Step 24
copy running-config startup-config
78-16156-01
Purpose
Enter global configuration mode on Switch A.
Configure a VTP administrative domain.
The domain name can be from 1 to 32 characters.
Configure Switch A as the VTP server.
Return to privileged EXEC mode.
Verify the VTP configuration on both Switch A and Switch B.
In the display, check the VTP Operating Mode and the VTP Domain
Name fields.
Verify that the VLANs exist in the database on Switch A.
Enter global configuration mode.
Enter interface configuration mode, and define the interface to be
configured as a trunk.
Configure the port to support ISL or 802.1Q encapsulation or to
negotiate with the neighboring interface. You must configure each
end of the link with the same encapsulation type.
Configure the port as a trunk port.
Return to privileged EXEC mode.
Verify the VLAN configuration.
Repeat Steps 7 through 11 on Switch A for a second interface in the
switch.
Repeat Steps 7 through 11 on Switch B to configure the trunk ports
that connect to the trunk ports configured on Switch A.
When the trunk links come up, VTP passes the VTP and VLAN
information to Switch B. Verify that Switch B has learned the VLAN
configuration.
Enter global configuration mode on Switch A.
Enter interface configuration mode, and define the interface to set the
STP port priority.
Assign the port priority of 10 for VLANs 8 through 10.
Return to global configuration mode.
Enter interface configuration mode, and define the interface to set the
STP port priority.
Assign the port priority of 10 for VLANs 3 through 6.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Catalyst 3560 Switch Software Configuration Guide
Configuring VLAN Trunks
Figure
12-3.
12-25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents