beautypg.com

Spanning-tree max-hops – Allied Telesis AT-DC2552XS User Manual

Page 369

background image

AT-DC2552SX Switch Command Line Interface User’s Guide

Section II: Layer 2 Switching

369

SPANNING-TREE MAX-HOPS

Syntax

spanning-tree max-hops

maxage

Parameter

maxage

Specifies the maximum number of hops. The range is 1 to 40 hops.
The default is 20 hops.

Mode

Global Configuration mode

Description

Use this command to set the maximum number of hops that BPDUs can
be forwarded to.

Note

This command is applicable only when MSTP is enabled.

To restore the default 20 hops, use the NO SPANNING-TREE MAX-
HOPS command.

Confirmation Command

“SHOW SPANNING-TREE” on page 344

Example

This example sets the maximum number of hops to 40 hops:

awplus> enable
awplus# configure terminal
awplus(config)# spanning-tree max-hops 40