Is There a Layer 2 Address Advertising Protocol?

cdplayer2layer3lldpmac address

I needed help in understanding if LLDP/CDP is the Layer 2 equivalent to RIP or say any Layer 3 route advertising protocol. If not,is there a protocol that advertises the MAC Address Tables among switches?

Best Answer

LLDP is not a layer 2 equivalent of RIP.

RIP is a routing protocol, advertising routes between routers.

LLDP is a device discovery protocol, so neighboring devices can learn about each other.

Switches make their forwarding decisions independently, so there is no need to advertise MAC address tables between them.