Hi,
Would this give you what you need...
ovtopodump -l "hostname"|grep PHYSICAL|awk {'print $3'}
Regs
Colin M.
-----Original Message-----
From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com]
On Behalf Of Jeff Fitzwater
Sent: 18 May 2006 21:34
To: netview-list
Subject: [nv-l] Host linng address
Does anybody know how I can extract just the LINK address of a host
IP from the NV database, without any other info or header text? I
need just the mac address of a node for a test I need to run but do not
want to query the host itself.
So far the simplest is using the command ovtopodump -L "hostname" but it
also returns other info and column names.
Thanks for any help.
Jeff Fitzwater
OIT Network Systems
Princeton Univesity
*********************************************************************************
This e-mail and its attachments, is confidential and is intended for the
addressee(s) only. If you are not the intended recipient, disclosure,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. Please note that any information expressed in this message or its
attachments is not given or endorsed by An Post unless otherwise indicated by
an authorised representative independently of this message. An Post does not
accept responsibility for the contents of this message and although it has been
scanned for viruses An Post will not accept responsibility for any damage
caused as a result of a virus being passed on.
*********************************************************************************
|