Description of perl-cli-conf.pl
The perl-cli-conf.pl file contains
configuration parameters that you edit to select the remote-access method for CLI discovery and LSP ping. Because perl-cli-conf.pl is a Perl file, you must enclose all strings within double quotes (““), and you must terminate each line with a semicolon
(;).
Use the parameters in this file to select one of two independent CLI remote-access packages that are available to the
MPLS Topology Server
. The one package supports
both the SSH and Telnet protocol, while the other supports only Telnet.One of the parameters in the perl-cli-conf.pl file is commented-out. When changing the default value for a commented-out parameter, ensure that
you also remove its # character.
Parameters in the perl-cli-conf.pl file describes
the parameters in the perl-cli-conf.pl file. The parameters and their values are case-sensitive.
Parameter | Value | Description |
|---|---|---|
$sshCmdPath | Regular expression Default: "/bin/ssh"; | Used to
specify the full path to the customer-installed SSH client software for the SSH-Telnet CLI package. By default, that location is “/bin/ssh”; . Chapter 7, “Configuring SSH or Telnet Remote Access,” clarifies the use of this parameter. |
$telnetCmdPath | Regular expression Default: undef; | Used for two purposes:
The default, undef; , selects the Telnet client in the Telnet CLI package. That package contains its own Telnet client software. Chapter 7, “Configuring SSH or Telnet Remote Access,” clarifies the use of this parameter. |
#$vars{"debug"} | Regular expression Default: 0; | Used to enable or disable debug tracing of the login process for CLI discovery or LSP ping. By default, debug tracing is disabled. The following setting (any nonzero value) enables
debug tracing: $vars{"debug"} = 1; A zero value disables debug tracing. The debug trace information is saved to a CLI log file. The trace lines are prefixed by “#” for visual separation. Because
trace lines can introduce parsing errors, ordinarily you should not enable CLI login debug tracing. |
Several other parameters appear in the perl-cli-conf.pl file. Because those
parameters are intended for field engineers who want to test local enhancements, they are not listed in Table 5.