Chapter 3: Advanced STP Tuning Flashcards

1
Q

Ideal root bridge placement is located on a _______ switch?

A. Core
B. Distribution
C. Access

A

Core

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

What ensures that a switch is chosen as the root bridge?

A

Lowering the priority to 0.

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

What command is used to modify spanning tree priority?

A

spanning-tree vlan [vlan id] priority [#]

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

What command executes a script that modifies STP priority?

A

spanning-tree vlan [#] root {primary|secondary}

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

What is the spanning-tree vlan priority range?

A

0-61440 in increments of 4096

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

spanning-tree vlan [#] root primary modifies the vlan priority to what vlaue?

A

24576

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

spanning-tree vlan [#] root secondary modifies the vlan priority to what vlaue?

A

28672

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

What command is used to change STP port cost for a specific vlan?

A

spanning tree [vlan #] cost [#]

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

Places a port in the ErrDisabled state if a superior BPDU is received on a configured port.

A

Root Guard.

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

What STP feature is used to disable TCN generation on access ports?

A

Portfast

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

Causes a port to begin forwarding traffic immediately.

A

Portfast

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

What happens if a BPDU is received on a portfast-enabled port?

A

Portfast is removed from the port.

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

True or False:

Portfast can only be enabled in interface configuration mode.

A

False.

Portfast can be enabled globally or on a port-by-port basis.

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

In what scenario can a trunk port have portfast enabled?

A

When the port is connected to a single host.

ex. server with one NIC running a hypervisor with VMs on different VLANs.

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

What is the command to enable portfast on all access ports?

A

spanning-tree portfast default

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

What STP feature shuts down portfast-enabled ports if a BPDU is received?

A

BPDU guard

17
Q

By default, does a port that is put in the ErrDisable state by BPDU guard automatically restore itself?

A

No.

18
Q

What command is used to automatically restore a port placed in the ErrDisable state by BPDU guard?

A

errdisable recovery cause bpduguard

19
Q

Default Error Recovery service time

A

300 seconds

20
Q

This STP feature blocks BPDUs from being sent/received on a port.

A

BPDU filter

21
Q

BPDU guard global config command.

BPDU guard interface config command.

A
BPDU guard global config command
#spanning-tree portfast bpduguard default
BPDU guard interface config command.
#spanning-tree bpduguard {enable | disable}
22
Q

Prevents alternative or root ports from becoming designated ports due to loss of BPDUs on the root port.

A

Loop guard

23
Q

Places a port in ErrDisabled state while BPDUs are not being received.

A

Loop guard

24
Q

What mode is loop guard configured?

A

global config

25
Q

Monitors bidirectional traffic on fiber optic cables

A

UDLD

26
Q

UDLD operation

A
  1. UDLD packets containing system id and port id are sent to neighboring switch.
  2. Neighbor repeats back the information and sends its own system id and port id.
27
Q

Describe the 2 UDLD modes.

A

Normal: Unacknowledged frames cause the link to be considered undetermined and port remains inactive.

Aggressive: When a frame is not acknowledged, the switch sends another eight packets in 1-second intervals. Port is placed into error state if packets are not acknowledged.

28
Q

What command enables UDLD globally?

A

udld enable [aggressive]

This enables udld on any SFP port.

29
Q

Display the list of STP ports in an inconsistent state.

A

show spanning-tree inconsistentports