nv-l

Re: [nv-l] Loadhosts?

2003-09-03 04:20:46
Subject: Re: [nv-l] Loadhosts?
From: "John M Gatrell" <John.Gatrell AT uk.ibm DOT com>
To: "Netview List" <nv-l AT lists.tivoli DOT com>
Date: Wed, 3 Sep 2003 09:20:13 +0100

Try using the -m parameter to loadhosts

I use a script containing several loadhosts with different subnet masks
something like

loadhosts -a -p -m 255.255.252.0 <<EOF
10.14.1.1     Server1.mydomain.com
10.14.1.2     Server2.mydomain.com
EOF
loadhosts -a -p -m 255.255.255.0 <<EOF
10.15.1.1     ServerX.mydomain.com
EOF

John Gatrell, B.A. Physics, CCNA
RMSC - IBM UK's Remote Managed Services Centre
Tel:  0870-010-6284 Internal 814732
<Prev in Thread] Current Thread [Next in Thread>