STP Practice lab Sim for Switch Exam

PortFast spanning tree configuration:

Lab Tasks:

Suppose your company has installed a new Switch in your existing network to connect 24 additional users. You need to configure the switch correctly so that it will not disturb your existing configuration of your network. You also have to ensure that the switch does not participate in VTP (VLAN trunking protocols) but forwards VTP updates and advertisements that are received on trunk ports.
Because of errors that have been experienced on office computers, all nontrunking interfaces (all Fast Ethernet ports) should transition immediately to the forwarding state of Spanning tree. 


Ensure the following configurations on Switch:
·         Configure all port of Switch as access-ports and assign the VLAN 20 to Fast Ethernet ports 1/12 to 1/24 in global configuration mode.
·         Switch does not participate in VTP but forwards VTP advertisements received on trunk ports.
·         Ensure all access interfaces (1-24) of switch transition immediately to the forwarding state of Spanning-Tree.
·         Ensure all FastEthernet interfaces are in a permanent non-trunking mode.

Solution for STP Switch Lab:

Configure all port of Switch as access-ports or non-trunking ports
Switch>enable
Switch#configure terminal
Switch(config)#interface range fa1/1 – 24
Switch(config-if-range)#switchport mode access


Assign the VLAN 20 to Fast Ethernet ports 1/12 to 1/24 in global configuration mode.
By default, all ports on the switch are in VLAN 1. To change the VLAN associated with a port, you need to go to each interface (or a range of interfaces) and tell it which VLAN to be a part of.
Switch(config-if-range)#interface range fa1/12 – 24
Switch(config-if-range)#switchport access vlan 20
Switch(config-if-range)#exit

Ensure all access interfaces (1-24) of switch transition immediately to the forwarding state of Spanning-Tree.
Switch(config)#interface range fa1/1 – 24 
Switch(config-if-range)#spanning-tree portfast 

Switch does not participate in VTP but forwards VTP advertisements received on trunk ports.
Switch(config)#vtp mode transparent
Switch(config)#exit


And finally you can save the configuration with one of following command.
Switch#copy running-config startup-config
OR

Switch#Write

4 comments:

UA-23728446-1