user manual
PurposeCommand or Action
Returns to global configuration mode.exit
Example:
Switch(config-if)# exit
Step 4
Repeat Steps 2 through 4 on a second interface in Switch
A or in Switch A stack.
Step 5
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 6
Verifies your entries. In the display, make sure that the
interfaces are configured as trunk ports.
show running-config
Example:
Switch# show running-config
Step 7
When the trunk links come up, Switch A receives the
VTP information from the other switches. This
show vlan
Example:
Switch# show vlan
Step 8
command verifies that Switch A has learned the VLAN
configuration.
Enters global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 9
Defines the interface on which to set the STP cost, and
enters interface configuration mode.
interface interface-id
Example:
Switch(config)# interface gigabitethernet1/0/1
Step 10
Sets the spanning-tree path cost to 30 for VLANs 2
through 4.
spanning-tree vlan 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