nv-l

RE: [nv-l] Host linng address

2006-05-18 17:00:49
Subject: RE: [nv-l] Host linng address
From: "Colin Mulkerrins" <Colin.Mulkerrins AT anpost DOT ie>
To: <nv-l AT lists.us.ibm DOT com>
Date: Thu, 18 May 2006 22:00:38 +0100
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 AT lists.us.ibm DOT com [mailto:owner-nv-l AT lists.us.ibm DOT 
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.
*********************************************************************************



<Prev in Thread] Current Thread [Next in Thread>