How To Configure Stp On Cisco Switch?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Log into the switch using the appropriate credentials.
2. Enter global configuration mode by typing “configure terminal”.
3. Enable Spanning Tree Protocol by typing “spanning-tree mode pvst”.
4. Assign a priority for the switch by typing “spanning-tree priority <number>”.
5. Set the time for the aging of the switch’s forwarding database by typing “spanning-tree vlan <vlan-id> forward-time <seconds>”.
6. Set the time for the aging of the root switch’s forwarding database by typing “spanning-tree vlan <vlan-id> root-forward-time <seconds>”.
7. Set the time for the aging of the root port’s forwarding database by typing “spanning-tree vlan <vlan-id> root-port-forward-time <seconds>”.
8. Set the time for the aging of the bridge protocol data unit by typing “spanning-tree bpdu-aging-time <seconds>”.
9. Set the path cost for each port by typing “spanning-tree <port-id> cost <value>”.
10. Set the priority for each port by typing “spanning-tree <port-id> priority <value>”.
11. Save the configuration by typing “write memory”.
12. Exit the switch configuration by typing “exit”.