أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
arp, cdp, mac-add-table. That is enough to explain.
if it is Juniper it will learn the neighbout details through LLDP and CDP in case of CISCO. On the same case for interface details it will verify the MAC table if it is L2 or ARP entries if it is L3.
As the traffic starts flowing through the switch, it starts building an ARP table, which binds the MAC address to the IP address.
Thus a network engineer can build down to finding which device is connected to which port. The MAC's indentified can further be used if port security needs to be implemented.