GSWB

CHAPTER 8 CLI Operations

spanning-tree max-age <seconds>

Resets the maximum aging time to the default value no spanning-treemax-age

(2)Options

z<seconds>

Specifies the maximum aging time (s). The setting range is 6 to 40, and the default value is 20.

(3)Command mode

Global

(4)See also spanning-tree

(5)Examples

Sets the valid time of the spanning tree to 30 s for all instances

Switch(config)# spanning-tree max-age 30

Switch(config)#

(6)Error Messages

% Incomplete command.

Cause: Incomplete command input

Action: Enter the command string correctly.

• % Invalid input detected at '^' marker.

Cause: Invalid character detected at '^' marker in the entered command string

Action: Enter the command string correctly.

Internal communication error.

Cause: An internal error occurred.

8-56

C122-E003-02EN