Directly connected neighbors learn each other's identity and capabilities through the Layer 2 discovery protocols ___,…