R
EVISED
2018-09-21
A
PPENDIX
A
D
RAWING
N
O
. LP0991-G
N-Tron
®
Series NT24K
®
Software Manual
A-
123
Appendix
A
Command Line Interface
The Command Line Interface (CLI) can be accessed by connecting a host device to the USB connector on the
switch. Once connected, the switch will appear as a serial connection. A standard terminal application may be used
to communicate to the switch through the serial connection. For serial port settings, see the “USB INTERFACE”
section of the NT24k
®
Series Hardware Manual.
There are two additional methods for connecting to the CLI, Telnet and SSH. Using any standard Telnet client, sim-
ply enter the IP address of the switch to start a connection to the CLI. SSH, the secure alternative to Telnet, can
also be used with any standard SSH client by simply entering the IP address of the switch to start a secure connec-
tion to the CLI.
The CLI contains some status and configuration capability. To interact with the CLI, a login is required. The default
username and password is 'admin'. Once logged in, a listing of available commands can be obtained through the
help interface. This is accessible by typing either “?” or “help?”. The following commands are available:
NT24k CLI Commands
Command
Arguments
Description
?
Show system commands. This command is the same as 'help
commands' which is shown below.
admin
Administration settings, including IP settings and DHCP mode.
admin system set
Set general system settings.
admin system set
contact
<contactname>
The person to contact for system issues, which should be someone
within your organization. Only alphanumeric and special characters '#',
'_', and '-' are allowed.
admin system set
location
<locationname>
The physical location of the switch. Only alphanumeric and special
characters '#', '_', and '-' are allowed.
admin system set name
<switchname>
Contains the name assigned to the device, which allows alphanumeric
and special characters '#', '_', '-', and ':' only. When IP Configuration is
DHCP, this may be used as the Client ID (Option 61) of the DHCP
Request.
admin system set upper
Threshold
<upperThreshold>
- An integer from
-60 to 120.
The highest temperature for the switch without causing a fault to occur.
The threshold is specified as an integer in C degrees. The range is from
-60 C to 120 C, and the default is product dependent (shown only on
switches with temperature sensors).
admin system set lower
Threshold
<lowerThreshold>
- An integer from
-60 to 120.
The lowest temperature for the switch without causing a fault to occur.
The threshold is specified as an integer in C degrees. The range is from
-60 C to 120 C, and the default is product dependent (shown only on
switches with temperature sensors).
admin system show
Show general system information.
admin ip set
Set Internet protocol settings.
admin ip set clientid
<type>
- A client ID type:
[0-switch name,
1-switch MAC,
2-other text,
3-other hex]
<value>
- A string when the type
is 2 or a hex string
when the type is 3.
This option is used by DHCP clients to specify their unique identifier.
DHCP servers use this value to index their database of address
bindings. This value is expected to be unique for all clients in an
administrative domain. The identifier may be the MAC address, switch
name, or entered as a text string or hex characters.
Usage: admin ip set clientid 0
Usage: admin ip set clientid 2 "Switch53"