HSRP Message Op Codes

Hot Standby Router Protocol (HSRP) is an FHRP that uses specific messages to communicate between the redundant gateways. The messages are defined using specific Op codes that appear in the Op Code field of the data portion of the UDP datagram used for communication.

These Op Codes are defined like so:

Op CodeNameDescription
0HelloSent periodically by active and standby routers to indicate they are operational.
1CoupSent by a router that wants to take over as the active router.
2ResignSent by the active router to relinquish its role, allowing the standby router to take over.
3AdvertiseUsed in HSRP version 2 for additional message advertisement purposes.

Op Codes 0 through 3 are defined in RFC 2281 which describes HSRP, while Op Code 3 is used in HSRPv2.

https://networklessons.com/cisco/ccie-routing-switching/hsrp-hot-standby-routing-protocol

https://networklessons.com/cisco/ccie-routing-switching/introduction-gateway-redundancy

https://datatracker.ietf.org/doc/html/rfc2281

Links to this page: