| |
Command line syntax has remained relatively the same as with prior
releases of Pancho. The tool has no default action, so at the very
minimum one of --upload, --download, --commit or --reload must be
specified on the command line.
A short synopsis of cli flags and their use, is as follows:
--upload/--download
Specified individually, never together these options specify whether
a request will be made for the remote device to send (download) its
configuration to a remote server, or to pull (upload) a config.
--commit
In instances where a device needs to have its current configuration
written to a permanent area such that it will survive a reload.
--start
If a device supports uploading and downloading configuration to and from
its startup configuration area, rather than affecting its current run-
ning configuration.
--reload
Used to request an immediate reset of a device if the option is supported.
--filename
Used to specify an individual file to be sent (uploaded) to a remote
device or group of devices. If unspecified, the filename defaults to
(hostname).cfg or whatever string is specified using the style option.
--host
Used to select an individual node from within the configuration file
to be effected.
--group
Used to select a group of nodes from within the configuration file
based on their 'Group' parameter.
--regex
Select a group of nodes using POSIX regular expressions as criteria
for which are effected.
--path
Specify a path beginning from the tftp root directory where config-
urations should be read or written.
--fork
For large groups of nodes, allow for multiple instances of Pancho to
run simultaneously in an effort to speed up the batch.
--vlan
Used to initiate a transfer of a device's vlan.dat file to or from
the server. A device must be configured with the Vlan config file
option in order for this flag take effect on it.
--config
Specify the configuration file to read from.
--pre
Used to tell Pancho to run the pre command specified in the configuration file
It is also possible to specify the pre command to run after this argument to
override the configuration setting.
--post
Used to tell Pancho to run the post command specified in the configuration file
It is also possible to specify the post command to run after this argument to
override the configuration setting.
--tftpserver
Used to specify an alternative tftp server other than what is specified
within the configuration file or used with --no-configfile
--version
Causes Pancho to return the current version revision.
--help
Returns a short list of command line options.
The following flags were added to provide a way for an external program to easily
invoke Pancho without the need for a configuration file.
--no-configfile
Tells Pancho not to try to read the configuration file.
--snmp-version
Specify the snmp version to use. Defaults to version 1.
--snmp-community
Specify the snmp community string for read-write access.
--snmp-mtu
Specify the snmp mtu size.
--snmp-retry
Specify the snmp retry number.
--snmp-wait
Specify the snmp timeout period.
--snmp-user
Specify the snmp version 3 user.
--snmp-authkey
Specify the snmp version 3 key.
--snmp-authpasswd
Specify the snmp version 3 password.
--snmp-authprotocol
Specify the snmp version 3 hash algorithm to use. This must be either md5 or
sha1.
If you have any remaining questions regarding Pancho, please join the
pancho-discuss mailing list. The list is very low traffic, however has a
large number of subscribers who have real world experience using Pancho.
| |