Debian Codegraph @

docs/snippets/anta_debug_runcmd_help.txt

raw
1 $ anta debug run-cmd --help
2 Usage: anta debug run-cmd [OPTIONS]
3
4 Run arbitrary command to an ANTA device.
5
6 Options:
7 -u, --username TEXT Username to connect to EOS [env var:
8 ANTA_USERNAME; required]
9 -p, --password TEXT Password to connect to EOS that must be
10 provided. It can be prompted using '--
11 prompt' option. [env var: ANTA_PASSWORD]
12 --enable-password TEXT Password to access EOS Privileged EXEC mode.
13 It can be prompted using '--prompt' option.
14 Requires '--enable' option. [env var:
15 ANTA_ENABLE_PASSWORD]
16 --enable Some commands may require EOS Privileged
17 EXEC mode. This option tries to access this
18 mode before sending a command to the device.
19 [env var: ANTA_ENABLE]
20 -P, --prompt Prompt for passwords if they are not
21 provided. [env var: ANTA_PROMPT]
22 --timeout FLOAT Global API timeout. This value will be used
23 for all devices. [env var: ANTA_TIMEOUT;
24 default: 30.0]
25 --insecure Disable SSH Host Key validation. [env var:
26 ANTA_INSECURE]
27 --disable-cache Disable cache globally. [env var:
28 ANTA_DISABLE_CACHE]
29 --use-session-auth / --no-session-auth
30 Enable or explicitly disable eAPI session
31 authentication globally. When unset, per-
32 device inventory values apply. [env var:
33 ANTA_USE_SESSION_AUTH]
34 -i, --inventory FILE Path to the inventory YAML file. [env var:
35 ANTA_INVENTORY; required]
36 --inventory-format [yaml|json] Format of the inventory file, either 'yaml'
37 or 'json' [env var: ANTA_INVENTORY_FORMAT]
38 --ofmt [json|text] EOS eAPI format to use. can be text or json
39 -v, --version [1|latest] EOS eAPI version
40 -r, --revision INTEGER eAPI command revision
41 -d, --device TEXT Device from inventory to use [required]
42 -c, --command TEXT Command to run [required]
43 --help Show this message and exit.