Advanced STP features Flashcards

1
Q

Which STP feature essentially disables STP on a port-by-port basis?

A

BPDU filter

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

What command enables BPDU guard on all portfast ports?

A

spanning portfast bpduguard default

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

Because of RLQs, backbone fast must be enabled on ___.

A

All switches in the network.

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

What multicast address does uplink fast use?

A

0100.0ccd.cdcd

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

When the root port goes down on a switch with uplink fast enabled, what will the switch do besides unblocking a port from its uplink group?

A

It will update neighboring switches of the change by sending multicast frames from every MAC address in its CAM table.

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

Why does uplink fast increase switch and port cost when it’s enabled?

A

To prevent the switch from becoming the root, and to make it unlikely to be used by downstream switches. This is because uplink fast is meant for access layer

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

Can you enable uplink fast on a per-VLAN basis?

A

No, it can only be enabled globally.

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

Which campus layers should uplink fast be used on?

A

Access only, not on core or distribution.

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

Describe an uplink group.

A

Any ports that lead to the root bridge, regardless of whether they’re blocked or not.

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

Portfast can be configured in which two ways?

A

Globally or port-by-port.

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

Can portfast be enabled on a trunk port?

A

Yes, but the “trunk” option must be added to the end of the command or it will not work.

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

What does PortFast do?

A

Allows an access port to go directly from blocking to forwarding.

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

Briefly describe BPDU filtering.

A

Configured globally or per-port, BPDU filtering stops BPDUs from being received or forwarded out any portfast-enabled ports.

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

Briefly describe BPDU guard.

A

Configured per-port, BPDU guard helps to protect against rogue network devices by setting a port to err-disable when a BPDU of any type is received on it.

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

Describe how root guard works.

A

A per-port configuration that tells a switch to ignore incoming superior BPDUs, thus making sure the root bridge does not change if a rogue switch is added to the network. If a superior BPDU is received, it’s discarded and the port is put into root-inconsistent state until the superior BPDUs cease.

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

Describe how RLQ works.

A

When a switch detects an indirect link failure, a RLQ BPDU will be sent out any port actively recieving BPDUs. The receiving switch will validate the root bridge specified in the RLQ against its own database. If the roots match, the RLQ is forwarded to the root bridge and finally returned. If the root bridges don’t match, the RLQ will be returned to the switch generating it and the STP election process will begin again.

17
Q

Briefly define RLQ.

A

Root link query. Used by a switch detecting an indirect link to ensure that it still has a path to the root.

18
Q

In backbone fast, why does eliminating the max age time help a switch to deal with indirect link failures?

A

This allows a blocked port (leading to switch generating inferior BPDUs) begin the STP port process 20 seconds faster, allowing the superior BPDU to be forwarded out that port.

19
Q

Briefly define backbone fast.

A

Helps switches to recover from indirect link failures by eliminating the max age time. Also sends RLQ BPDUs to ensure that the switch detecting the failure has a good path to the root.

20
Q

When uplink fast is enabled, what two actions immediately take place?

A
  1. Switch priority is set to 49152. 2. STP port cost is increased by 3000.
21
Q

In uplinkfast, how long will it take for the primary path to be used once it’s come online again?

A

2 X forward delay; plus five seconds.

22
Q

Briefly explain uplinkfast.

A

Like portfast for closets. Adds potential paths to the root into an “uplink group”. If the main path to the root goes down, a port from the uplink group is immediately moved to the forwarding stage.

23
Q

How would you enable portfast globally?

A

Spanning portfast default.

24
Q

Briefly define portfast.

A

Allows an access port to go immediately from blocking to forwarding.

25
Q

Briefly describe loop guard.

A

Enabled globally or per-port, loop guard protects against damaged cables that may cause a switching loop.

26
Q

Describe how loop guard works.

A

Meant to be enabled on any port that should be receiving BPDUs, loop guard will cause a port that stops receiving BPDUs to enter loop-inconsistent mode.

27
Q

Loop guard operates on a ___ basis.

A

Per-VLAN.

28
Q

Describe loop-inconsistent mode.

A

Like blocking mode, loop-inconsistent mode keeps a port from sending or receiving frames. Once BPDUs begin to be received on the port again, it will work it’s way back towards forwarding mode automatically.

29
Q

Describe UDLD aggressive mode.

A

UDLD frames are sent every second. If eight frames are not returned, the port will be put into err-disabled mode.

30
Q

Describe UDLD normal mode.

A

UDLD frames are sent every 15 seconds. If a frame is not returned, a syslog message is generated.

31
Q

Describe how UDLD works.

A

Configured per-port or globally, a UDLD enabled port will send out a UDLD frame with information about itself. The receiving port will return the frame, ensuring a bi-directional link. Must be configured on both ends. Comes in two flavors, normal and aggressive.

32
Q

Briefly describe UDLD.

A

Unidirectional link detection. Used to ensure that bidirectional links (usually fiber) are fully functional.

33
Q

Briefly describe the err-disabled state.

A

Usually caused by some kind of a security violation, a port in err-disabled state will not forward or receive packets. You may clear an err-disabled port by shut/no shut on the port.

34
Q

Describe the root-inconsistent state.

A

Similar to a listening state, root-inconsistent will receive and forward BPDUs (except for superior ones) and not pass frames.