Seiko SmartCS NS-2250 Command Reference 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 st atus 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
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 utili zat i on rat e. 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 cont ent 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 t he st atus 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.
2-11
2.3 Maintenance commands overview
This section gives a list of maintenance commands that can be used on the NS-2250.
Table 2-3 Maintenance command list
Class
Command
Description
Basic maintenance commands
date Set the NS-2250 date and time. engineering Switch the NS-2250 operating mode to
engineering mode.
exit This command is alias of logout. logout Log out from the NS-2250. ping
Check the communication with a connected host on an IP network.
reboot Reboot the NS-2250. shutdown Shut down the NS-2250. su Log in as a device management user. telnet Log in to a connected host via a Telnet client. trace Perform tracing of the packets sent and received
by the NS-2250 for each protocol.
traceroute Examine the information of the route to the
specified host.
switch bonding Switch the act ive port. hangup Reset the service of a specific serial port. history Display the command execution history. logsave Save the port logs of serial ports. loginfo Display a list of port log files saved in a FLASH
memory, and the used and free space.
clear arp Delete all dynamic ARP ent ries. trace Perform tracing of the packets sent and received
by the NS-2250 for each protocol.
disconnect Disconnect the TCP session connected to the
specified service.
tftp setup Send and receive the startup files by TFTP. tftp verup Send and receive the upgrade files for system by
TFTP.
tftp log Send the log files by TFTP. tftp support Send the supportlog files by TFTP. ftp Send and receive the startup files , upgrade fi l es,
logfiles and support files by FTP.
2-12
Management commands for settings files
write Save the NS-2250 current settings in a startup file. clear startup Return the startup file to the default settings. default startup Specify the startup file to be imported at startup. copy startup Copy a startup file.
echo Display the character string at startup.
Management command for the system software
copy system Copy the system software image. verup execute Upgrade or downgrade the system software using
a file sent via FTP.
verup cleanup Delete the system sof tware upgrade or downgrade
file sent via FTP.
backup system-
image
Create the system software image.
restore system-
image
Restore the system software image.
clear system-
image
Remove the system software image.
show system-
image
Display the system software image.
Console output
control commands
console Control the output of console messages.
Terminal output control commands
terminal
timeout
Set the terminal automatic logout time.
terminal editing Enable or disable the terminal line editing function. terminal page Enable or disable the terminal paging function. terminal height Specify the number of lines per page of the
terminal.
terminal width Specify the number of characters per line of the
terminal.
terminal prompt Specify the display format of the terminal prompt. terminal redisp Specify whether or not to display the previously
entered command string again after a command
input error has occurred.
2-13
2.4 Other commands overview
This section gives a list of port server menu and port selection menu commands that can be used on the NS-2250.
Table 2-4 List of port server menu commands
Class
Command
Description
Port server menu commands
0
return Port Select Menu
Return to port selection menu. This menu appears only when
Select mode is selected. It does not appear when Direct mode is
selected.
1 display Port Log
Display the port logs of the currently connected serial ports.
2 display Port Log (LAST)
Display approximately the last 5000 characters in the port logs of
the currently connected serial ports.
3 start tty connection
Switch the session of the currently connected serial port to
communication mode, and then connect to the monitored
equipment.
4 close telnet/ssh session
Close the currently connected Telnet/SSH session.
5 show all commands
Display all the port server menu commands.
The same content is displayed when a “?” or tab is entered.
6 display & erase Port Log
Display and delete the port logs of the currently connected serial
ports.
7 erase Port Log
Delete the port logs of the currently connected serial ports.
8 send Port Log
Send the port logs of the currently connected serial ports to an
email address/FTP server configured in advance.
9 show Port Log configuration
Display the port log settings of the currently connected serial
ports.
10 send break to tty
Send a break signal to the currently connected serial ports.
2-14
Table 2-5 List of port selection menu commands
Class Command Description
Port selection menu commands
<ttyno> Connect to the specified serial ports in Normal mode. <ttyno>r Connect to the specified serial ports in Monitoring
mode.
l Refresh the list of ports to which connection is
possible.
l<ttyno>-<ttyno> Refresh the specified range of ports from list of ports
to which connection is possible.
d Refresh detailed information of the user connected to
the serial port.
d<ttyno>-<ttyno> Refresh detailed inform ation of the user connected to
a range serial ports.
h/?/<TAB> Out put the help section for commands that can be
entered in the port selection menu. The same content
is displayed when a “?” or tab is entered.
e Close the port selection menu and disconnect the
Telnet/SSH session.
3-1
Chapter 3
Command reference format
The chapter 3 describes the format used in this command reference.
Chapter content
3.1 Format of the command reference explanation
3-2
3.1 Format of the command reference explanation
The commands in this reference manual are explained by class and by object following the format described below.
Command name
[Users who can use the command/Mode in which the command is available]
Function The command function is explained here.
Format
The command input format is described here.
command param1 param2 { param3a | param3b } [ param4 param5 ]
The strings in bold are the command or parameter strings to be entered as
they are.
The strings in italic are parameters that can be replaced by a string of your
choosing.
{ } enclose multiple parameters separated by the character | from which
one must be chosen.
[ ] enclose parameters that can be omitted.
Parameters The types and functions of the parameters are explained here.
Usage example A usage example of the command is given here.
Execution example An example of the command execution is given here.
Explanation Detailed explanations about the command options, the content of the
displayed messages, and other useful information are given here.
Note Cautionary notes on using the command are given here.
[Users who can use the command/Mode in which the command is available] shows the users with the privilege required to use the command and the modes in which the command can be used. One or several of the following four types of users and modes are specified for each command.
[Normal user] : A normal user [Administrator] : A device management user [Port user] : A user who can access the NS-2250 serial ports.
[Required version] shows the system software version in which the command has been added.
4-1
Chapter 4
Setting commands
The chapter 4 describes the setting commands that can be used on the NS-2250.
Chapter content
4.1 System setting commands
4.2 Bonding setting commands
4.3 IP host setting commands
4.4 IP route setting commands
4.5 DNS setting commands
4.6 LAN setting commands
4.7 User management/authentication setting commands
4.8 SNMP agent setting commands
4.9 SNMP trap setting commands
4.10 SNMP community setting commands
4.11 Syslog setting commands
4.12 NFS setting commands
4.13 SNTP setting commands
4.14 TTY setting commands
4.15 logd setting commands
4.16 portd server setting commands
4.17 Console setting commands
4.18 Telnetd setting commands
4.19 sshd setting commands
4.20 ftpd setting commands
4.21 Security setting commands
4.22 Authentication setting commands
4.23 Accounting setting commands
4.24 Terminal output setting commands
4.25 Temperature sensor setting commands
4.26 Time zone setting commands
4-2
4.1 System setting commands
Commands used to configure the host name, IP address, netmask, and other objects defining the NS-2250.
set hostname [Administrator]
Function Configure the NS-2250 host name.
Format
set hostname name
Parameters name Specify the host name of the NS-2250. In the host name, you can use half-width alphanumeric characters,
underbars “_”, hyphens “-”, and periods “.”. Note that the first and last characters of the character string must be alphanumeric characters. Furthermore, a hyphen, period, or underbar cannot be used before or after a period.
The maximum number of characters that can be set for a host name is
64.
The default setting for this parameter in the startup file is “NS-2250”.
Usage example To set “SmartCS” as the NS-2250 host name. set hostname SmartCS
4-3
set ipaddr [Administrator]
Function Set the NS-2250 IP address.
Format
set ipaddr [{eth1 | eth2 | bond1}] ipaddr/mask
Parameters [{eth1 | eth2 | bond1}] Specify the interface of the NS-2250. The default setting for this parameter is eth1.
ipaddr/mask Specify the network address of the NS-2250 as IP address/prefix size. The IP address must be specified in the dot-decimal notation
(xxx.xxx.xxx.xxx). If the prefix size is omitted, the setting is made according to the class. The default setting for this parameter in the startup file is
“192.168.0.1/24”.
Usage example To set the 192.168.1.1 as the NS-2250 IP address with a prefix size of 24. set ipaddr eth1 192.168.1.1/24
Note The registered static routes are deleted if you change the IP address of the
NS-2250. It is recommend to operate from the console terminal or from a terminal on the same segment as the NS-2250 to change the IP address of the NS-2250.
4-4
unset ipaddr [Administrator]
Function Unset the NS-2250 IP address.
Format
unset ipaddr [{eth1 | eth2 | bond1}]
Parameters [{eth1 | eth2 | bond1}] Specify the interface of the NS-2250. The default setting for this parameter is eth1.
Usage example Unset the 192.168.1.1 as the NS-2250 IP address unset ipaddr eth1
Note The registered static routes are deleted if you change the IP address of the
NS-2250. It is recommend to operate from the console terminal or from a terminal on the same segment as the NS-2250 to change the IP address of the NS-2250.
When the bonding function is enabled, eth1 and eth2 interface designation is
error.
When the bonding function is disabled, bond1 interface designation is error.
When the bonding function is disabled, the default setting for this parameter is
eth1.
When the bonding function is enabled, the default setting for this parameter is
bond1.
Loading...
+ 325 hidden pages