Overview

Introduction

The Configure, Verify, and Troubleshoot STP Related Features module provides you with the instructions and Cisco hardware to develop your hands on skills in understanding the configuration STP related features. This module includes the following activities:

  • Configuring Edge ports
  • Configuring BPDU guard

Exercise 1 - Configuring Edge Ports

When connecting an end device to a switch port, the default settings cause the interface to switch from the Listening to Learning to Forwarding states. This procedure can take well over 30 seconds. This means that any computer or end device that is connected to such a port will have to wait at least that long before connectivity is achieved. Defining a port as an edge port bypasses this wait time allowing for immediate connectivity.

In this exercise, you will configure several ports on the NYCORE2 switch as edge ports.

Exercise 2 - Configuring BPDU Guard

As mentioned in the previous exercise, configuring portfast on switch ports must be done with caution. However, it is possible to enjoy the convenience of portfast and maintain the protection of these ports from the unauthorized use of switches and hubs that may cause layer two loops.

This can be achieved using a feature called BPDU guard. Bridge Protocol Data Units, or BPDUs are frames that are exchanged between switches in order to allow STP to function. You can configure a switch to ignore any BPDUs that are received on edge ports, thus protecting your network from the use of switches that could cause loops.

In this exercise, you will configure BPDU guard on the edge ports of the NYCORE2 switch.

Comprehensive Learning

See the full benefits of our immersive learning experience with interactive courses and guided career paths.