# Quiz 2

## Question 1

Which IEEE 802.1D optional features were built into the IEEE 802.1w standard, and allow ports to move rapidly to the forwarding state?

1. Root Guard
2. PortFast
3. BPDU Guard
4. UplinkFast
5. BackboneFast
6. Loop Guard
7. RootFast

<details>

<summary>Solution</summary>

2, 4 and 5.

</details>

## Question 2

You want to configure an 802.1w edge port so that hosts connected to the interface can begin sending traffic over the network immediately. Which command should you use?

1. _spanning-tree link-type edge_
2. _spanning-tree mode edge_
3. _spanning-tree link-type portfast_
4. _spanning-tree portfast_

<details>

<summary>Solution</summary>

4\.

</details>

## Question 3

Identify the root bridge in this network.&#x20;

* a) What is the RSTP port role of each switch port?
* b) What is the appropriate RSTP link type for each connection between devices?

<figure><img src="https://1474932522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAgItg4KAZpnXjAFPWRf8%2Fuploads%2F4bkk8hcVgJPp7F1LPaVH%2FScreenshot%20from%202023-06-28%2011-42-24.png?alt=media&#x26;token=930dab03-5e42-4d23-9284-d8ac47471981" alt=""><figcaption></figcaption></figure>

<details>

<summary>Solution</summary>

SW1 is the Root bridge.

* SW1
  * G0/0 - Designated
  * G0/1 - Designated
  * G0/2 - Designated
  * G0/3 - Designated
* SW2
  * G0/0 - Root
  * G/01 -  Designated (because it has a lower root cost than a port on SW4)
  * G0/2 - Backup
  * G0/3 - Designated
* SW3
  * G0/0 - Designated
  * G0/1 - Discarding
  * G0/2 - Root
  * G0/3 - Designated
* SW4
  * G0/0 - Root (because SW3 has lower bridgeID)
  * G0/1 - Discarding
  * G0/2 - Designated

Link-typed

* SW# <-> host - edge
* SW1 <-> SW3, SW1 <-> SW2 and SW3 <-> SW3 - point-to-point
* SW2 <-> SW4 - shared

<img src="https://1474932522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAgItg4KAZpnXjAFPWRf8%2Fuploads%2FdsVchvs90jpc3f2xbt4m%2FScreenshot%20from%202023-06-28%2011-53-38.png?alt=media&#x26;token=7262586c-8ec9-4c8c-b090-a47a660beb25" alt="" data-size="original">

</details>
