STP/EtherChannel Flashcards

1
Q

What is portfast?

How do you enable it?

A

If portfast is enabled on a port, it transitions to forwarding immediately, effectively disabling spanning tree for that port.

(if)spanning-tree portfast

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

What is BPDU-guard?

How do you enable it?

A

BPDU guard automatically disables a port if a BPDU is received on it, preventing loops when portfast is enabled.

(if)spanning-tree bpduguard enable

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

How do you make portfast/BPDU-guard the default port state?

A

()spanning-tree portfast bpduguard default

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

What is root guard?

How do you enable it?

A

It prevents the root bridge from being changed by disabling a port if it receives a BPDU from a higher priority bridge than it’s own root bridge on that port.

(if)spanning-tree guard root

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

How do you manually set the primary and secondary root bridge?

A

()spanning-tree vlan 1 root primary

()spanning-tree vlan 1 root secondary

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

What command allows you to see the STP configuration a Cisco switch?

A

show spanning-tree vlan 1

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

Why do you need to specify the vlan when checking STP configuration on Cisco switches?

A

PVST+ is the default STP, and it has a separate spanning tree instance for each vlan.

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

What is “alternate port”?

A

Alternate port means blocking role in PVST+

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

Unlike dynamic routing protocols, STP cannot do what for subnets?

A

STP does not load balance across equal cost paths like dynamic routing protocols do, it just chooses whichever has lowest bridge ID.

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

What PVST+ command always ensure a switch is the root for a particular VLAN?

A

()spanning-tree vlan 750 priority 0

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

How do you make a switch the root bridge for VLAN without changing priority?
What should be noted about this command?

A

()spanning-tree vlan 750 root primary

Switches made the primary with this will be overridden by a switch manually configured with priority 0

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

What value can you modify to configure a specific port as the preferred forwarding/designated port?

A

port priority

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

What are major uses of CDP?

A

finding the interface IPs of neighboring devices.

verifying L2 connectivity if L3 connectivity goes down.

finding the power requirement of a connected Cisco PD on a PoE switch.

IOS version running

host name

duplex settings

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

CDP can communicate what info about VTP and VLANs?

A

It can only communicate the VTP domain

It can only communicate the native VLAN, no other VLAN information is given.

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

Which is Cisco proprietary, PAgP or LACP?

What states do they have?

A

PAgP; desirable/auto. Cisco

LACP; passive/active. Open.

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

What are PAgP and LACP configured with?

A

Both use the channel-group command:

(if) # channel-group 1 mode active
(if) # channel-group 1 mode desirable

17
Q

What is static etherchannel configured with?

A

(if)# channel-group 1 mode on

18
Q

What is notable about static etherchannel?

A

It is not compatible with LACP and PAgP enabled ports.

19
Q

difference between LLDP holdtime and reinit time?

A

holdtime - how long device will hold onto information before discarding it (default 120)

-reinit - delay time in seconds for LLDP to initialize on an interface (default 2)

20
Q

What happens when an adjacent CDP device is configured without an IP address?

A

it uses another interface’s IP address for that neighbor