Chap 3 - Advanced STP Tuning Flashcards

1
Q

When setting the System Priority on a switch what number does the Priority need to be a multiple of?

A

4096

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

What are 3 steps do you take when manually setting the primary and secondary Root Bridge placement?

A
  • Making the System Priority on the Root lower than all other switches.
  • Making the System Priority slightly higher than the Root Bridge on the Secondary
  • Set all other switches with higher System Priorities.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When using the command ‘spanning-tree vlan (vlan_id) root primary’ what value is used by default?

A

24,576

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

When using the command ‘spanning-tree vlan (vlan_id) root secondary’ what value is used by default?

A

28,672

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

When using the command ‘spanning-tree vlan (vlan_id) root primary’ what does the optional parameter ‘diameter’ mean and what does it do?

A
  • ‘diameter’ is the number of Layer 2 hops between a switch and the root
  • changes timers on the root to make convergence faster
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the best way to configure switches to be primary and secondary root bridges?

A

Set the System Priority to 0 for the Root and 4096 for the Secondary

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

When a switch receives a BPDU advertising the root path cost does it already include the cost of the link the BPDU was received on?

A

No, the receiving switch adds the cost of the interface where the BPDU was received to determine its own root patch cost.

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

What interface command takes precedence - ‘spanning-tree vlan (vlan_id) cost (cost)’ or ‘spanning-tree cost (cost)’

A

The command that specifies the VLAN will take precedence over the command that doesn’t.

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

What 2 methods can be used to change Root Port and Blocked switchport locations?

A
  • change the interface COST
  • change the interface Priority
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are 2 symptoms of a Layer 2 forwarding loop?

A
  • high CPU consumption
  • low free memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are 4 causes of Layer 2 forwarding loops?

A
  • STP disabled
  • misconfigured Load Balancer
  • misconfigured Virtual Switch that bridges 2 physical ports
  • End users using a dumb switch or hub
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

When syslog detects a flapping MAC address with an associated VLAN what should you do?

A

Investigate all switches hosting that VLAN and make sure a forwarding loop does not exist

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

Where should Root Guard be placed?

A

On DP that face other switches that should never become the Root Bridge.

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

What is the Port Identifier on an interface?

A

It is the Port Priority followed by the interface number after the slash. Fa0/7 would be 128.7

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

When is the only time you should enable Portfast on a trunk?

A

When the trunk connects to a server with only 1 NIC that runs a hypervisor with VMs in different VLANs.

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

What is the Error Recovery Service and how can you tell what the reason was for the port being disabled?

A
  • Automatically re-enables a port in err-disabled state after a timeout of 300 seconds
  • when enabled ‘show errdisable recovery’ gives reason why err-disabled
17
Q

What does BPDU Filtering do when configured on an interface?

A

When enabled on an interface it will not send or receive BPDUs.

18
Q

What does BPDU Filtering do when configured globally?

A
  • When enabled all Portfast ports will send a series of 10-12 BPDUs
  • If any BPDUs are received the port will lose its Portfast status, BPDU filtering will be removed from that port, and the port will just be a normal port
19
Q

What does Loopguard do?

A

Prevents a blocked port from transistioning to a forwarding state which would cause a forwarding loop.

20
Q

What does UDLD do and what are the 2 steps it uses to performs this?

A
  • Performs bidirectional monitoring of fiber links.
  • Switch A sends UDLD packets to switch B
  • Switch B repeats those packets back to A adding its own interface info
21
Q

What is the difference between UDLD Normal mode vs Aggressive mode?

A
  • Normal mode - if a frame is not acknowledged the link is considered Undetermined but port stays active
  • Aggressive mode - if a frame is not acknowledged UDLD will try once more, if no response then port is placed in an error state.
22
Q

For UDLD Recovery what is the default interval time?

A

5 minutes

23
Q

What does Root Guard do, where is it placed and how does it react?

A
  • Prevents a configured port from becoming a Root Port.
  • Prevents a down-stream switch from becoming a Root Bridge
  • Placed on a Designated Port
  • Err-disables a Designated Port if a Superior BPDU is received
24
Q

What is a use-case for Loopguard?

A
  • Fiber interface facing another switch in STP blocked state
  • The inbound fiber connection fails
  • Switch is no longer receiving BPDUs but continues to send
  • Switch transitions the port from blocking to forwarding causing a loop
25
Q

Display a switches Root Path Cost.

A

show spanning-tree vlan (vlan_id)

26
Q

Check to see if portfast and bpduguard are enabled on an interface.

A

show spanning-tree interface (interface_id) detail

27
Q

Display ports in err-disable state due to bpduguard when Error Recovery Service is enabled.

A

show errdisable recovery

28
Q

Display port in an Inconsistent state.

A

show spanning-tree inconsistantports

29
Q

Verify the status of UDLD neighborship.

A

show udld neighbors

30
Q

Display more detailed UDLD information.

A

show udld (interface_id)

31
Q

In RSTP what is the RSTP equivalent of 802.1D port types?

A
  • 802.1D port TYPES = RSTP port ROLES
  • 802.1D port types - RP, DP, Blocking
  • RSTP port roles - RP, DP, Alternate port, Backup port