Spanning tree protocol cli commands – Avaya P332G-ML User Manual

Page 81

Advertising
background image

Chapter 11

Avaya P330 Layer 2 Features

Avaya P332G-ML User’s Guide

67

The 802.1w standard defines differently the default path cost for a port
compared to STP (802.1d). In order to avoid network topology change when
migrating to RSTP, the STP path cost is preserved when changing the spanning
tree version to RSTP. You can use the default RSTP port cost by using the CLI
command set port spantree cost auto.

Spanning Tree Protocol CLI Commands

The following table contains a list of CLI commands for the Spanning Tree feature.
The rules of syntax and output examples are all set out in detail in the Reference
Guide
.

Table 11.3

Spanning Tree Protocol CLI Commandss

In order to...

Use the following command...

Enable/Disable the spanning tree
application for the switch

set spantree

Set the bridge priority for spanning
tree

set spantree priority

Set the RSTP bridge spanning tree
max-age parameter

set spantree max-age

Set the RSTP bridge hello-time
parameter

set spantree hello-time

Set the RSTP bridge forward-delay
time prameter

set spantree forward-delay

Select between STP operation or
RSTP switch operation

set spantree version

Display the bridge and per-port
spanning tree information

show spantree

Set the TX hold count for the STA

set spantree priority

Add a port to the spanning tree
application

set port spantree enable

Remove a port from the spanning
tree application

set port spantree disable

Set the port spantree priority level

set port spantree priority

Set the cost of a port

set port spantree cost

Advertising