arp -adoesn't show it. How can I get the MAC of it then? (on ex.: from a Linux)
How to get switch MAC address if it's a layer2 one?
networking;mac address
If your switch is a managed switch, then you can use lldpctl from the lldpd package (on Debian/Ubuntu) to know its MAC address.The lldp package is described as follows:lldpd is a 802.1ab implementation (LLDP) to help you locate neighbors of all your equipments.The man page for lldpctl shows how to use it:NAME     lldpctl  control LLDP daemonSYNOPSIS     lldpctl [-d] [-L location] [-P policy] [-O poe] [-o poe] [interface ...]DESCRIPTION     The lldpctl program controls lldpd(8) daemon.     When no specific option is given, lldpctl displays the list of      discovered neighbors along with some of their advertised capabilities.     If some interfaces are given, only those interfaces will be displayed....Referenceslldp websiteAdditional packages for other distros