CCNA STP Interview Questions and Answer

Page 1

CCNA STP Interview Questions and Answer networkingguruji1.com/2020/02/ccna-stp-interview-questions-and-answer.html

CCNA STP Interview Questions and Answer. My Dear Friend in today’s article, I will tell you “CCNA STP Interview Questions and Answer” If you any problem after reading this article, you can see the video below. Please don't forget to Like, Share, Comment & Subscribe to our Networking Guruji Channel for more videos.

What is STP or What is the purpose of STP? STP stands for Spanning Tree Protocol. Spanning-tree protocol (STP) is used to prevent a loop in the Layer 2 switching network by logically blocking redundant links. What is the layer 2 loop? The process of forwarding a single frame around and around among switches is known as a layer 2 loop. Why does a frame stuck in a layer 2 loop forever? 1/6


Because in layer 2 header there is no field that can prevent loop like TTL field in a layer 3 header. As a result, when layer frames stuck in a loop it goes for ever. How does STP remove the loop? STP uses Spanning Tree Algorithm, and finds redundant links in Switch Network and put into a blocking state. What is BPDU? What is its purpose? BPDU or Bridge Protocol Data Unitsa type of STP message which switches use to exchange information of each other. BPDU contains information that help the switch to determine the topology. BPDU is sent in every 2 Sec. What are the different types of BPDU? Configuration BPDU or Hello BPDU, used for spanning tree topology or instance calculation. Topology Change Notification (TCN) BPDU, used to announce the information about the changes in a network topology. Previous post: - Configuringbasic VTP on CISCO Switches Why do we need a root switch in a layer 2 network? For all switches in a network to agree on a loop-free topology, there must be a switch that can be used as a guide. How does a root switch is elected? BPDU contains a field. Each Switch has a unique identifier which is called Bridge ID or Switch ID, an 8-byte value (2 byte priority field and 6-byte system ID, system ID is the universal unique MAC address of each switch) Switch with the best (numerically lower) Switch ID or Bridge ID in a layer 2 topology is called the root switch. Priority comes first, if it ties then MAC address is used to select root switch. “Interview Questions and Answers on stp�

2/6


What is the root port? Each (non-Root) the switch has exactly one Root Port, which represents the best path (lowest path cost) to the Root switch. What is a designated port? The designated port (DP) on a link in the port, from which the link gets the best (least cost) Hello/BPDU onto a link during STP convergence. All ports of root switch are designated port. Port is in always forwarding state. What is non-designated port? The ports those are neither root port nor designated port. These ports are blocked by STP, known as blocked port. CCNAINTERVIEW Question and answer in 2020 3/6


What is the method of selecting a root port? Total Path Cost to Root Bridge - lowest is best. In case of a tie, Connected Bridge ID - lowest is best. Connected switch’s Port ID (Port Priority.Port Number) - lowest is best. Local Port number - lowest is best. What are the different states of ports in STP? Blocking Listening Learning Forwarding Disabled What is Hello Timer in STP? The time interval between Configuration BPDUs sent by the Root Bridge. The default Hello,Time value is of 2 seconds. What is Forward Delay Timer in STP? The time interval that a switch port spends in both the Listening and Learning states. The default value is 15 seconds. What is the Max-Age Timer? The time interval that a switch stores the best BPDU it has received before discarding it. What is the actual convergence time in STP (PVST)? Near about 50 to 52 seconds theoretically. Practically 32 to 35 sec. What are the different flavors/types of STP? CST PVST PVST+ What is CST? 4/6


A common instance of Spanning Tree, it is basically use a single instance calculation for all VLAN. What is PVST? Per VLAN Spanning Tree, it is Cisco Proprietary and calculates instance for each and every VLAN. What is PVST+? Cisco made the PVST as per IEEE standard (802.1d) and given the name PVST+ (802.1d). “STP Interview Questions and Answers� What are the disadvantages in CST? Redundant links between switches will be blocked with no capability for load balancing. Conditions also can occur that would cause CST to mistakenly enable forwarding on a link that does not carry a specific VLAN, while other links would be blocked. What do you mean by topology change in a layer 2 network? A topology change occurs when a switch port either moves from blocking state to Forwarding state or moves from Forwarding state to the Blocking state. 802.1qtrunking configuration cisco catalyst switches What does Port Fast do? Port Fast immediately brings an interface configured as an access or trunk port to the forwarding state from a blocking state, bypassing the listening and learning states. What is the advantage of Port Fast? In case of change of state of a port fast enabled port no TCN BPDU is sent by the switch.

5/6


What is the BPDU Guard?

BPDU a guard is access port security features. If BPDU received by BPDU guard enabled port then the port will go to error disable state.

Can we enable PortFast on Trunk port? -

Yes we can if the port is connected to Server. Conclusion

Full article “CCNA STP interview questions and answer� Thank you for the full reading of the article. If you find this post helpful, then help others by sharing it on social media.

6/6


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.