The set protocols spanning-tree pvst vlan max-age command sets the BPDU aging time on the switching device when Rapid-PVST+ is running.
set protocols spanning-tree pvst vlan <vlan-id> max-age <max-age>
Specifies the VLAN ID. The value is an integer that ranges from 1 to 4094.
Specifies the BPDU aging time. The value is an integer, in seconds, that ranges from 6 to 40. The default value is 20s.
Max Age is the maximum lifetime of the BPDU packets. If the received BPDUs time out, the switching device ages the BPDUs and blocks the port that receives the BPDUs.
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.
- Set BPDU aging time to 15s when Rapid-PVST+ is running.
admin@Xorplus# set protocols spanning-tree pvst vlan 5 max-age 15 admin@Xorplus# commit