PurposeCommand or Action
Verifiesthe VLAN configuration.
showinterfaces interface-id switchport
Example:
Switch# show interfaces gigabitethernet1/0/1
Step 11
Repeatthe above steps on Switch A for a second port in
theswitch or switch stack.
Step 12
Repeatthe above steps on Switch B to configure the
trunkports that connect to the trunk ports configured on
SwitchA.
Step 13
Whenthe trunk links come up, VTP passes the VTP and
VLANinformation to Switch B. This command verifies
thatSwitch B has learned the VLAN configuration.
showvlan
Example:
Switch# show vlan
Step 14
Entersglobal configuration mode on Switch A.configureterminal
Example:
Switch# configure terminal
Step 15
Definesthe interface to set the STP port priority, and
entersinterface configuration mode.
interfaceinterface-id
Example:
Switch(config)# interface gigabitethernet1/0/1
Step 16
Assignsthe port priority for the VLAN range specified.
Entera port priority value from 0 to 240. Port priority
valuesincrement by 16.
spanning-treevlan vlan-range port-priority
priority-value
Example:
Switch(config-if)# spanning-tree vlan 8-10
port-priority 16
Step 17
Returnsto global configuration mode.exit
Example:
Switch(config-if)# exit
Step 18
Definesthe interface to set the STP port priority, and
entersinterface configuration mode.
interfaceinterface-id
Example:
Switch(config)# interface gigabitethernet1/0/2
Step 19
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
76 OL-29440-01
Configuring VLAN Trunks
Configuring Trunk Ports for Load Sharing