The perl-cli.conf file contains the list of parameters for Perl, Telnet and SSH discovery. The perl-cli.conf file is located at BASEDIR/smarts/conf/<bgp/isis/ospf/eigrp>. Parameters in the perl-cli.conf file describes the parameters in the perl-cli.conf file.

Note:

For any entry in the perl-cli.conf file, do not enclose the name or value in quotes, and do not punctuate the entry with commas, semicolons, or periods.

Table 1. Parameters in the perl-cli.conf file

Parameter

Value

Description

ip_versions

The values can be:

  • v4 — To use IPv4 addresses only.

  • v6—To use IPv6 addresses only.

  • v4v6—To use IPv4 addresses first, and then IPv6 addresses. (Default)

  • v6v4—To use IPv6 addresses first, and then use IPv4 addresses.

  • any—To use any type of IP address.

Determines what type of IP address to use when establishing the CLI connection between the NPM server and the device.

Note:

The CLI connection is Perl-based, and not DASL based.

timeout

Default: 10 seconds

This is the timeout for establishing the connection from NPM server to the device.

get_timeout

Default: 0.1 seconds

Determines the time to fetch the information from the device through CLI.

read_timeout

Default: 0.1 seconds

Determines the time to read the information from the device through CLI.

debug

Default: 0

  • 1—Enables debugging

  • 0—Disables debugging

Determines the generation of CLI log files in the NPM server log directory.

ssh_client

Default location: /usr/bin/ssh

Specifies the location of the SSH client in your system.