Menu

#19 sawhois host name lookup

open
nobody
None
5
2010-09-30
2010-09-30
Anonymous
No

combine host name lookup into sawhois.pl -rem, currently this is a two step process where the host name is looked up in the same CSV files which are used by sawhois.pl in the next step:

$ awk -F\; '$2~/host/' *-alias.csv
CFG_1;host_fcs1;10:00:00:00:xx:yy:zz:a4;EC_SPA0_host_fcs1 EC_SPB1_host_fcs1
FE2;host_fcs0;10:00:00:00:xx:yy:zz:66;EC_SPA1_host_fcs0 EC_SPB0_host_fcs0

$ ./sawhois.pl -wwn 10:00:00:00:xx:yy:zz:66 -del
... etc

Discussion

MongoDB Logo MongoDB