Verifying STP Operation

Before taking a look at how to change the configuration, first consider a few STP verification commands. Looking at these commands first will help reinforce the default STP settings. In particular, the examples in this section use the network shown in Figure 2-4.

Image

Figure 2-4 Sample LAN for STP Configuration and Verification Examples

Example 2-1 begins the discussion with a useful command for STP: the show spanning-tree vlan 10 command. This command identifies the root switch and lists settings on the local switch. Example 2-1 lists the output of this command on both SW1 and SW2, as explained following the example.

Example ...

Get Cisco CCNA Routing and Switching ICND2 200-101 Official Cert Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.