Managing NerveCenter
-
Controlling NerveCenter from the Command Line - ipsweep -
ipsweep [-d] [-trace] [-f excludefile] [-m mapfile] [-w mapfile]
[-notraps] [-t timedelay] [-ttl hops] | [-h]
Discovers network devices on the subnets managed with NerveCenter. Ipsweep pings IP addresses according to filters set in the NerveCenter Administrator. If no filters are defined, ipsweep does not ping any IP addresses. If ipsweep receives a response from an IP address, ipsweep sends a SNMP v1 trap to NerveCenter. You must configure NerveCenter to automatically add nodes if a trap is received in order to update your node list. For more information about configuring NerveCenter to work with ipsweep, see Managing NerveCenter and Designing and Managing Behavior Models.
The NerveCenter Server must be running to use ipsweep.
-d
Specifies debug mode and outputs verbose debug messages to the console.
-trace
Specifies trace mode and outputs status messages to the console.
-f excludefile
Specifies a file that contains a list of IP addresses for ipsweep to ignore.
-m mapfile
Specifies a map file that contains node information about the network.
IP Filters must still be configured in the NerveCenter Administrator's IP Filters page for each subnet that is discovered. The map file uses the subnet and mask value to match an existing pair in the IP Filters page. The Map file does not specify which subnets to discover. It just specifies the read community string used for a subnet if it is discovered.
-w mapfile
Writes a text file containing the read community string used for discovered subnets. You can then edit this file and use with -m
.
-notraps
Specifies that no SNMPv1 Traps are sent. Useful with -d
and -trace
for debugging behavior without causing unnecessary notifications.
-t timedelay
ICMP timeout interval. timedelay is a value in milliseconds (default is 20 milliseconds).
-ttl hops
Specifies the time to live (TTL) value for IPSweep, where the valid value is between 0 and 255 hops. The default value for -ttl
is: 255 hops (128 for Windows 2000).
-h
Provides command line help for ipsweep.
Ipsweep can read an exclude file specified by the -f switch. This exclude file is parsed as follows:
.
), where each octet is in the range 0 (zero) to 255 inclusive.
#
or ;
, to comment your exclude file, for example:
# Private QA Router
168.192.13.194
# Printer
168.192.1.44
On startup, ipsweep can read a map file specified by the -m
switch. This map file contains a table as follows:
Default DefaultReadCommunity
Subnet1/Mask1 ReadCommunity1
SubnetN/MaskN ReadCommunityN
The first line should be the `Default
DefaultReadCommunity' line. A single blank separates the word Default
and the community string. Each of the lines following the Default line will be in the format specified above. These lines will be a Subnet immediately followed by a slash ("/") immediately followed by the Mask. The "Subnet/Mask" is followed by a single blank and then the community string, for example:
192.168.1.0/255.255.255.0 private
installdb | mibcomp |
29 July 2003 |