Date: Wed, 30 Mar 2016 01:23:08 +0300 From: Sami Halabi <sodynet1@gmail.com> To: Pallav Bose <pallav_bose@yahoo.com> Cc: freebsd-net@freebsd.org Subject: Re: Identify physical port given a network interface name on Dell PowerEdge servers? Message-ID: <CAEW%2BogYQd9mMGTgAf_55nPhh3sdPv9DB%2B%2BeX486KoUKVzxpUyQ@mail.gmail.com> In-Reply-To: <1143344414.2163848.1459287753408.JavaMail.yahoo@mail.yahoo.com> References: <1143344414.2163848.1459287753408.JavaMail.yahoo.ref@mail.yahoo.com> <1143344414.2163848.1459287753408.JavaMail.yahoo@mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I'm not aware of any. but if you identify once you can set description to the interface so building a script based on it would be easy. Sami =D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A 30 =D7=91=D7=9E=D7=A8=D7=A5 2016 12:48= AM,=E2=80=8F "Pallav Bose via freebsd-net" < freebsd-net@freebsd.org> =D7=9B=D7=AA=D7=91: > Hello, > Is there a way for me to identify which physical port corresponds to a > given interface name? For example, the input to my script/program is the > network interface name, like bge0/ix0, and the output is the physical por= t > which maps to this interface, like, LOM1/LOM2 or NIC1 port 1 (in case a N= IC > card is attached via the PCI bus). This program/script will run on a Dell > PowerEdge server. > > LOM stands for LAN On Motherboard. > Regards, > Pallav > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEW%2BogYQd9mMGTgAf_55nPhh3sdPv9DB%2B%2BeX486KoUKVzxpUyQ>