beautypg.com

Spanning-tree spanning-disabled, Spanning-tree cost – Accton Technology Edge-corE Fast Ethernet Switch ES3528M-SFP User Manual

Page 523

background image

Spanning Tree Commands

4-227

4

hop-number - Maximum hop number for multiple spanning tree.
(Range: 1-40)

Default Setting

20

Command Mode

MST Configuration

Command Usage

An MSTI region is treated as a single node by the STP and RSTP protocols.
Therefore, the message age for BPDUs inside an MSTI region is never
changed. However, each spanning tree instance within a region, and the
internal spanning tree (IST) that connects these instances use a hop count to
specify the maximum number of bridges that will propagate a BPDU. Each
bridge decrements the hop count by one before passing on the BPDU. When
the hop count reaches zero, the message is dropped.

Example

spanning-tree spanning-disabled

This command disables the spanning tree algorithm for the specified interface. Use
the no form to reenable the spanning tree algorithm for the specified interface.

Syntax

[no] spanning-tree spanning-disabled

Default Setting

Enabled

Command Mode

Interface Configuration (Ethernet, Port Channel)

Example
This example disables the spanning tree algorithm for port 5.

spanning-tree cost

This command configures the spanning tree path cost for the specified interface.
Use the no form to restore the default.

Syntax

spanning-tree cost cost
no spanning-tree cost

Console(config-mstp)#max-hops 30
Console(config-mstp)#

Console(config)#interface ethernet 1/5
Console(config-if)#spanning-tree spanning-disabled
Console(config-if)#