- connection connector <WORD>
Change the default connector used for this device, profile or
global setup. The new connector must be located in the
src/metadata folder in the NED package, where also the README
file is located for more information on configuring connectors.
Default 'ned-connector-default.json'
- connection number-of-retries <0-255> (default 0)
Configure max number of extra retries the NED will try to connect to the device before giving
up.
- connection time-between-retry <1-255> (default 1)
Configure the time in seconds the NED will wait between each connect retry.
- connection prompt-timeout <0|1000-1000000> (default 0)
This ned-setting can be used to configure a timeout in the
connection process which can be used to wake the device if the
device requires additional newlines to be sent before proceeding.
- connection send-login-newline <true|false> (default false)
This ned-setting is used to send an initial newline in the login phase
in order to wake the device. This can be usable, for example, if the
banner config on the device causes the login code to miss a prompt.
- connection prefer-platform-serial-number <true|false> (default true)
Set to false if the NED should not report the serial-number from devices device platform, i.e.
always call show inventory|diag when NED connects to the device.
- connection serial-number-method <enum> (default auto)
If prefer-platform-serial-number is set to false or the serial-number
is not set in 'devices device platform yet', this option controls how
it is retrieved from device. Five config options are available:
disabled - Do not attempt to retrieve serial number from device.
diag - Only use '[admin] show diag [chassis]'.
inventory - Only use 'show inventory'.
prefer-diag - First try '[admin] show diag [chassis]' then 'show inventory'.
prefer-inventory - First try 'show inventory' then '[admin] show diag [chassis]'.
auto - prefer-inventory for 'cisco CRS' and 'cisco NCS', else prefer-diag.
- connection platform-model-regex <WORD>
Change the regex used to extract the device model name at connect.
The default regex is "\ncisco (.+?) (?:Series |\\().*"
- connection admin name <string>
Specify device admin name used to list and modify admin mode config.
- connection admin password <string>
Specify device admin password used to list and modify admin mode config.
- connection terminal width <uint32> (default 200)
Terminal width reported by SSH/TELNET upon connect.
- connection terminal height <uint32> (default 24)
Terminal height reported by SSH/TELNET upon connect.
- connection terminal println-mode <enum> (default default)
This setting controls how the NED feeds lines, i.e. whether to
send carriage return and/or newline. Typically you may only need
to modify this setting if you are connecting to the device via a
terminal server. Four different methods are supported:
default - System property line.separator default.
ocrnl - Translate carriage return to newline.
onocr - Translate newline to carriage return-newline.
onlret - Newline performs a carriage return.
- connection ssh client <enum>
Configure which SSH client to use. Default is sshj.
default - default.
sshj - The new SSH client with support for the latest crypto features (default after NSO
version 5.6).
ganymed - The legacy SSH client (used on all NSO version older than 5.6).
- connection ssh host-key known-hosts-file <string>
Path to openssh formatted 'known_hosts' file containing valid host keys.
- connection ssh host-key public-key-file <string>
Path to openssh formatted public (.pub) host key file.
- connection ssh auth-key private-key-file <string>
Path to openssh formatted private key file.
- connection ssh keep-alive-interval <seconds> (default 0)
Configure SSH client keep alive interval in seconds, default 0 (i.e. no keep-alive). The
keep-alive is implemented in the client by sending an ssh 'ignore' message on the given
interval.
- connection ssh sshj-force-legacy-sftp <true|false> (default true)
When using the default ssh client (sshj), certain servers announce a faulty sftp protocol
version causing the sshj client to fail file transfers.
- connection populate-smart-license <true|false> (default false)
Enable or disable population of smart license information.