Configuration and Verification Examples
Configuration and Verification Examples
This example shows how to configure the Gigabit Ethernet port 5/8 as an 802.1Q trunk. This example
assumes that the neighbor port is configured to support 802.1Q trunking:
This example shows how to configure the Gigabit Ethernet port 5/6 as an access port in VLAN 200:
This example shows how to configure the switch as the root bridge for VLAN 10, with a network
diameter of 4:
This example shows how to configure the VLAN port priority of Gigabit Ethernet port 1/4:
You also can display spanning tree information for VLAN 200 using the following command:
Router# show spanning-tree vlan 200 interface gigabitethernet 1/4
This example shows how to configure the bridge priority of VLAN 200 to 33792 when the extended
system ID is disabled:
On the show switch output verify that the current state of all switches is READY.
Switch#show switch
On the show switch stack-ports verify that all the ports are shown as OK, that is an indication that
the stack-wise cables are working properly:
* show switch
* sh version
Switch enable
Switch# switch 3 priority 2
Switch# show switch
Switch# copy running-config startup-config