PurposeCommand or Action
Returnsto globalconfiguration mode.exit
Example:
Switch(config-if)# exit
Step 4
RepeatSteps 2 through 4 on a second interface in Switch
Aor in Switch A stack.
Step 5
Returnsto privileged EXEC mode.end
Example:
Switch(config)# end
Step 6
Verifiesyour entries. In the display, make sure that the
interfacesare configured astrunk ports.
showrunning-config
Example:
Switch# show running-config
Step 7
Whenthe trunklinks comeup, SwitchA receivesthe
VTPinformation from theother switches.This
showvlan
Example:
Switch# show vlan
Step 8
commandverifies that Switch A has learned the VLAN
configuration.
Entersglobal configuration mode.configureterminal
Example:
Switch# configure terminal
Step 9
Definesthe interface on which to set the STP cost, and
entersinterface configuration mode.
interfaceinterface-id
Example:
Switch(config)# interface gigabitethernet1/0/1
Step 10
Setsthe spanning-treepath cost to30 for VLANs 2
through4.
spanning-treevlan vlan-range cost cost-value
Example:
Switch(config-if)# spanning-tree vlan 2-4 cost
Step 11
30
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29440-01 79
Configuring VLAN Trunks
Configuring Trunk Ports for Load Sharing