Seiko NS-2250 Installation manual

Console server
NS-2250
Before using this console server, carefully read this
command reference so you can use the console
server correctly.
After reading this command reference, store it in a
safe place so that it can be accessed easily when
necessary.
Command Reference

U00135011200 2015 Dec
U00135011201 2016 Jun
© Seiko Solutions Inc., 2015
No copying.
The content of this manual may change without notice.
“SEIKO” is a registered trademark of Seiko Holdings Corporation.
Ethernet is a registered trademark of Fuji Xerox Co., Ltd.
Seiko Solutions Inc. is not responsible for damage caused by the use of this manual or products
described in this manual, or expenses necessary to compensate for such damage.
When you dispose of the NS-2250,observe the regulations of local government.For details,
contact your local government.
This equipment has been tested and found to comply with the limits for a Class A digital device,
pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection
against harmful interference when the equipment is operated in a commercial environment. This
equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in
accordance with the instruction manual, may cause harmful interference to radio
communications.Operation of this equipment in a residential area is likely to cause harmful
interference in which case the user will be required to correct the interference at his own expense.

Introduction
Thank you for purchasing the SmartCS NS-2250 console server (hereinafter
referred to as the NS-2250).
This document is the command reference manual for the NS-2250. It
explains the command functions and formats, and the meaning of
parameters. It also gives usage and execution examples, commentaries and
cautionary notes.
The number of serial ports of the NS-2250 depends on the model you are
using. The examples in this manual may state that the serial port
specification is 1-48. Change this value to 1-16, or 1-32 as appropriate for
the model you are using.
Power
Model
Number of serial ports
SmartCS AC power model
NS-2250-16
16 ports
NS-2250-32
32 ports
NS-2250-48
48 ports
DC power model
NS-2250-16D
16 ports
NS-2250-32D
32 ports
NS-2250-48D
48 ports
For the installation and cable connections of the NS-2250, see the NS-2250
SmartCS console server installation manual (hereinafter referred to as the
Installation manual).
For details about the NS-2250 usage and specifications, see the NS-2250
Console server instruction manual (hereinafter referred to as the Instruction
Manual).

Table of contents-1
Table of contents
Chapter 1 Command overview 1-1
1.1 Objects and Commands 1-2
1.2 Object commands overview 1-2
1.3 Object setting sequence 1-3
1.4 List specification 1-4
Chapter 2 Command List 2-1
2.1 Setting commands overview 2-2
2.2 Display commands overview 2-8
2.3 Maintenance commands overview 2-11
2.4 Other commands overview 2-13
Chapter 3 Command reference format 3-1
3.1 Format of the command reference explanation 3-2
Chapter 4 Setting commands 4-1
4.1 System setting commands 4-2
4.2 bonding setting commands 4-6
4.3 IP host setting commands 4-9
4.4 IP route setting commands 4-11
4.5 DNS setting command 4-13
4.6 LAN setting commands 4-17
4.7 User management and authentication setting commands 4-18
4.8 SNMP agent setting commands 4-28
4.9 SNMP trap setting commands 4-40
4.10 SNMP community setting commands 4-43
4.11 Syslog setting commands 4-46
4.12 NFS setting commands 4-51
4.13 SNTP setting commands 4-57
4.14 TTY setting commands 4-62
4.15 logd setting commands 4-64
4.16 portd setting commands 4-83
4.17 Console setting commands 4-100
4.18 Telnetd setting commands 4-101
4.19 sshd setting commands 4-104
4.20 ftpd setting commands 4-109
4.21 Security setting commands 4-111
4.22 Authentication setting commands 4-113
4.23 Accounting setting commands 4-144

Table of contents-2
4.24 terminal output control setting commands 4-159
4.25 Temperature sensor setting commands 4-166
4.26 Time zone setting commands 4-167
Chapter 5
Status and statistics display commands 5-1
5.1 System status display commands 5-2
5.2 Network information display commands 5-11
5.3 User status display commands 5-29
5.4 SNMP status display command 5-32
5.5 SNTP status display command 5-34
5.6 Syslog status display command 5-36
5.7 NFS status display command 5-37
5.8 Port server status display commands 5-39
5.9 CONSOLE port status display command 5-55
5.10 Display command for the internal management servers 5-57
5.11 Display command for the list of hosts and services authorized for
connection 5-59
5.12 Setting file display commands 5-60
5.13 Terminal setting information display command 5-65
5.14 Authentication/accounting function display commands 5-66
5.15 Time zone display command 5-92
Chapter 6 Maintenance commands 6-1
6.1 Basic maintenance commands 6-2
6.2 Management commands for settings files 6-26
6.3 Management command for the system software 6-31
6.4 Console output control commands 6-38
6.5 Terminal output control commands 6-39
Chapter 7 Other commands 7-1
7.1 Port server menu commands 7-2
7.2 Port selection menu commands 7-14


1-1
Chapter 1
Command overview
The chapter 1 describes the command types, and gives an overview of objects and
commands.
Chapter content
1.1 Object and commands
1.2 Object commands overview
1.3 Object setting sequence
1.4 List specification

1-2
1.1 Objects and Commands
The built-in system software of the NS-2250 manages the physical and virtual components
making up the NS-2250 as objects. They are dynamically created, deleted, merged, and
combined to operate the NS-2250.
The command is used for setting to an object, status display and maintenance of this
equipment.
1.2 Object commands overview
This section gives a list of commands to operate the objects used to configure or display the
status of the NS-2250.
Table 1-1 Object command list
Command name Command description
“create” command Create a new object or profile.
“add (to)” command Add an object to another object, or a profile to an object.
“set” command Set attributes to an object.
“unset” command Remove an attribute set to an object.
“enable” command Enable an object (make it usable).
“disable” command Disable an object (make it unusable).
“remove (from)” command Remove an object from another object, or a profile from an object.
“delete” command Delete an existing object.
“show” command Display the status of an object or a profile.
“show stats” command Display the statistical information of an object.

1-3
1.3 Object setting sequence
The correlation between the object commands can be defined as shown in the setting
sequence in figure 1-1.
Figure 1-1 Object setting sequence
Creating an object
(create)
Deleting the object
(delete)
Adding it to another object
(add to)
Removing the object
(remove from)
Changing or removing the object attributes
(set, unset)
Enabling the object
(enable)
Disabling the object
(disable)
Operating
Disabled
Enabled
Disabled

1-4
1.4 List specification
An object and the value are listed by a parameter of the command, it's possible to specify it.
Use method is as follows.
“ - ”
Specify the value which continued.
Usage example : tty 2-4
“ , ”
Specify the value which doesn't continued and the name of the plural.
Usage example : tty 1,3

2-1
Chapter 2
Command List
The chapter 2 describes overview of the command.
Chapter content
2.1 Setting commands overview
2.2 Display commands overview
2.3 Maintenace commands overview
2.4 Other commands overview

2-2
2.1 Setting commands overview
This section gives a list of setting commands that can be used on the NS-2250.
Table 2-1 Setting commands list
Class
Object name
Object description
System
object
set hostname
Configure the NS-2250 host name.
set ipaddr
Set the NS-2250 IP address.
unset ipaddr
Unset the NS-2250 IP address.
set tcpkeepalive
Set the TCP keepalive time for the NS-2250.
Bonding
object
set bonding up_delay Configure the wait timer which is the delay period
enabling slave interface after the detection of
physical linkup.
enable bonding
Enable the bonding function.
disable bonding
Disable the bonding function.
IP Host
object create ip host Register a pair of a host name and an IP address
(host entry).
delete ip host
Delete the host entry.
IP route
object
create ip route
Create a static route to an IP address.
delete ip route
Delete the static route.
DNS object
set dns
Register the DNS server used for name resolution.
set dns localdomain Configure the local domain to which the NS-2250
belongs.
unset dns
Delete the information of a registered DNS server.
unset dns
localdomain
Delete the settings of the local domain to which the
NS-2250 belongs.
LAN port
object
set ether Configure the auto-negotiation operation for the
LAN port.
User object
create user
Create a user.
set user
Change the user password for login.
set user port Configure the port users access privileges for the
serial ports.
set user sshkey Configure the public key for user SSH
authentication.
delete user
Delete a user.
SNMP agent
object
set snmp location
Set sysLocation (system location).
set snmp contact
Set sysContact (contact information).
set snmp authentrap Set whether or not to send a trap when SNMP
authentication failed.
set snmp linktrap
Set whether or not to send link traps.
set snmp tty dsrtrap
Set whether or not to send DSR traps.
set snmp
coldstarttrap
Set whether or not to send cold start traps.
set snmp powertrap
Set whether or not to send power traps.

2-3
set snmp
bondingactswtrap
Set whether or not to send the active port switched
traps.
unset snmp location
Remove sysLocation settings.
unset snmp contact
Remove sysContact settings.
enable snmp
Enable the SNMP agent function.
disable snmp
Disable the SNMP agent function.
SNMP trap
object
set trap manager Set the address of the SNMP server to send the
traps to and the community name used when
sending the traps.
unset trap manager Remove the settings of the destination SNMP
server.
SNMP
community
object
set community name Set the community name and SNMP server that
can use it to access the NS-2250.
unset community Remove the settings of the community name and
SNMP server that can use it to access the NS-
2250.
Syslog object
set syslog host Set the facility and syslog server where to send the
syslog messages.
unset syslog host Remove the settings of the syslog server where to
send the syslog messages.
enable syslog
Enable the syslog client.
disable syslog
Disable the syslog client.
NFS object
set nfs server addr
Set the NFS server where to save the port logs.
set nfs server proto
Set the NFS protocol.
set nfs rotate
Set the rotation interval of the port logs.
unset nfs server addr
Remove the NFS server settings.
enable nfs
Enable the NFS client function.
disable nfs
Disable the NFS client function.
SNTP object
set sntp server
Set NTP servers to which you want to synchronize.
set sntp polltime
Set polling interval to the NTP servers.
unset sntp server
Remove settings of NTP servers.
enable sntp
Enable the SNTP client function.
disable sntp
Disable the SNTP client function.
Tty object set tty Set the operation conditions and operation of the
serial ports.
Logd object
set logd output
Set the port log save destination.
set logd tstamp
Set port log time stamps.
set logd tty log
Set the port log save space for each serial port.
set logd tty lstamp
Set the login stamp function for port logs.
set logd tty syslog
Set whether to send port logs to a syslog server.
set logd tty nfs
Set whether to save port logs to a NFS server.
set logd tty sendlog Set the conditions to send the port logs to an email
or an FTP server.
add logd tty mail Register a destination email address and email
server to send the port logs.
remove logd tty mail Remove the settings for the destination email
address and email server used to send port logs.

2-4
set logd tty mail port
Set SMTP port for the port log emails.
set logd tty mail type Set how the port logs are sent by email (sending
method).
set logd tty mail
subject
Set the email subject for port logs.
set logd tty mail
sender
Set the email address of the sender for port logs.
set logd tty mail auth
Set SMTP authentication for the port log emails.
unset logd tty mail
auth
Remove settings of SMTP authentication for port
log emails.
add logd tty ftp
Register a destination FTP server for port logs.
remove logd tty ftp Remove settings of a destination FTP server for
port logs.
Portd object
set portd connect
Set the connection mode of the port server.
set portd menu
Set the display method of the port server menu.
set portd auth Set whether or not to use port user authentication
when connecting from a Telnet client.
set portd telrw Specify the service port start number for Telnet
Normal mode.
set portd telro Specify the service port start number for Telnet
Monitoring mode.
set portd sshrw Specify the service port start number for SSH
Normal mode.
set portd sshro Specify the service port start number for SSH
Monitoring mode.
set portd tty session Set the authorized protocols and modes for
connection to the serial ports.
set portd tty brk_char
Set the NVT break character.
set portd tty nl Set the conversion method for the line feed format
received from the network.
set portd tty cmdchar Set a substitute character code to go to the port
server menu.
set portd tty label
Set serial port labels.
set portd tty limit
Set a number of sessions for a serial port.
set portd tty timeout Set the timeout function on and off for the port
server menu, Normal mode (rw) sessions, and
Monitoring mode (ro) sessions.
set portd idle_timeout Set a value for the idle timer for the select menu,
port server menu, and Normal mode (rw) sessions.
set portd ro_timeout Set a value for the session timer of Monitoring
mode (ro) sessions.
unset portd tty label
Remove serial port label settings.
enable portd
Enable port server.
disable portd
Disable port server.
Console
object
set console Set the console.
Telnetd
object
set telnetd port
Set the Telnet server port number.
enable telnetd
Enable the Telnet server.

2-5
disable telnetd
Disable the Telnet server.
sshd object
set sshd auth
Set the user authentication type for the SSH server.
set sshd port
Set the SSH server port number.
enable sshd
Enable the SSH server.
disable sshd
Disable the SSH server.
Ftpd object
enable ftpd
Enable the FTP server.
disable ftpd
Disable the FTP server.
Security
object
create allowhost Create a list of hosts and services authorized for
connection.
delete allowhost Delete a list of hosts and services authorized for
connection.
delete allowhost
allentry
Delete a list authorizing connection for all hosts.
Authtication
object
create auth
access_group
Create access groups and serial port access
privileges.
set auth mode
Set the user authentication method.
set auth su_cmd
username
In the RADIUS authentication or TACACS+
authentication/approval function, set the user name
used when executing the “su” command with
external authentication.
set auth radius retry Set the number of times the authentication request
packet is resent to the RADIUS authentication
server.
set auth radius server
addr
Set the IP address of the RADIUS authentication
server.
set auth radius server
port
Set the authentication port number of the RADIUS
authentication server.
set auth radius server
key
Set the secret key of the RADIUS authentication
server.
set auth radius server
timeout
Set the timeout time for the response packet sent
back from the RADIUS authentication server.
set auth radius server
portusr
Set the port user identifier used with RADIUS
authentication.
set auth radius server
normal
Set the normal user identifier used with RADIUS
authentication.
set auth radius server
root
Set the device management user identifier used
with RADIUS authentication.
set auth radius server
nas_id
Register the NAS-ID attribute notified to the
RADIUS authentication server.
set auth radius
def_user
Configure access methods for users for which a
user group cannot be identified.
set auth tacacs
server addr
Set the IP address of the TACACS+ server
(authentication/approval).
set auth tacacs
server key
Set the secret key of the TACACS+ server
(authentication/approval).

2-6
set auth tacacs
server timeout
Set the timeout time for the response packet sent
back from the TACACS+ server
(authentication/approval).
set auth tacacs
def_user
Configure access methods for users for which a
user group cannot be identified when using
TACACS+ authentication and approval.
unset auth radius
server addr
Remove the IP address of the RADIUS
authentication server.
unset auth radius
server portusr
To remove the port user identifier when using
RADIUS authentication.
unset auth radius
server normal
To remove the normal user identifier when using
RADIUS authentication.
unset auth radius
server root
To remove the device management user identifier
when using RADIUS authentication.
unset auth radius
server nas_id
Remove the NAS-ID attribute notified to the
RADIUS authentication server.
unset auth tacacs
server addr
Remove the IP address of the TACACS+ server
(authentication/approval).
delete auth
access_group
Delete access groups and serial port access
privileges.
Accounting
object
set acct mode
Set the saving mode for accounting logs.
set acct radius retry Set the number of times accounting packets are
resent to the RADIUS accounting server.
set acct radius
auth_deny_stop
Set the sending method of accounting STOP
packets when user authentication has failed.
set acct radius server
addr
Set the IP address of the RADIUS accounting
server.
set acct radius server
port
Set the accounting port number of the RADIUS
accounting server.
set acct radius server
key
Set the secret key of the RADIUS accounting
server.
set acct radius server
timeout
Set the timeout time for the response packet sent
back from the RADIUS accounting server.
set acct radius server
nas_id
Register the NAS-ID attribute notified to the
RADIUS accounting server.
set acct tacacs
auth_deny_stop
Set the sending method of accounting STOP
packets when TACACS+ authentication or approval
has failed.
set acct tacacs
server addr
Set the IP address of the TACACS+ server
(accounting).
set acct tacacs
server key
Set the secret key of the TACACS+ server
(accounting).
set acct tacacs
server timeout
Set the timeout time for the response packet sent
back from the TACACS+ server (accounting).
unset acct radius
server addr
Remove the IP address of the RADIUS accounting
server.

2-7
unset acct radius
server nas_id
Remove the NAS-ID attribute notified to the
RADIUS accounting server.
unset acct tacacs
server addr
Remove the IP address of the TACACS+ server
(accounting).
Terminal
output object
set terminal default
editing
Set the default setting for enabling or disabling
terminal line editing.
set terminal default
height
Set the default setting for the number of lines on
one page of the terminal.
set terminal default
width
Set the default setting for the number of characters
on one line of the terminal.
set terminal default
page
Set the default setting for enabling or disabling the
terminal paging function.
set terminal default
prompt
Set the default setting for the display format of the
terminal prompt.
set terminal default
redisp
Set whether or not to redisplay by default the
previously entered command string on the next
prompt screen after a command input error has
occurred.
set terminal default
timeout
Set the default value for the terminal automatic
logout time.
Temperature
object
set temperature
adjust
Set the temperature correction value of the
temperature sensor.
Timezone
object
set timezone Set the time zone.

2-8
2.2 Display commands overview
This section gives a list of display commands that can be used on the NS-2250.
Table 2-2 Display command list
Class
Command
Description
System status show version Display the system hardware configuration,
system software version, boot information, etc.
show
environment
Display the information of power and
Temperature.
show slot Display the USB port information.
show cpu Display the CPU utilization rate.
show memory Display the memory usage rate.
show log Display the console log or the command
execution log.
show support Command used to display support information.
Bonding
information
show bonding Display the bonding information.
Network
information show ether Display information about the NS-2250 LAN port.
show stats ether Display statistical information about the NS-2250
LAN port.
show ip Display the NS-2250 host name and IP address,
and the TCP keepalive time.
show ip host Display a list of the host names and IP addresses
registered to the NS-2250.
show ip route Display the static routes registered to the NS-
2250.
show tcp Display the status of the TCP session.
show udp Display the status of UDP.
show stats ip Display the IP statistical information.
show arp Display the content of ARP entries.
show stats tcp Display TCP statistical information.
show stats udp Display UDP statistical information.
show dns Display the settings of the NS-2250 DNS client
function.
User status show user Display a list of created users.
show user login Display a list of currently logged in users.
SNMP agent status show snmp Display the status of the SNMP agent.
SNTP status show sntp Display the status of the SNTP client.

2-9
Syslog status show syslog Display the status of the syslog client.
NFS status show nfs Display the status of the NFS client function.
Port server status show portd Display the port server status.
show portd tty Display the port server setting for each serial port.
show portd
session
Display the status of port server sessions.
show tty Displays the status of the serial ports.
show stats tty Displays the serial ports statistical information.
show logd Display the port log status of each serial port.
show stats logd
tty
Display the port log statistical information of each
serial port.
Console status show console Display the CONSOLE port status.
show stats
console
Display the CONSOLE port statistical information.
Server status show service Display status of internal management servers.
Security status show allowhost Display a list of hosts and services authorized for
connection.
Config information show config Display the NS-2250 current settings.
show config
startup
Display the content of the startup files.
show config info Display information related to the startup files.
Terminal setting
information
show terminal Display the settings of the used terminal.
Auth/Acct
information show auth Display the user authentication method.
show auth
radius
Display the RADIUS authentication client settings.
show auth
tacacs
Display the settings for TACACS+ authentication
and approval.
show auth
access_group
Display the access group setting information.
show stats auth
radius
Display the statistical information of RADIUS
authentication client.
show stats auth
tacacs
Displays TACACS+ statistical information.
show acct Display the account saving method.
show acct radius Display the RADIUS accounting client settings.
show acct
tacacs
Display the settings for TACACS+ accounting.
show stats acct
radius
Display statistical information of the RADIUS
accounting client.
show stats acct
tacacs
Display statistical information of TACACS+
accounting.

2-10
Timezone
infomation
show timezone Display the NS-2250 time zone and a list of the
time zones that can be set.
Other manuals for NS-2250
5
Table of contents
Other Seiko Network Hardware manuals
Popular Network Hardware manuals by other brands

BEL
BEL LDX-SC12 Installation instruction

Ericsson
Ericsson EDN312 installation guide

NETGEAR
NETGEAR STM150 - ProSecure Web And Email Threat Management... Appliance reference manual

StorageTek
StorageTek FLEXLINE 96126 installation instructions

D-Link
D-Link Nuclias DNH-100 user manual

TCL
TCL LIFE CONNECT quick start guide

Neuralynx
Neuralynx SX Quick start installation manual

Meinberg
Meinberg LANTIME M320/GPS Technical reference

Symantec
Symantec S200 Series Safety and compliance guide

Crestron
Crestron CAEN-CK-7x1 quick start guide

Focusrite
Focusrite REDNET D16 AES user guide

TelcoBridges
TelcoBridges TSBC Series Installation guides