
netdisco-do - Run any Netdisco job from the command-line.

~/bin/netdisco-do <action> [-D] [-d <device> [-p <port>] [-e <extra>]]
Regardless of Netdisco configuration, debug level logging is enabled if the -D flag is given.

This program allows you to run any Netdisco poller job from the command-line.
Note that some jobs (discoverall, macwalk, arpwalk) simply add entries to the Netdisco job queue for other jobs, so won't seem to do much when you trigger them.

Run a discover on the device (specified with -d).
Run a macsuck on the device (specified with -d).
Run an arpnip on the device (specified with -d).
Set the SNMP location field on the device (specified with -d). Pass the location string in the -e extra parameter.
Set the SNMP contact field on the device (specified with -d). Pass the contact name in the -e extra parameter.
Set the description on a device port. Requires the -d parameter (device), -p parameter (port), and -e parameter (description).
Set the up/down status on a device port. Requires the -d parameter (device), -p parameter (port), and -e parameter ("up" or "down").
Set the native VLAN on a device port. Requires the -d parameter (device), -p parameter (port), and -e parameter (VLAN number).
Set the PoE on/off status on a device port. Requires the -d parameter (device), -p parameter (port), and -e parameter ("true" or "false").