beautypg.com

Clear spanning-tree detected-protocols – Brocade Network OS Command Reference v4.1.0 User Manual

Page 179

background image

Network OS Command Reference

141

53-1003115-01

clear spanning-tree detected-protocols

2

clear spanning-tree detected-protocols

Clears all spanning-tree detected protocols on the interface.

Synopsis

clear spanning-tree detected-protocols [interface | port-channel number |
fortygigabitethernet rbridge-id/slot/port | tengigabitethernet rbridge-id/slot/port |
gigabitethernet rbridge-id/slot/port]

Operands

interface

Specifies the interface on which to clear the spanning-tree counters.

port-channel number Specifies the interface is a port-channel. The number of available channels

range from 1 through 63 for standalone mode, and from 1 through 6144
for Brocade VCS Fabric mode. However, the channel can be assigned any
number from 1 through 6144.

fortygigabitethernet rbridge-id/slot/port

Specifies a valid 40-gigabit Ethernet interface.

slot

Specifies a valid slot number.

port

Specifies a valid port number.

tengigabitethernet rbridge-id/slot/port

Specifies a valid 10-gigabit Ethernet interface.

slot

Specifies a valid slot number.

port

Specifies a valid port number.

gigabitethernet rbridge-id/slot/port

Specifies a valid 1-gigabit Ethernet interface.

slot

Specifies a valid slot number.

port

Specifies a valid port number.

Defaults

None

Command Modes

Privileged EXEC mode

Description

Use this command to clear the detected protocols on the interface.

Usage Guidelines

If the interface parameter is not specified, spanning-tree detected protocols are cleared for all
interfaces.

Examples

To clear detected protocols for all interfaces:

switch# clear spanning-tree detected-protocols

To clear detected protocols for a 10-gigabit Ethernet interface:

switch# clear spanning-tree detected-protocols interface tengigabitethernet 0/1

To clear detected protocols for port-channel 23:

switch# clear spanning-tree detected-protocols interface port-channel 23

See Also

show spanning-tree