11.07.2015 Views

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

clear spanning-tree detected-protocolsChapter 2<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>sclear spanning-tree detected-protocolsUse the clear spanning-tree detected-protocols privileged EXEC comm<strong>and</strong> on the switch stack or ona st<strong>and</strong>alone switch to restart the protocol migration process (force the renegotiation with neighboringswitches) on all interfaces or on the specified interface.clear spanning-tree detected-protocols [interface interface-id]Syntax Descriptioninterface interface-id(Optional) Restart the protocol migration process on the specified interface.Valid interfaces include physical ports, VLANs, <strong>and</strong> port channels. TheVLAN range is 1 to 4094. The port-channel range is 1 to 48.DefaultsNo default is defined.Comm<strong>and</strong> ModesPrivileged EXECComm<strong>and</strong> HistoryRelease12.2(35)SE2ModificationThis comm<strong>and</strong> was introduced.Usage GuidelinesA switch running the rapid per-VLAN spanning-tree plus (rapid-PVST+) protocol or the MultipleSpanning Tree Protocol (MSTP) supports a built-in protocol migration mechanism that enables it tointeroperate with legacy IEEE 802.1D switches. If a rapid-PVST+ switch or an MSTP switch receives alegacy IEEE 802.1D configuration bridge protocol data unit (BPDU) with the protocol version set to 0,it sends only IEEE 802.1D BPDUs on that port. A multiple spanning-tree (MST) switch can also detectthat a port is at the boundary of a region when it receives a legacy BPDU, an MST BPDU (Version 3)associated with a different region, or a rapid spanning-tree (RST) BPDU (Version 2).However, the switch does not automatically revert to the rapid-PVST+ or the MSTP mode if it no longerreceives IEEE 802.1D BPDUs because it cannot learn whether the legacy switch has been removed fromthe link unless the legacy switch is the designated switch. Use the clear spanning-treedetected-protocols comm<strong>and</strong> in this situation.ExamplesThis example shows how to restart the protocol migration process on a port:<strong>Switch</strong># clear spanning-tree detected-protocols interface gigabitethernet2/0/1Related Comm<strong>and</strong>sComm<strong>and</strong>show spanning-treespanning-tree link-typeDescriptionDisplays spanning-tree state information.Overrides the default link-type setting <strong>and</strong> enables rapid spanning-treechanges to the forwarding state.2-108<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> ReferenceOL-9776-08

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!