set protocols spanning-tree mstp max-age


The set protocols spanning-tree mstp max-age command sets the BPDU aging time on the switching device when MSTP is running.


Command Syntax

set protocols spanning-tree mstp max-age <max-age>


Parameter

Parameter

Description

max-age <max-age>

Specifies the BPDU aging time. The value is an integer, in seconds, that ranges from 6 to 40. The default value is 20s.


Usage Guidelines

Max Age is the maximum lifetime of a received BPDU packets. If the BPDUs time out, the switching device ages the BPDUs and blocks the port that receives the BPDUs.

NOTE:

The relationships between the Hello Time, Forward Delay, and Max Age are as follows. The spanning tree functions properly only if the relationships are correctly established. Otherwise, network flapping occurs.

  •   2 x (Forward Delay - 1.0) ≥ Max Age
  •   Max Age ≥ 2 x (Hello Time + 1.0)


Example

  • Set BPDU aging time to 15s when MSTP is running.
admin@Xorplus# set protocols spanning-tree mstp max-age 15
admin@Xorplus# commit


Copyright © 2024 Pica8 Inc. All Rights Reserved.