1

What is the exact difference between these two values in RSTP and what values it can hold. How is the switch's behavior changes as these values are changed.

1
  • Did any answer help you? if so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer.
    – Ron Maupin
    Aug 7, 2017 at 22:40

2 Answers 2

2

The Message Age field in STP is similar to a TTL field in IP packet and is supposed to

—prevent BPDUs being forwarded between STP-aware switches endlessly —define a maximum lifetime for a particular BPDU to prevent processing old and possibly outdated information

The Message Age is set to 0 at the root bridge. Every other non-root switch will increase the Message Age field by one in the received BPDU when relaying it via its own ports. Moreover, on each non-root switch, the BPDU itself will age out in (Max Age - Message Age). This makes sure that the more hops this BPDU has traversed from the root, the sooner it will expire.

2

Message age - Root Bridge sends out BPDU with message age as 0. And the receiving subsequent non-root bridges adds the value 1 to it. Effectively, this values says how far a bridge is from the root bridge. It is not a fixed value.

Max age - If 3x hello packets (which is sent out every 2s) are missed, a bridge waits for the configured max age time (default 20s) to conclude link failure to root bridge and initiates topology re-convergence.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.