4 Command Line Interface

Example

Console(config)#interface ethernet ethernet 1/5

Console(config-if)#spanning-tree mst 1 port-priority 0

Console(config-if)#

Related Commands

spanning-tree mst cost (4-174)

spanning-tree protocol-migration

This command re-checks the appropriate BPDU format to send on the selected interface.

Syntax

spanning-tree protocol-migration interface

interface

ethernet unit/port

-unit - Stack unit. (Range: Always 1)

-port - Port number. (Range: 1-24/48)

port-channel channel-id(Range: 1-32)

Command Mode

Privileged Exec

Command Usage

If at any time the switch detects STP BPDUs, including Configuration or Topology Change Notification BPDUs, it will automatically set the selected interface to forced STP-compatible mode. However, you can also use the spanning-treeprotocol-migrationcommand at any time to manually re-check the appropriate BPDU format to send on the selected interfaces (i.e., RSTP or STP-compatible).

Example

Console#spanning-tree protocol-migration eth 1/5

Console#

show spanning-tree

This command shows the configuration for the common spanning tree (CST) or for an instance within the multiple spanning tree (MST).

Syntax

show spanning-tree [interface mst instance_id]

interface

ethernet unit/port

-unit - Stack unit. (Range: Always 1)

-port - Port number. (Range: 1-24/48)

4-176

Page 418
Image 418
Accton Technology ES3526XA Spanning-tree protocol-migration, Show spanning-tree, Port-channel channel-idRange Command Mode