You want to run the new 802.1w on your switches. Which of the following would enable this protocol?

Group of answer choices

Switch(config)#spanning-tree mode 802.1w

Switch(config)#spanning-tree mode rapid-pvst

Switch#spanning-tree mode rapid-pvst

Switch#spanning-tree mode 802.1w

1 answer

To enable the Rapid Spanning Tree Protocol (RSTP), which is defined in IEEE 802.1w, you should use the command that sets the spanning tree mode to rapid-pvst.

The correct commands to enable RSTP would either include:

  1. In global configuration mode:

    Switch(config)# spanning-tree mode rapid-pvst
    
  2. In privileged exec mode:

    Switch# spanning-tree mode rapid-pvst
    

So the correct answer from your options would be:

  • Switch(config)#spanning-tree mode rapid-pvst

or

  • Switch#spanning-tree mode rapid-pvst

Note: The other options, Switch(config)#spanning-tree mode 802.1w and Switch#spanning-tree mode 802.1w, are not valid commands to configure the RSTP on standard Cisco switches.