Spanning Tree Protocol Flashcards

Study STP

1
Q

Which command does a network engineer use to verify the spanning-tree status for VLAN 10?
A. switch# show spanning-tree vlan 10
B. switch# show spanning-tree bridge
C. switch# show spanning-tree brief
D. switch# show spanning-tree summary
E. switch# show spanning-tree vlan 10 brief

A

A. switch# show spanning-tree vlan 10

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A network engineer is trying to deploy a PC on a network. The engineer observes that when
the PC is connected to the network, it takes 30 to 60 seconds for the PC to see any activity on the network interface card. Which Layer 2 enhancement can be used to eliminate this delay?
A. Configure port duplex and speed to auto negotiation.
B. Configure port to duplex full and speed 1000.
C. Configure spanning-tree portfast.
D. Configure no switchport.

A

C. Configure spanning-tree portfast.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

An administrator recently configured all ports for rapid transition using PortFast. After testing, it has been determined that several ports are not transitioning as they should. What is the reason for this?
A. RSTP has been enabled per interface and not globally.
B. The STP root bridge selection is forcing key ports to remain in non-rapid transitioning mode.
C. STP is unable to achieve rapid transition for trunk links.
D. The switch does not have the processing power to ensure rapid transition for all ports.

A

C. STP is unable to achieve rapid transition for trunk links.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
Pilot testing of the new switching infrastructure finds that when the root port is lost, STP immediately replaces the root port with an alternative root port. Which spanning-tree technology is used to accomplish backup root port selection?
A. PVST+
B. PortFastC. BackboneFast
D. UplinkFast
E. Loop Guard
F. UDLD
A

D. UplinkFast

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
A network engineer must adjust the STP interface attributes to influence root port selection. Which two elements are used to accomplish this? (Choose two)
A. port-priority
B. cost
C. forward-timers
D. link type
E. root guard
A

A. port-priority

B. cost

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
For client server failover purposes, the application server team has indicated that they must not have the standard 30 second delay before their switchport enters a forwarding state. For their disaster recovery feature to operate successfully, they require the switchport to enter a forwarding state immediately. Which spanning-tree feature satisfies this requirement?
A. Rapid Spanning-Tree
B. Spanning-Tree Timers
C. Spanning-Tree FastPort
D. Spanning-Tree PortFast
E. Spanning-Tree Fast Forward
A

D. Spanning-Tree PortFast

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which two options are two results of using the command spanning-tree vlan 50 root primary within a spanning-tree network under global configuration? (Choose two)
A. Spanning tree determines the priority of the current root for VLAN 50 and reduces the priority of the local switch to a lower value.
B. The priority value for VLAN 50 is set to 4094 on the root while the local switch priority isset to 32768.
C. The spanning-tree timers are reduced to improve the convergence time for VLAN 50.
D. All ports that are configured on the current switch with VLAN 50 transition to designated ports.
E. The switchport that is configured for VLAN 50 is the primary connection to the spanning- tree root switch.

A

A. Spanning tree determines the priority of the current root for VLAN 50 and reduces the priority of the local switch to a lower value.
D. All ports that are configured on the current switch with VLAN 50 transition to designated ports.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

An access switch at a remote location is connected to the spanning-tree root with uplinks. A network engineer notices that there are issues with the physical cabling of the current root port. The engineer decides to force the secondary link to be the desired forwarding root port.
Which action accomplishes this task?
A. Change the link-type to point-to-point.
B. Enable Rapid Spanning Tree to converge using the secondary link.
C. Adjust the secondary link to have a lower priority than the primary link.
D. Apply a BPDU filter on the primary interface of the remote switches.

A

C. Adjust the secondary link to have a lower priority than the primary link.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A network engineer wants to make sure that an access switch will never become a Spanning Tree root for VLAN 5. What action will accomplish this task?
A. adjust STP priority to the maximum value
B. disable STP globally
C. apply root guard to all outgoing neighbor interfaces
D. enable MSTP and use a different revision number than all other switches

A

A. adjust STP priority to the maximum value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In which two ways are IEEE STP BPDUs forwarded if VLAN 99 is configured as native? (Choose two)
A. VLAN 1 STP BPDUs are sent untagged on VLAN 99
B. VLAN 1 STP BPDUs are sent untagged on VLAN 1
C. VLAN 1 STP BPDUs are sent tagged on VLAN 99
D. VLAN 1 STP BPDUs are sent tagged on VLAN 1
E. VLAN 1 and VLAN 99 BPDUs are sent tagged on VLAN 1
F. VLAN 1 and VLAN 99 BPDUs are sent untagged on VLAN 1

A

A. VLAN 1 STP BPDUs are sent untagged on VLAN 99

D. VLAN 1 STP BPDUs are sent tagged on VLAN 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What statement is true about PVST?
A. PVST+ is the default STP mode on Cisco switches
B. Rapid PVST+ is the default STP mode on Cisco switches
C. Is the default mode on Cisco switches
D. STP is the default mode on Cisco switches

A

A. PVST+ is the default STP mode on Cisco switches

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
Your manager asked you to make every port on your switch bypass the normal spanning- tree timers which includes your uplink to other switches. What two commands can you apply on the interfaces? (Choose two)
A. spanning-tree portfast
B. spanning-tree portfast default
C. spanning-tree portfast access
D. spanning-tree portfast trunk
A

A. spanning-tree portfast

D. spanning-tree portfast trunk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
What keyword in macro command is used to configure a root bridge and automatically adjust STP timers?
A. root primary
B. diameter
C. hello-time
D. forward-time
A

A. root primary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
What statements about STP path cost are true? (Choose two)
A. Long path cost is 64 bits
B. Short path cost is 32 bits
C. MST uses long path cost
D. Default path cost is short
A

C. MST uses long path cost

D. Default path cost is short

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which two commands enable loop guard on a Cisco switch? (Choose two)
A. Switch(config)# spanning-tree loopguard default
B. Switch(config-if)# spanning-tree guard loop
C. Switch(config-if)#spanning-tree loop guard default
D. Switch(config)#spanning-tree loop guard default
E. Switch(config-if)#spanning-tree loopguard

A

A. Switch(config)# spanning-tree loopguard default

B. Switch(config-if)# spanning-tree guard loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
What is the default value for spanning-tree port-priority?
A. 128
B. 256
C. 0
D. 1024
A

A. 128

17
Q

spanning-tree extend system-id
spanning-tree mode pvst
spanning-tree backbonefast
—–
A. It enables the switch to become the spanning-tree root bridge.
B. It enables the reduced MAC address feature.
C. It enables spanning-tree to create dynamic system IDs.
D. It enables extended VLANs.

A

C. It enables spanning-tree to create dynamic system IDs.

18
Q
Which keyword can be applied to the spanning-tree priority command that allows the IT department to adjust the timers based on the number of switches between any two end stations?
A. root primary
B. priority
C. cost
D. diameter
E. hello-time
A

D. diameter

19
Q

If switch SW1 is connected in a mesh with four other switches and all switches retain the default configuration, which command do you enter on SW1 interface to make it the root bridge for all VLANs?
A. SW1(config)#spanning-tree port-priority 129
B. SW1(config)#spanning-tree port-priority 127
C. SW1(config-if)#spanning-tree port-priority 129
D. SW1(config-if)#spanning-tree port-priority 127

A

D. SW1(config-if)#spanning-tree port-priority 127

20
Q

When a Layer 2 EtherChannel is configured, which statement about interaction with the Spanning Tree Protocol is true?
A. Spanning Tree uses only the member ports for forwarding.
B. Spanning Tree uses the port channel for forwarding.
C. Spanning Tree uses the port channel and member ports for forwarding.
D. Spanning Tree does not use port channels in loop prevention.

A

B. Spanning Tree uses the port channel for forwarding.

21
Q
A question about root path election. Which is the parameter to elect the root port and root path?
A. interface bandwidth
B. load
C. reliability
D. interface usage
A

A. interface bandwidth

22
Q

Two switches had two redundant links between them. An interface on the primary link has a problem and the admin wants to move the traffic to the other link. What action must he performed?
A. Change priority for secondary connection to a lower value than the primary.
B. Change STP mode to RSTP.
C. Configure a point-to-point connection for the secondary link.
D. Apply BPDUFilter on the primary connection.

A

A. Change priority for secondary connection to a lower value than the primary.

23
Q

Which two options are two results of using the command spanning-tree vlan 50 root primary within a spanning-tree network under global configuration?
A. Spanning tree determines the priority of the current root for VLAN 50 and reduces the priority of the local switch to a lower value.
B. The priority value for VLAN 50 is set to 4094 on the root while the local switch priority is set to 32768.
C. The spanning-tree timers are reduced to improve the convergence time for VLAN 50.
D. All ports that are configured on the current switch with VLAN 50 transition to designated ports.
E. The switchport that is configured for VLAN 50 is the primary connection to the spanning- tree root switch.

A

A. Spanning tree determines the priority of the current root for VLAN 50 and reduces the priority of the local switch to a lower value.
D. All ports that are configured on the current switch with VLAN 50 transition to designated ports.

24
Q

Which command disables STP on multiple interfaces?
A. no spanning-tree vlan 10
B. no spanning-tree pvst
C. no spanning-tree mst

A

A. no spanning-tree vlan 10

Careful!