Spanning Tree Protocols Flashcards

1
Q

Classify each STP type

A

802.1d Avoids a loop in the LAN
PVST Prevents loops in a VLAN
MST (802.1s) Prevents loops in an arbitrary group of VLANs
RPVST+ (802.1w) same as PVST but has faster convergence

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

What are the Dynamic Trunking modes

A

Desirable

Auto

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

Which dynamic trunking options will not form a trunk?

A

Auto-Auto

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

How is the root bridge elected ?

A

Lowest priority. The default is 32768.

The lowest base MAC address.

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

Command to change the vlan priority

A

Must be in increments of 4096

SW1(config)#spanning-tree vlan 1 priority 36864

For a vlan its default priority plus vlan #
vlan 1 priority would be 32769

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

Modifying port cost

A

SW1(config)#int gi1/1

SW1(config-if)#spanning-tree vlan 1 cost 2

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

Modifying port priority

A

SW1(config)#int gi1/1
SW1(config-if)#spanning-tree vlan 1 port-priority 64

Increments of 32

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

What are the STP port states ?

A
  1. Discarding
  2. Learning
  3. Forwarding
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Port Roles

A

Root
Designated
Alternate
Backup

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

Root Guard

A

Prevents switch from becoming the root

SW1(config)#int gi1/3
SW1(config-if)#spanning-tree guard root

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

BPDU Guard

A

Error-disables port if it receives a pdu

SW1(config)#int gi1/3
SW1(config-if)#spanning-tree bpduguard enable

Global Command
spanning-tree portfast edge bpduguard default

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

BPDU Filter

A

Prevents switch from sending or processing received BPDUs.

SW1(config)#int gi1/3
SW1(config-if)#spanning-tree bpdufilter enable

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

UDLD modes

A

Automatically detect the loss of bidirectional communication on a link

Normal - Does not err disable port

udld port

Aggressive - UDLD tries to reestablish the connection with the neighbor. After eight failed retries, the port is disabled.

udld port aggressive

Global enables
udld enable
udld aggressive

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

Loop Guard

A

Blocks ports on a per-VLAN basis

SW1(config)#int gi1/3
SW1(config-if)#spanning-tree guard loop

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