Clearing spanning tree-detected protocols

These commands force a spanning tree renegotiation with neighboring devices on either all interfaces or on a specified interface.
  1. Restart the spanning tree migration process on all interfaces.
    device# clear spanning-tree detected-protocols
    
  2. Restart the spanning tree migration process on a specific Ethernet interface.
    device# clear spanning-tree detected-protocols interface ethernet 0/3
    
  3. Restart the spanning tree migration process on a specific port channel interface.
    device# clear spanning-tree detected-protocols port-channel 12
    
    Port channel interface numbers range from 1 through 64.