Spanning Tree Flashcards

1
Q

How is the Switch’s Bridge ID generated?

A

Switch’s MAC Address + the Bridge Priority

Bridge Priority from 0 - 65535

Priority defaults to 32768

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

In the case of a spanning tree Bridge Priority tie, which will be the Root Switch (Root Bridge)?

A

The one with the lowest MAC address.

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

If a switch has multiple equal cost paths towards the Root Switch via multiple devices, how will it select the Root Port?

A

The Neighbour with the lowest Bridge ID (Switch Priority + MAC address)

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

If a switch has multiple equal cost paths towards the Root Switch via the same device, i.e. multiple links between two switches, how will it select the Root Port?

A

Select the path with the lowest port priority on the other switch.
If priority tie, he lowest port number on the other switch wins.

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

What are Root Ports in STP?

A

Ports with the lowest cost path back to the Root Switch.

  • There will only be one root port (interface) per switch that is not the Root Switch.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a STP designated port?

A

The best inbound ports to use to get to the Root Bridge on each network segment (based on cost).

  1. In case of a cost tie, the port on the device with the lowest Bridge ID wins.
  2. All Layer 2 network segments will have 1 designated port.
  3. All ports on the Root Bridge are designated ports.
  4. Designated ports will always be ports that point away from the Root Switch.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What ports get blocked by Spanning Tree?

A

Ports that are not Root Ports, or Designatied Ports.
They are also called ‘Alternate Ports’ in Cisco Spanning Tree standards.

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

What are the steps to manually identify Spanning Tree port status?

A
  1. Find Root Switch (best Bridge ID)
  2. All ports on Root Switch are Designated Ports
  3. Find Root Ports on other switches (lowest cost to Root Switch on each device)
  4. The other side of those links are going to be Designated Ports
  5. On links that are left, find Designated Ports (best path back to Root Switch)
  6. The rest are Blocking ‘designated ports’
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

List types of industry standard Spanning Tree Protocols

(probably not in the test)

A

Open Standards

  1. Spanning Tree Protocol (STP) - One Root Switch LAN, ignores VLANS, slow.
  2. Rapid Spanning Tree Protocol (RSTP) - improved convergency time. Still ignores VLANS.
  3. Multiple Spanning Tree Protocol (MSTP) - Supports grouping of VLANS into different spanning tree instances.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

List types of Cisco Spanning Tree Protocols

A

Cisco Standards

  1. Per VLAN Spanning Tree Plus (PVST+) - Seperate Spanning Tree instance for every VLAN. This is the default on Cisco Switches. Slow.
  2. Rapid Per VLAN Spanning Tree Plus (RPVST+) - improved convergency time. Still uses seperate Spanning Tree instance for every VLAN.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Command to view Spanning Tree info:

A

SW1# show spanning-tree

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

Highest or Lowest Root Bridge Priority number wins?

A

Lowest

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

Command to configure a switch to be Root Switch in the enviroment?

A

Primary Switch:

CoreSwitch1(config)# spanning-tree vlan 10 root primary
CoreSwitch2
(config)#spanning-tree vlan 20 root primary

Secondary Switch:

CoreSwitch1(config)# spanning-tree vlan 20 root secondary
CoreSwitch2
(config)#spanning-tree vlan 10 root secondary

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

What is PortFast?

A

Turns a switch port on (forwarding) before listening for Spanning Tree BPDU packets.

(can take up to 50 seonds if PortFast is not enabled)

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

Command to enable PortFast

A

By Port:

SW1(config)# interface range f0/2 - 9
SW1(config-if-range)# spanning-tree portfast

All Ports by default:

SW1(config)# spanning-tree portfast default
SW1(config)# interface f0/24
SW1(config-if)# no spanning-tree portfast

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

What is BPDU Guard?

A

If BPDU is recieved on a port, the port will be shut down.

This should work in conjunction with PortFast

17
Q

Commands to enable BPDU Guard

A

By Port:

SW1(config)# interface range f0/2 - 9
SW1(config-if-range)# spanning-tree bpduguard enable

All Ports by default:

SW1(config)# spanning-tree portfast bpduguard enable
SW1(config)# interface f0/24
SW1(config-if)# no spanning-tree bpduguard enable