Seiko SmartCS NS-2250 Command Reference Manual
Seiko SmartCS NS-2250 Command Reference Manual

Seiko SmartCS NS-2250 Command Reference Manual

Hide thumbs Also See for SmartCS NS-2250:
Table of Contents

Advertisement

Command Reference

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.

Console server

NS-2250

Advertisement

Table of Contents
loading

Summary of Contents for Seiko SmartCS NS-2250

  • Page 1: Command Reference

    Command Reference 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.
  • Page 2 “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.
  • Page 3 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.
  • Page 4: Table Of Contents

    Table of contents Chapter 1 Command overview Objects and Commands Object commands overview Object setting sequence List specification Chapter 2 Command List Setting commands overview Display commands overview Maintenance commands overview 2-11 Other commands overview 2-13 Chapter 3 Command reference format Format of the command reference explanation Chapter 4 Setting commands...
  • Page 5 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 System status display commands Network information display commands 5-11 User status display commands 5-29 SNMP status display command 5-32 SNTP status display command...
  • Page 7: Command Overview

    Chapter 1 Command overview The chapter 1 describes the command types, and gives an overview of objects and commands. Chapter content Object and commands Object commands overview Object setting sequence List specification...
  • Page 8: Objects And Commands

    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.
  • Page 9: Object Setting Sequence

    1.3 Object setting sequence The correlation between the object commands can be defined as shown in the setting sequence in figure 1-1. Creating an object (create) Adding it to another object (add to) Disabled Changing or removing the object attributes (set, unset) Enabling the object (enable)
  • Page 10: List Specification

    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.
  • Page 11: Command List

    Chapter 2 Command List The chapter 2 describes overview of the command. Chapter content Setting commands overview Display commands overview Maintenace commands overview Other commands overview...
  • Page 12: Setting Commands Overview

    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 Configure the NS-2250 host name. set hostname set ipaddr Set the NS-2250 IP address. System object Unset the NS-2250 IP address.
  • Page 13 set snmp Set whether or not to send the active port switched traps. bondingactswtrap Remove sysLocation settings. unset snmp location unset snmp contact Remove sysContact settings. enable snmp Enable the SNMP agent function. disable snmp Disable the SNMP agent function. Set the address of the SNMP server to send the set trap manager traps to and the community name used when...
  • Page 14 Set SMTP port for the port log emails. set logd tty mail port Set how the port logs are sent by email (sending set logd tty mail type method). set logd tty mail Set the email subject for port logs. subject set logd tty mail Set the email address of the sender for port logs.
  • Page 15 Disable the Telnet server. disable telnetd Set the user authentication type for the SSH server. set sshd auth set sshd port Set the SSH server port number. sshd object enable sshd Enable the SSH server. disable sshd Disable the SSH server. Enable the FTP server.
  • Page 16 Set the timeout time for the response packet sent set auth tacacs back from the TACACS+ server server timeout (authentication/approval). Configure access methods for users for which a set auth tacacs user group cannot be identified when using def_user TACACS+ authentication and approval. unset auth radius Remove the IP address of the RADIUS authentication server.
  • Page 17 unset acct radius Remove the NAS-ID attribute notified to the RADIUS accounting server. server nas_id unset acct tacacs Remove the IP address of the TACACS+ server (accounting). server addr set terminal default Set the default setting for enabling or disabling terminal line editing.
  • Page 18: Display Commands Overview

    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 Display the information of power and environment...
  • Page 19 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 Display the status of port server sessions.
  • Page 20 Timezone show timezone Display the NS-2250 time zone and a list of the infomation time zones that can be set. 2-10...
  • Page 21: Maintenance Commands Overview

    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 date Set the NS-2250 date and time. commands engineering Switch the NS-2250 operating mode to engineering mode.
  • Page 22 Management write Save the NS-2250 current settings in a startup file. commands for clear startup Return the startup file to the default settings. settings files default startup Specify the startup file to be imported at startup. copy startup Copy a startup file. echo Display the character string at startup.
  • Page 23: Other Commands Overview

    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 return Port Select Menu commands Return to port selection menu.
  • Page 24 Table 2-5 List of port selection menu commands Class Command Description Port selection menu <ttyno> Connect to the specified serial ports in Normal mode. commands <ttyno>r Connect to the specified serial ports in Monitoring mode. Refresh the list of ports to which connection is possible.
  • Page 25: Command Reference Format

    Chapter 3 Command reference format The chapter 3 describes the format used in this command reference. Chapter content Format of the command reference explanation...
  • Page 26: Format Of The Command Reference Explanation

    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.
  • Page 27: Setting Commands

    Chapter 4 Setting commands The chapter 4 describes the setting commands that can be used on the NS-2250. Chapter content System setting commands Bonding setting commands IP host setting commands IP route setting commands DNS setting commands LAN setting commands User management/authentication setting commands SNMP agent setting commands SNMP trap setting commands...
  • Page 28: System Setting Commands

    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 “.”.
  • Page 29 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).
  • Page 30 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...
  • Page 31 set tcpkeepalive [Administrator] Function Set the TCP keepalive time for the NS-2250. Format set tcpkeepalive time Parameters time Specify the TCP keepalive time for the NS-2250 (the time until a keepalive probe is sent in idle condition in TCP connection) in seconds in the range of 60 to 7200.
  • Page 32: Bonding Setting Commands

    4.2 Bonding setting commands set bonding up_delay [Administrator] Function configure the wait timer which is the delay period enabling slave interface after the detection of physical linkup. Format set bonding up_delay { on delay_time | off } Parameters { on delay_time | off } configure the wait timer which is the delay period enabling slave interface after the detection of physical linkup.
  • Page 33 enable bonding [Administrator] Function Enable the bonding function. Format enable bonding Note The bonding function is disable by default. When the bonding function is enabled, the setting of IP address/routing at eth1 is automatically inherited to bond1, and the configuration of IP address/routing at eth1/eth2 are deleted.
  • Page 34 disable bonding [Administrator] Function Disable the bonding function. Format disable bonding Note When the bonding function is disabled, the setting of IP address/routing at bond1 is automatically inherited to eth1.
  • Page 35: Ip Host Setting Commands

    4.3 IP host setting commands These are objects managing the handling of host names and IP addresses. Pairs of these objects are registered as host entries. create ip host [Administrator] Function Register a pair of a host name and an IP address (host entry). Format create ip host hostname ipaddr [ port port_num ] Parameters...
  • Page 36 delete ip host [Administrator] Function Delete the host entry. Format delete ip host hostname Parameters hostname Specify the host name to delete. Usage example To delete the host entry with the host name “host10”. delete ip host host10 4-10...
  • Page 37: Ip Route Setting Commands

    4.4 IP route setting commands These are objects managing the static routing settings for the NS-2250. Set the destination network address and the gateway address. create ip route [Administrator] Function Create a static route to an IP address. Format create ip route { ipaddr/mask | default } gateway gwaddr [ metric metric ] Parameters { ipaddr/mask | default } Set the host address or the network address of the destination in the “IP...
  • Page 38 delete ip route [Administrator] Function Delete the static route. Format delete ip route { ipaddr/mask | default } gateway gwaddr Parameters ipaddr/mask Specify the destination host address or network address to be deleted in the “IP address/prefix size” format. The IP address must be specified in the dot-decimal notation (xxx.xxx.xxx.xxx).
  • Page 39: Dns Setting Command

    4.5 DNS setting command These are objects managing the operating conditions of the NS-2250 DNS client function. Up to two DNS servers can be register to the NS-2250. set dns [Administrator] Function Register the DNS server used for name resolution. Format set dns { 1 | 2 } ipaddr Parameters...
  • Page 40 set dns localdomain [Administrator] Function Configure the local domain to which the NS-2250 belongs. Format set dns localdomain domain_name Parameters domain_name Specify the name of the local domain to which the NS-2250 belongs. In the local domain name, you can use half-width alphanumeric characters, underbars “_”, hyphens “-”, and periods “.”.
  • Page 41 unset dns [Administrator] Function Delete the information of a registered DNS server. Format unset dns { 1 | 2 } Parameters { 1 | 2 } Specify the identification number (1 or 2) of the DNS server whose information you want to delete. Usage example To delete the information of the DNS server No.
  • Page 42 unset dns localdomain [Administrator] Function Delete the settings of the local domain to which the NS-2250 belongs. Format unset dns localdomain Parameters None Usage example unset dns localdomain Note When you delete the local domain settings, the server program storing the port logs restarts.
  • Page 43: Lan Setting Commands

    4.6 LAN setting commands These are objects managing the NS-2250 physical LAN port. set ether nego [Administrator] Function Configure the auto-negotiation operation for the LAN port. Format set ether [{ eth1 | eth2 }] nego { enable | disable { full-100 | full-10 | half-100 | half-10 } } [ { mdi | mdix | mdi-auto } ] Parameters [{eth1 | eth2 }]...
  • Page 44: User Management And Authentication Setting Commands

    4.7 User management and authentication setting commands Commands used to configure settings such as users and passwords with NS-2250 user management objects. create user [Administrator] Function Create a user. Format create user username group { setup | verup | log | normal | portusr } [ uid userid ] [ port enable_port_list ] [ { password | encrypt string } ] Parameters username...
  • Page 45 password. When you press the Enter key after entering the password, a message prompting you to confirm the password is displayed. Enter the same password again. If you do not specify this parameter and the encrypt parameter, no passwords are allocated to created users. Setting a password using this command changes the format of the commands written in the startup file to the format specified with the encrypt parameter.
  • Page 46 system and cannot be created. (8) The number of users that can be created in the NS-2250 is as follows. Normal users: Up to 91 users can be registered with IDs from 100 to 190. Port users: Up to 99 users can be registered with IDs from 501 to 599. For details on user privileges of each user category, see Appendix B, “User privileges”...
  • Page 47 set user password [Administrator] Function Change the user password for login. Format set user username { password | encrypt string } Parameters username Specify the name of the user whose password you want to change. In the user name, you can use half-width alphanumeric characters, underbars “_”, and hyphens “-”.
  • Page 48 set user port [Administrator] Function Configure the port users access privileges for the serial ports. Format set user username port enable_port_list Parameters username Specify the name of the port user who will access the serial ports. In the user name, you can use half-width alphanumeric characters, underbars “_”, and hyphens “-”.
  • Page 49 set user sshkey [Administrator] Function Configure the public key for user SSH authentication. Format set user username sshkey [ public] method public-key [comment] Parameters username Specify the name of the user who will use SSH. In the user name, you can use half-width alphanumeric characters, underbars “_”, and hyphens “-”.
  • Page 50 command. (5) The maximum key length is 2048 bits with the RSA method and 1024 bits with the DSA method and 521 bits with the ECDSA . Note (1) Always add a comment to the public key. (2) Half-width and full-width space characters cannot be used in the public key strings.
  • Page 51 unset user port [Administrator] Function Remove the port user access privileges for the serial ports. Format unset user username port Parameters username Specify the name of the port user whose access privileges you want to remove. In the user name, you can use half-width alphanumeric characters, underbars “_”, and hyphens “-”.
  • Page 52 unset user sshkey [Administrator] Function Delete user settings for SSH authentication public key. Format unset user username sshkey [ public] Parameters username Specify the name of the user whose public key settings you want to delete. In the user name, you can use half-width alphanumeric characters, underbars “_”, and hyphens “-”.
  • Page 53 delete user [Administrator] Function Delete a user. Format delete user username Parameters username Specify the name of the user to delete. In the user name, you can use half-width alphanumeric characters, underbars “_”, and hyphens “-”. The maximum number of characters is 16. Usage example To delete the user “user1”...
  • Page 54: Snmp Agent Setting Commands

    4.8 SNMP agent setting commands These are objects managing the operating conditions of the NS-2250 SNMP agent function. set snmp location [Administrator] Function Set sysLocation (system location). Format set snmp location “location” Parameters location “location” Specify the location of the system within double quotation marks. You can use alphanumeric and space characters.
  • Page 55 set snmp contact [Administrator] Function Set sysContact (contact information). Format set snmp contact “syscontact” Parameters contact “syscontact” Specify information such as the name, position, and phone number of the NS-2250 administrator within double quotation marks. You can use alphanumeric and space characters. The maximum number of characters is 128.
  • Page 56 set snmp authentrap [Administrator] Function Set whether or not to send a trap when SNMP authentication failed. SNMP authentication failure traps are sent if one of the following cases occurs. The community name of the SNMP request packet does not match the setting. The community name of the SNMP request packet matches the settings, but not the IP address of the manager.
  • Page 57 set snmp linktrap [Administrator] Function Set whether or not to send link traps. Send the link up trap when a link is detected on a LAN port, and send the link down trap when the link is not detected anymore. Format set snmp linktrap { on | off } Parameters...
  • Page 58 set snmp tty dsrtrap [Administrator] Function Set whether or not to send DSR traps. Send the “nsRs232DsrUp” trap when a DSR signal is detected on a serial port, and send the “nsRs232DsrDown” trap when the DSR signal is not detected anymore.
  • Page 59 set snmp coldstarttrap [Administrator] Function Set whether or not to send cold start traps. Send a cold start trap when starting the NS-2250. Format set snmp coldstarttrap { on | off } Parameters coldstarttrap { on | off } Specify whether or not to send cold start traps. Set “on”...
  • Page 60 set snmp powertrap [Administrator] Function Set whether or not to send power traps. Send the “PowerSupplyUp” trap when a power is detected on a power supply, and send the “PowerSupplyDown” trap when the power is not detected anymore. Format set snmp powertrap { on | off } Parameters powertrap { on | off } Specify whether or not to send power traps.
  • Page 61 set snmp bondingactswtrap [Administrator] Function Set whether or not to send the active port switched traps. When detecting the switching of the active port in bonding function, send the active port switched trap(nsBondingActiveSwitch trap). Format set snmp bondingactswtrap { on | off } Parameters bondingactswtrap { on | off } Specify whether or not to send bonding active switch traps when active...
  • Page 62 unset snmp location [Administrator] Function Remove sysLocation settings. Format unset snmp location Parameters None Usage example unset snmp location Note The SNMP agent restarts if it is enabled when you make this setting. 4-36...
  • Page 63 unset snmp contact [Administrator] Function Remove sysContact settings. Format unset snmp contact Parameters None Usage example unset snmp contact Note The SNMP agent restarts if it is enabled when you make this setting. 4-37...
  • Page 64 enable snmp [Administrator] Function Enable the SNMP agent function. Format enable snmp Parameters None Usage example enable snmp Explanation The SNMP agent function is disabled by default. 4-38...
  • Page 65 disable snmp [Administrator] Function Disable the SNMP agent function. Format disable snmp Parameters None Usage example disable snmp 4-39...
  • Page 66: Snmp Trap Setting Commands

    4.9 SNMP trap setting commands These are objects managing the notification destinations of the SNMP trap function of the NS-2250. set trap manager [Administrator] Function Set the address of the SNMP server to send the traps to and the community name used when sending the traps.
  • Page 67 set trap 1 manager 192.168.0.50 name public1 4-41...
  • Page 68 unset trap manager [Administrator] Function Remove the settings of the destination SNMP server. Format unset trap { 1 | 2 | 3 | 4 } manager Parameters { 1 | 2 | 3 | 4 } Specify the number from 1 through 4 of the trap destination whose settings you want to remove.
  • Page 69: Snmp Community Setting Commands

    4.10 SNMP community setting commands These are objects managing the community of the NS-2250 SNMP agent function. You can create up to four of these objects within the NS-2250. They will be identified using the community numbers set by the user. set community name [Administrator] Function...
  • Page 70 Usage example To set “public” as the name of community 1 and authorize access in read only (view ro) from the SNMP server 192.168.0.50. set community 1 name public view ro manager 192.168.0.50 Explanation (1) You can specify only one SNMP server for one community object. To specify multiple SNMP servers to the same community name, create a community object for each SNMP server.
  • Page 71 unset community [Administrator] Function Remove the settings of the community name and SNMP server that can use it to access the NS-2250. Format unset community { 1 | 2 | 3 | 4 } name Parameters { 1 | 2 | 3 | 4 } Specify the number from 1 through 4 of the community whose settings you want to remove.
  • Page 72: Syslog Setting Commands

    4.11 Syslog setting commands Commands used to transfer syslog messages from the NS-2250 to external syslog servers. set syslog host [Administrator] Function Set the facility and syslog server where to send the syslog messages. Format set syslog host { 1 | 2 } { ipaddr | host } [portlog_facility { local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7 }] [syslog_facility { local0 | local1 | local2 | local3 | local4 | local5 |...
  • Page 73 This parameter is set to “local1” by default. Usage example To register the syslog server 192.168.1.105 with the identification No. 1, set the port log facility to “local0”, and set syslog messages facility to “local1”. set syslog host 1 192.168.1.105 portlog_facility local0 syslog_facility local1 Explanation You can make the settings for two syslog servers.
  • Page 74 unset syslog host [Administrator] Function Remove the settings of the syslog server where to send the syslog messages. Format unset syslog host { 1 | 2 } Parameters { 1 | 2 } Specify the identification number (1 or 2) of the syslog server whose settings you want to remove.
  • Page 75 enable syslog [Administrator] Function Enable the syslog client. Format enable syslog Parameters None Usage example enable syslog Explanation The syslog client function is disabled by default. 4-49...
  • Page 76 disable syslog [Administrator] Function Disable the syslog client. Format disable syslog Parameters None Usage example disable syslog 4-50...
  • Page 77: Nfs Setting Commands

    4.12 NFS setting commands These are objects managing the operating conditions of the NFS client function. set nfs server addr [Administrator] Function Set the NFS server where to save the port logs. Format set nfs server { 1 | 2 } addr ipaddr path path-dir Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the NFS server to register.
  • Page 78 set nfs server proto [Administrator] Function Set the NFS protocol. Format set nfs server { 1 | 2 } proto { tcp | udp } Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the NFS server to register. proto { tcp | udp } Specify the NFS protocol.
  • Page 79 set nfs rotate [Administrator] Function Set the rotation interval of the port logs. Format set nfs rotate { off | on minute hour day month day_of_week } Parameters { off | on minute hour day month day_of_week } Set the port log rotation on or off. : Port logs are not rotated.
  • Page 80 unset nfs server addr [Administrator] Function Remove the NFS server settings. Format unset nfs server { 1 | 2 } addr Parameters { 1 | 2 } Specify identification number (1 or 2) of the NFS server whose settings you want to remove.
  • Page 81 enable nfs [Administrator] Function Enable the NFS client function. Format enable nfs Parameters None Usage example enable nfs Explanation The NFS client function is disabled by default. 4-55...
  • Page 82 disable nfs [Administrator] Function Disable the NFS client function. Format disable nfs Parameters None Usage example disable nfs 4-56...
  • Page 83: Sntp Setting Commands

    4.13 SNTP setting commands These are objects managing the operating conditions of the NS-2250 SNTP client function. set sntp server [Administrator] Function Set NTP servers to which you want to synchronize. Format set sntp server { ipaddr | host } Parameters { ipaddr | host } Specify the IP address or the host name of the NTP server to witch you...
  • Page 84 set sntp polltime [Administrator] Function Set polling interval to the NTP servers. Format set sntp polltime time Parameters time Set polling interval to the NTP servers. The setting range for the polling interval is from 60 through 1800 seconds. The unit is one second. This parameter is set to “600”...
  • Page 85 unset sntp server [Administrator] Function Remove settings of NTP servers. Format unset sntp server [ ipaddr | host ] Parameters [ ipaddr | host ] Specify the IP address or the host name of the NTP server used. The IP address must be specified in the dot-decimal notation (xxx.xxx.xxx.xxx).
  • Page 86 enable sntp [Administrator] Function Enable the SNTP client function. Format enable sntp Parameters None Usage example enable sntp Explanation The SNTP client function is disabled by default. 4-60...
  • Page 87 disable sntp [Administrator] Function Disable the SNTP client function. Format disable sntp Parameters None Usage example disable sntp 4-61...
  • Page 88: Tty Setting Commands

    4.14 TTY setting commands These are objects managing the serial ports. The tty No. 1 corresponds to serial port No. 1, the tty 2 to serial port 2, and so on. The following operations can be carried out for these objects. set tty [Administrator] Function...
  • Page 89 This parameter is set to “1” by default. flow { xon | txon | rxon | rs | none } Set the flow control. Control uses xon and xoff codes. Control the flow using RTS/CTS signals none : Flow control is not used in both the transmitting and receiving directions.
  • Page 90: Logd Setting Commands

    4.15 logd setting commands These are objects managing port log operation and sending methods. add logd tty mail [Administrator] Function Register a destination email address and email server to send the port logs. Format add logd tty tty_number mail { 1 | 2 } Mail-Address { ipaddr | host } Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range.
  • Page 91 add logd tty ftp [Administrator] Function Register a destination FTP server for port logs. Format add logd tty tty_number ftp { 1 | 2 } FTP-Account { ipaddr| host } [ { password | encrypt string } ] Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range.
  • Page 92 Setting a password using this command changes the format of the commands written in the startup file to the format specified with the encrypt parameter. The set password becomes an encrypted character string. encrypt string Set the account password as an encrypted character string. When the command is executed with this parameter specified, no password entry or confirmation messages are displayed.
  • Page 93 set logd output [Administrator] Function Set the port log save destination. Format set logd output { flash | ram | off | cf } Parameters [ flash | ram | off | cf ] flash : Set FLASH memory for the port log save destination ram : Set the RAM for the port log save destination off : Do not save port logs : This parameter is alias of flash.
  • Page 94 set logd tstamp [Administrator] Function Set port log time stamps. Format set logd tstamp { on [ interval interval_time ] | off } Parameters { on [ interval interval_time ] | off } Set the time stamps on or off for all serial ports. This parameter is “off”...
  • Page 95 set logd tty log [Administrator] Function Set the port log save space for each serial port. Format set logd tty tty_number log { on [ size log_size ] | off } Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range. The range of ports that you can specify varies depending on the model.
  • Page 96 set logd tty lstamp [Administrator] Function Set the login stamp function for port logs. Format set logd tty tty_number lstamp { off | on } Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range. The range of ports that you can specify varies depending on the model.
  • Page 97 set logd tty syslog [Administrator] Function Set whether to send port logs to a syslog server. Format set logd tty tty_number syslog { off | on | format { hostname | label | tstamp } { off | on }} Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range.
  • Page 98 set logd tty sendlog [Administrator] Function Set the conditions to send the port logs to an email or an FTP server. Format set logd tty tty_number sendlog { { mail | ftp } [ interval interval_time ] [ ratio percent ] | off } Parameters tty_number Specify the serial port used as the tty number in the 1 to 48 range.
  • Page 99 set logd tty nfs [Administrator] Function Set whether to save port logs to a NFS server. Format set logd tty tty_number nfs { off | on } Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range. The range of ports that you can specify varies depending on the model.
  • Page 100 set logd tty mail port [Administrator] Function Set SMTP port for the port log emails. Format set logd tty tty_number mail { 1 | 2 } port smtp-port Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range. The range of ports that you can specify varies depending on the model.
  • Page 101 set logd tty mail type [Administrator] Function Set how the port logs are sent by email (sending method). Format set logd tty tty_number mail { 1 | 2 } type { body | attachment } Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range. The range of ports that you can specify varies depending on the model.
  • Page 102 set logd tty mail subject [Administrator] Function Set the email subject for port logs. Format set logd tty tty_number mail { 1 | 2 } subject “string” Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range. The range of ports that you can specify varies depending on the model.
  • Page 103 set logd tty mail sender [Administrator] Function Set the email address of the sender for port logs. Format set logd tty tty_number mail { 1 | 2 } sender fromaddr Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range. The range of ports that you can specify varies depending on the model.
  • Page 104 set logd tty mail auth [Administrator] Function Set SMTP authentication for the port log emails. Format set logd tty tty_number mail { 1 | 2 } auth auth-Account [ { password | encrypt string } ] Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range. The range of ports that you can specify varies depending on the model.
  • Page 105 SNMP-Auth password Password entry (not displayed) Retype SNMP-Auth password Password entry (not displayed) Explanation This setting is also deleted if the email server registration settings are removed. 4-79...
  • Page 106 unset logd tty mail auth [Administrator] Function Remove settings of SMTP authentication for port log emails. Format unset logd tty tty_number mail { 1 | 2 } auth Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range. The range of ports that you can specify varies depending on the model.
  • Page 107 remove logd tty mail [Administrator] Function Remove the settings for the destination email address and email server used to send port logs. Format remove logd tty tty_number mail { 1 | 2 } Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range. The range of ports that you can specify varies depending on the model.
  • Page 108 remove logd tty ftp [Administrator] Function Remove settings of a destination FTP server for port logs. Format remove logd tty tty_number ftp { 1 | 2 } Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range. The range of ports that you can specify varies depending on the model.
  • Page 109: Portd Setting Commands

    4.16 portd setting commands These are objects managing NS-2250 port server function. set portd connect [Administrator] Function Set the connection mode of the port server. Format set portd connect { direct | select } Parameters { direct | select } When you specify “direct”, the port server uses the direct mode available since the first version for the access method.
  • Page 110 set portd menu [Administrator] Function Set the display method of the port server menu. Format set portd menu { auto | on | off } Parameters { auto | on | off } Specify “auto” to use the same display method as the Direct mode. When the port log save function is on in an RW session: The port server menu is displayed.
  • Page 111 set portd auth [Administrator] Function Set whether or not to use port user authentication when connecting from a Telnet client. Format set portd auth { none | basic } Parameters auth { none | basic } Specify “none” not to use the port user authentication when accessing NS-2250 serial ports from a Telnet client.
  • Page 112 set portd telrw [Administrator] Function Specify the service port start number for Telnet Normal mode. Format set portd telrw port_num Parameters port_num Specify a decimal value for the port number. (Port number setting range: 1025 - 65000) This parameter is set to “8101” by default. Usage example To set “10001”...
  • Page 113 set portd telro [Administrator] Function Specify the service port start number for Telnet Monitoring mode. Format set portd telro port_num Parameters port_num Specify a decimal value for the port number. (Port number setting range: 1025 - 65000) This parameter is set to “8201” by default. Usage example To set “11001”...
  • Page 114 set portd sshrw [Administrator] Function Specify the service port start number for SSH Normal mode. Format set portd sshrw port_num Parameters port_num Specify a decimal value for the port number. (Port number setting range: 1025 - 65000) This parameter is set to “8301” by default. Usage example To set “12001”...
  • Page 115 set portd sshro [Administrator] Function Specify the service port start number for SSH Monitoring mode. Format set portd sshro port_num Parameters port_num Specify a decimal value for the port number. (Port number setting range: 1025 - 65000) This parameter is set to “8401” by default. Usage example To set “13001”...
  • Page 116 set portd idle_timeout [Administrator] Function Set a value for the idle timer for the select menu, port server menu, and Normal mode (rw) sessions. Format set portd idle_timeout { on [ interval_time ] | off } Parameters { on [ interval_time ] | off } Specify “on”...
  • Page 117 set portd ro_timeout [Administrator] Function Set a value for the session timer of Monitoring mode (ro) sessions. Format set portd ro_timeout { on [ interval_time ] | off } Parameters { on [ interval_time ] | off } Specify “on” or “off” for the session timer of Monitoring mode (ro) sessions.
  • Page 118 set portd tty session [Administrator] Function Set the authorized protocols and modes for connection to the serial ports. Format set portd tty tty_number session {{ telnet | ssh | both } { ro | rw | both } | none } Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48...
  • Page 119 set portd tty limit [Administrator] Function Set a number of sessions for a serial port. Format set portd tty tty_number limit rw number ro number Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range.
  • Page 120 set portd tty brk_char [Administrator] Function Set the NVT break character. Format set portd tty tty_number brk_char { none | brk } Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range. The range of ports that you can specify varies depending on the model. Specify a list of serial ports separated by hyphens “-”...
  • Page 121 set portd tty nl [Administrator] Function Set the conversion method for the line feed format received from the network. Format set portd tty tty_number nl { none | cr | lf } Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range.
  • Page 122 set portd tty cmdchar [Administrator] Function Set a substitute character code to go to the port server menu. Format set portd tty tty_number cmdchar { none | char_number } Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range. The range of ports that you can specify varies depending on the model.
  • Page 123 set portd tty label [Administrator] Function Set serial port labels. Format set portd tty tty_number label string Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range. The range of ports that you can specify varies depending on the model. Specify a list of serial ports separated by hyphens “-”...
  • Page 124 set portd tty timeout [Administrator] Function Set the timeout function on and off for the port server menu, Normal mode (rw) sessions, and Monitoring mode (ro) sessions. Format set portd tty tty_number timeout { on | off } Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range.
  • Page 125 unset portd tty label [Administrator] Function Remove serial port label settings. Format unset portd tty tty_number label Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range. The range of ports that you can specify varies depending on the model. Specify a list of serial ports separated by hyphens “-”...
  • Page 126: Console Setting Commands

    4.17 Console setting commands Objects managing the operating conditions of the NS-2250 console function. set console [Administrator] Function Set the console. Format set console { baud { 2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200 } | bitchar { 7| 8 } | parity { even | odd | none } | stop { 1 | 2 } |...
  • Page 127: Telnetd Setting Commands

    4.18 Telnetd setting commands These are objects managing NS-2250 Telnet server function. set telnetd port [Administrator] Function Set the Telnet server port number. Format set telnetd port { port_number | default } Parameters port_number Specify a port number. You can specify a number from 1025 through 65000 for the port number. default Specify the Telnet server default port 23 for the port number.
  • Page 128 enable telnetd [Administrator] Function Enable the Telnet server. Format enable telnetd Parameters None Usage example enable telnetd Explanation The Telnet server is enabled by default. 4-102...
  • Page 129 disable telnetd [Administrator] Function Disable the Telnet server. Format disable telnetd Parameters None Usage example disable telnetd 4-103...
  • Page 130: Sshd Setting Commands

    4.19 sshd setting commands These are objects managing NS-2250 SSH server function. set sshd auth [Administrator] Function Set the user authentication type for the SSH server. Format set sshd auth { basic | public } Parameters auth { basic | public } Specify “basic”...
  • Page 131 set sshd port [Administrator] Function Set the SSH server port number. Format set sshd port { port_number | default } Parameters port_number Specify a port number. You can specify a number from 1025 through 65000 for the port number. default Specify the SSH server default port 22 for the port number.
  • Page 132 set sshd host_key [Administrator] Function Set the SSH server host_key. Format set sshd host_key { number | device_depend } Parameters number Specify the seed of server host_key. You can specify a number from 0 through 4294967295 for the number. device_depend Set the original value as a server host_key.
  • Page 133 enable sshd [Administrator] Function Enable the SSH server. Format enable sshd Parameters None Usage example enable sshd Explanation (1) Both SSH access and SFTP access to the NS-2250 are made possible. (2) The SSH server is disabled by default. 4-107...
  • Page 134 disable sshd [Administrator] Function Disable the SSH server. Format disable sshd Parameters None Usage example disable sshd 4-108...
  • Page 135: Ftpd Setting Commands

    4.20 ftpd setting commands These are objects managing NS-2250 FTP server function. enable ftpd [Administrator] Function Enable the FTP server. Format enable ftpd Parameters None Usage example enable ftpd Explanation The FTP server is disabled by default. 4-109...
  • Page 136 disable ftpd [Administrator] Function Disable the FTP server. Format disable ftpd Parameters None Usage example disable ftpd 4-110...
  • Page 137: Security Setting Commands

    3.9 Security setting commands 4.21 Security setting commands These are objects managing authorizations for host and service connection via the network. create allowhost [Administrator] Function Create a list of hosts and services authorized for connection. Format create allowhost { all | ipaddr/mask } service { all | telnetd | sshd | ftpd | portd { telrw | telro | sshrw | sshro } { all | tty_list } } Parameters...
  • Page 138 delete allowhost [Administrator] Function Delete a list of hosts and services authorized for connection. Format delete allowhost { { all | ipaddr/mask } service { all | telnetd | sshd | ftpd | portd { telrw | telro | sshrw | sshro } { all | tty_list } } | allentry } Parameters { ipaddr/mask | all } Specify the IP address of the host whose connection authorization you want...
  • Page 139: Authentication Setting Commands

    4.22 Authentication setting commands These are objects managing the operating conditions of user authentication and authentication using RADIUS/TACACS+ clients. create auth access_group [Administrator] Function Create access groups and serial port access privileges. You can set roles and access privileges for each group you have created. The following functions have been enhanced in this command compared to the “set auth radius server { root | normal | portusr } filter_id_head”...
  • Page 140 used for the access group name. You can specify from 1 through 64 characters for string. You can use half-width alphanumeric characters, underbars “_”, hyphens “-”, at marks “@”, and periods “.”. tacacs attr string val string Set the character strings of the TACACS+ server attribute (attr) and value (val) pair that will be used for the access group name.
  • Page 141 When you log in to the NS-2250 in Select mode, log in as the user with the highest priority of access privileges of (1),(2),and (3). For example, with the settings below log in to the NS-2250 as a device management user. When you log in to the NS-2250 in Direct mode, log in as the user with the higher priority of access privileges (1) and (2).
  • Page 142 Settings of the NS-2250 # create auth access_group root tacacs attr grp1 val root # create auth access_group portusr port 1-5 tacacs attr grp2 val tech1 TACACS+ server settings user = user1 { service = smartcs { grp1 = root grp2 = tech1 (4) With users for which the user group cannot be identified, user authentication is performed according to “set auth radius def_user”...
  • Page 143 set auth mode [Administrator] Function Set the user authentication method. Format set auth mode { local | radius | tacacs } Parameters { local | radius | tacacs } Specify “local” to use only NS-2250 local authentication for user authentication. Local authentication checks that the name and password of the user accessing the NS-2250 match the settings registered in the NS- 2250.
  • Page 144 set auth su_cmd username [Administrator] Function In the RADIUS authentication or TACACS+ authentication/approval function, set the user name used when executing the “su” command with external authentication. Format set auth su_cmd username user Parameters user In the RADIUS authentication or TACACS+ authentication/approval function, set the user name used for authentication and approval when executing the “su”...
  • Page 145 set auth radius retry [Administrator] Function Set the number of times the authentication request packet is resent to the RADIUS authentication server. Format set auth radius retry number Parameters number Set the number of times the authentication request packet is resent to the RADIUS authentication server.
  • Page 146 set auth radius server addr [Administrator] Function Set the IP address of the RADIUS authentication server. Format set auth radius server { 1 | 2 } addr ipaddr Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 147 set auth radius server port [Administrator] Function Set the authentication port number of the RADIUS authentication server. Format set auth radius server { 1 | 2 } port { 1812 | 1645 } Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 148 set auth radius server key [Administrator] Function Set the secret key of the RADIUS authentication server. Format set auth radius server { 1 | 2 } key { password | encrypt string } Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 149 set auth radius server timeout [Administrator] Function Set the timeout time for the response packet sent back from the RADIUS authentication server. Format set auth radius server { 1 | 2 } timeout time Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 150 set auth radius server portusr [Administrator] Function Set the port user identifier used with RADIUS authentication. Format set auth radius server { 1 | 2 } portusr filter_id_head string Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 151 When you log in to the NS-2250 in Select mode, log in as the user with the highest priority of access privileges of (1), (2), and (3). For example, with the settings below log in to the NS-2250 as a device management user.
  • Page 152 set auth radius server normal [Administrator] Function Set the normal user identifier used with RADIUS authentication. Format set auth radius server { 1 | 2 } normal filter_id_head string Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 153 For example, with the settings below log in to the NS-2250 as a device management user. When you log in to the NS-2250 in Direct mode, log in as the user with the higher priority of access privileges (1) and (2). You can access the port server only when you have access privileges of (3).
  • Page 154 set auth radius server root [Administrator] Function Set the device management user identifier used with RADIUS authentication. Format set auth radius server { 1 | 2 } root filter_id_head string Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 155 When you log in to the NS-2250 in Select mode, log in as the user with the highest priority of access privileges of (1), (2), and (3). For example, with the settings below log in to the NS-2250 as a device management user.
  • Page 156 set auth radius server nas_id [Administrator] Function Register the NAS-ID attribute notified to the RADIUS authentication server. Format set auth radius server { 1 | 2 } nas_id string Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 157 set auth radius def_user [Administrator] Function Configure access methods for users for which a user group cannot be identified. Format set auth radius def_user { portusr | none } Parameters { portusr | none } portusr Specify “portusr” to handle the users for which a user group cannot be identified (users with the access group or “filter_id_head”...
  • Page 158 set auth tacacs server addr [Administrator] Function Set the IP address of the TACACS+ server (authentication/approval). Format set auth tacacs server { 1 | 2 } addr ipaddr Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the TACACS+ server. addr ipaddr Specify the IP address of the TACACS+ server.
  • Page 159 set auth tacacs server key [Administrator] Function Set the secret key of the TACACS+ server (authentication/approval). Format set auth tacacs server { 1 | 2 } key { password | encrypt string } Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the TACACS+ server. key { password | encrypt string } Specify the secret key of the TACACS+ server.
  • Page 160 set auth tacacs server timeout [Administrator] Function Set the timeout time for the response packet sent back from the TACACS+ server (authentication/approval). Format set auth tacacs server { 1 | 2 } timeout time Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the TACACS+ server.
  • Page 161 set auth tacacs def_user [Administrator] Function Configure access methods for users for which a user group cannot be identified when using TACACS+ authentication and approval. Format set auth tacacs def_user { portusr | normal | none } Parameters { portusr | normal | none } portusr Specify “portusr”...
  • Page 162 unset auth radius server addr [Administrator] Function Remove the IP address of the RADIUS authentication server. Format unset auth radius server { 1 | 2 } addr Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 163 unset auth radius server portusr [Administrator] Function To remove the port user identifier when using RADIUS authentication. Format unset auth radius server { 1 | 2 } portusr filter_id_head Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 164 unset auth radius server normal [Administrator] Function To remove the normal user identifier when using RADIUS authentication. Format unset auth radius server { 1 | 2 } normal filter_id_head Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 165 unset auth radius server root [Administrator] Function To remove the device management user identifier when using RADIUS authentication. Format unset auth radius server { 1 | 2 } root filter_id_head Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 166 unset auth radius server nas_id [Administrator] Function Remove the NAS-ID attribute notified to the RADIUS authentication server. Format unset auth radius server { 1 | 2 } nas_id Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 167 unset auth tacacs server addr [Administrator] Function Remove the IP address of the TACACS+ server (authentication/approval). Format unset auth tacacs server { 1 | 2 } addr Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the TACACS+ server. Usage example To remove the setting of TACACS+ server 1.
  • Page 168 delete auth access_group [Administrator] Function Delete access groups and serial port access privileges. Format delete auth access_group { root | normal | portusr port disable_port_list } { all | radius filter_id string| tacacs attr string val value } Parameters { root| normal | portusr port disable_port_list } Specify “root”...
  • Page 169 (3) To delete only the access privilege for serial port 5 from the port user access group “grp1” (RADIUS). delete auth access_group portusr port 5 radius filter_id grp1 (4) To delete all port user access groups with access privileges for serial ports 1 to 32 (RADIUS).
  • Page 170: Accounting Setting Commands

    4.23 Accounting setting commands These are objects managing the operating conditions related to the accounting modes and RADIUS/TACACS+ client accounting. set acct mode [Administrator] Function Set the saving mode for accounting logs. Format set acct mode { local | radius| tacacs } Parameters { local | radius| tacacs } Specify “local”...
  • Page 171 set acct radius retry [Administrator] Function Set the number of times accounting packets are resent to the RADIUS accounting server. Format set acct radius retry number Parameters number Specify the number of times accounting packets are resent to the RADIUS accounting server.
  • Page 172 set acct radius auth_deny_stop [Administrator] Function Set the sending method of accounting STOP packets when user authentication has failed. Format set acct radius auth_deny_stop { off | remote | local | all } Parameters { off | remote | local | all } Do not send accounting STOP packet to the RADIUS accounting server even when user local or external authentication has failed.
  • Page 173 set acct radius server addr [Administrator] Function Set the IP address of the RADIUS accounting server. Format set acct radius server { 1 | 2 } addr ipaddr Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS accounting server.
  • Page 174 set acct radius server port [Administrator] Function Set the accounting port number of the RADIUS accounting server. Format set acct radius server { 1 | 2 } port { 1813 | 1646 } Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS accounting server.
  • Page 175 set acct radius server key [Administrator] Function Set the secret key of the RADIUS accounting server. Format set acct radius server { 1 | 2 } key { password | encrypt string } Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS accounting server.
  • Page 176 set acct radius server timeout [Administrator] Function Set the timeout time for the response packet sent back from the RADIUS accounting server. Format set acct radius server { 1 | 2 } timeout time Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS accounting server.
  • Page 177 set acct radius server nas_id [Administrator] Function Register the NAS-ID attribute notified to the RADIUS accounting server. Format set acct radius server { 1 | 2 } nas_id string Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS accounting server.
  • Page 178 set acct tacacs auth_deny_stop [Administrator] Function Set the sending method of accounting STOP packets when TACACS+ authentication or approval has failed. Format set acct tacacs auth_deny_stop { off | remote | local | all } Parameters { off | remote | local | all } Do not send accounting STOP packet to the TACACS+ server even when user local or external authentication has failed.
  • Page 179 set acct tacacs server addr [Administrator] Function Set the IP address of the TACACS+ server (accounting). Format set acct tacacs server { 1 | 2 } addr ipaddr Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the TACACS+ server. addr ipaddr Specify the IP address of the TACACS+ server.
  • Page 180 set acct tacacs server key [Administrator] Function Set the secret key of the TACACS+ server (accounting). Format set acct tacacs server { 1 | 2 } key { password | encrypt string } Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the TACACS+ server. key { password | encrypt string } Specify the secret key of the TACACS+ server.
  • Page 181 set acct tacacs server timeout [Administrator] Function Set the timeout time for the response packet sent back from the TACACS+ server (accounting). Format set acct tacacs server { 1 | 2 } timeout time Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the TACACS+ server.
  • Page 182 unset acct radius server addr [Administrator] Function Remove the IP address of the RADIUS accounting server. Format unset acct radius server { 1 | 2 } addr Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS accounting server.
  • Page 183 unset acct radius server nas_id [Administrator] Function Remove the NAS-ID attribute notified to the RADIUS accounting server. Format unset acct radius server { 1 | 2 } nas_id Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the RADIUS accounting server.
  • Page 184 unset acct tacacs server addr [Administrator] Function Remove the IP address of the TACACS+ server (accounting). Format unset acct tacacs server { 1 | 2 } addr Parameters { 1 | 2 } Specify 1 or 2 for the identification number of the TACACS+ server (accounting).
  • Page 185: Terminal Output Control Setting Commands

    4.24 terminal output control setting commands These are objects used to set terminal output and operation. set terminal default editing [Administrator] Function Set the default setting for enabling or disabling terminal line editing. Format set terminal default editing { enable | disable } Parameters { enable | disable } Set to enable or disable the editing of command lines using the terminal...
  • Page 186 set terminal default height [Administrator] Function Set the default setting for the number of lines on one page of the terminal. Format set terminal default height rows Parameters rows Specify the number of lines on one page. You can specify a number from 10 through 256.
  • Page 187 set terminal default width [Administrator] Function Set the default setting for the number of characters on one line of the terminal. Format set terminal default width columns Parameters columns Specify the number of characters on one line. You can specify a number from 40 through 256.
  • Page 188 set terminal default page [Administrator] Function Set the default setting for enabling or disabling the terminal paging function. Format set terminal default page { enable | disable } Parameters { enable| disable } With this command you can enable the paging function that separates the output text into a different page when the text exceeds the specified number of lines per page.
  • Page 189 set terminal default prompt [Administrator] Function Set the default setting for the display format of the terminal prompt. Format set terminal default prompt { [device { on | off } ] | [ hostname { on | off } ] | [time { on | off } ] } Parameters { [ device { on | off } ] | [ hostname { on | off } ] | [ time { on | off } ] }...
  • Page 190 set terminal default redisp [Administrator] Function 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. Format set terminal default redisp { on | off } Parameters { on | off } Specify “on”...
  • Page 191 set terminal default timeout [Administrator] Function Set the default value for the terminal automatic logout time. Format set terminal default timeout { on time | off } Parameters { on time | off } Specify the default value for the terminal automatic logout time. This setting applies to normal users and device management users who log in to the NS-2250.
  • Page 192: Temperature Sensor Setting Commands

    4.25 Temperature sensor setting commands These are objects managing the temperature sensor. set temperature adjust [Administrator] Function Set the temperature correction value of the temperature sensor. Format set temperature adjust temp Parameters temp Set the temperature correction value of the temperature sensor. The temperature used is the sensor temperature from which the correction value has been subtracted.
  • Page 193: Time Zone Setting Commands

    4.26 Time zone setting commands set timezone [Administrator] Function Set the time zone. Format set timezone string Parameters string Specify the name of the time zone. You can specify a time zone name from the list displayed using the “show timezone list”...
  • Page 195: Chapter 5 Status And Statistics Display Commands

    Chapter 5 Status and statistics display commands The chapter 5 describes the status and statistics display commands that can be used on the NS-2250. Chapter content System status display commands Network information display commands User status display commands SNMP status display command SNTP status display command Syslog status display command NFS status display command...
  • Page 196: System Status Display Commands

    5.1 System status display commands show version [Normal user] [Administrator] Function Display the system hardware configuration, system software version, boot information, etc. Format show version Parameters None ↵ Execution example (c)NS-2250# show version System : System Software Ver X.X Boot Status : Power on System Up Time : 2015/xx/xx xx:xx:xx...
  • Page 197 Model Displays the NS-2250 model. Serial No. Displays the NS-2250 serial number. BootROM Displays the version of the NS-2250 BootROM. Main board CPU Displays the model and the clock rate of the CPU mounted on the main board. Main memory Displays the capacity of the memory mounted on the main board.
  • Page 198 show environment [Administrator] Function Display the information of power and Temperature. Format show environment Parameters None Execution example (c)NS-2250# show environment↵ <Environment status> Power information Power unit : AC Power 1 : ON Power 2 : OFF Temperature information Current temp : 31 deg C Sensor : 31 deg C...
  • Page 199 show slot [Administrator] Function Display the USB port information. Format show slot Parameters None Execution example (c)NS-2250# show slot↵ external slot information device: exist type : setup Explanation device Displays the device insertion status. exist: device inserted not exist: device not inserted type Displays the type of the inserted device.
  • Page 200 show cpu [Administrator] Function Display the CPU utilization rate. Format show cpu Parameters None Execution example (c)NS-2250# show cpu↵ Total Info. 22 % (System 12 %) (User 10 %) Explanation Total Info. Displays the CPU utilization rate for the entire NS-2250. System Displays the CPU utilization rate in kernel space (system).
  • Page 201 show memory [Administrator] Function Display the memory usage rate. Format show memory Parameters None Execution example (c)NS-2250# show memory↵ Total memory : 127308 Kbytes Used memory : 9972 Kbytes ( 7%) Explanation Total memory Displays the capacity of the memory equipped in the NS-2250. Used memory Displays the amount and percentage (%) of memory currently used.
  • Page 202 show log [Administrator] Function Display the console log or the command execution log. Format show log { console | command } [ { lines | detail } ] Parameters log { console | command } Specify the log to display. Specify “console”...
  • Page 203 show support [Administrator] Function Command used to display support information. Format show support [ { detail | file {write | info | delete }} ] Parameters [ { detail | file {write | info | delete }} ] detail Displays more detailed information than with the “show support” command and all the logs saved in the NS-2250.
  • Page 204 Explanation The following is displayed with this command. “show support” information Version information ACCT information System information Portd information Host information Portd session information USB slot information TTY information CPU information TTY stats information Memory information Logd information Process information Logd stats information Ether port information Console information...
  • Page 205: Network Information Display Commands

    5.2 Network information display commands show bonding [Normal user] [Administrator] Function Display the bonding information. Format show bonding Parameters None Execution example If the bonding function is disabled. (c)NS-2250# show bonding↵ <bonding information> Status : disable Mode : active-backup <master bond1 information> Status : --- Up Delay Time(sec) : off...
  • Page 206 Explanation <bonding information> Status Displays the status of the bonding function. enable The bonding function is enabled. disable The bonding function is disabled. Mode Displays the mode of the bonding function. active-backup Fault tolerant. <master boud1 information> Displays the virtual interface information which is used in bonding function.
  • Page 207 show ether [Normal user] [Administrator] Function Display information about the NS-2250 LAN port. Format show ether [{eth1 | eth2 | bond1}] Parameters [{eth1 | eth2 | bond1}] Specify the interface of the NS-2250. The status of all ports is displayed if this parameter is omitted. Execution example (c)NS-2250# show ether↵...
  • Page 208 mdix : Operates in mdix mode. : The link is down. Execution example (c)NS-2250# show ether eth1↵ Link Status : UP Negotiation Mode : enable Speed : 100Mb/s Duplex : full MDI Status : up Hardware Address : 08:00:83:ff:4c:b2 Explanation Link Status Displays the link of LAN ports.
  • Page 209 show stats ether [Normal user] [Administrator] Function Display statistical information about the NS-2250 LAN port. Format show stats ether [{eth1 | eth2 | bond1}] Parameters [{eth1 | eth2 | bond1}] Specify the interface of the NS-2250. The statiscal information of all ports is displayed if this parameter is omitted.
  • Page 210 Number of received frames Bytes Quantity of received data Errs Number of received errors Drop Number of discarding errors Fifo Number of fifo errors Frame Number of framing errors Compressed Number of compression errors Multicast Number of multicast and broadcast frames Transmit Statistics Statistics of transmission data Frames...
  • Page 211 show ip [Normal user] [Administrator] Function Display the NS-2250 host name and IP address, and the TCP keepalive time. Format show ip Parameters None Execution example ↵ If the bonding function is disabled. (c)NS-2250# show ip Hostname :NS-2250 TcpKeepAlive :180 IPaddress(eth1) :192.168.0.1/24 IPaddress(eth2)
  • Page 212 show ip host [Normal user] [Administrator] Function Display a list of the host names and IP addresses registered to the NS-2250. Format show ip host Parameters None Execution example (c)NS-2250# show ip host↵ Hostname IPaddress Port ------------------------------------ host1 192.168.0.1 host2 172.16.1.1 8101 host3...
  • Page 213: Show Ip Route

    show ip route [Normal user] [Administrator] Function Display the static routes registered to the NS-2250. Format show ip route Parameters None Execution example (c)NS-2250# show ip route↵ destination netmask gateway met iface status -------------------------------------------------------------------- 192.168.99.0 255.255.255.0 eth1 - 192.168.102.0 255.255.255.0 eth2 - 0.0.0.0 0.0.0.0...
  • Page 214 show tcp [Normal user] [Administrator] Function Display the status of the TCP session. Format show tcp Parameters None Execution example (O)NS-2250# show tcp↵ State Send-Q Recv-Q LocalAddress RemoteAddress -------------------------------------------------------------------- LISTEN 0.0.0.0:23 0.0.0.0:* ESTABLISHED 0 192.168.1.1:23 192.168.1.100:4118 LISTEN 0.0.0.0:8101 0.0.0.0:* ESTABLISHED 0 192.168.1.1:8105 192.168.1.100:4119 Explanation...
  • Page 215 show udp [Normal user] [Administrator] Function Display the status of UDP. Format show udp Parameters None Execution example (O)NS-2250# show udp↵ Send-Q Recv-Q LocalAddress RemoteAddress ------------------------------------------------------ 0.0.0.0:161 0.0.0.0:* 0.0.0.0:1024 0.0.0.0:* Explanation Send-Q Displays the number of datagrams saved in the transmission queue. Receive-Q Displays the number of datagrams saved in the reception queue.
  • Page 216 show stats ip [Normal user] [Administrator] Function Display the IP statistical information. Format show stats ip Parameters None ↵ Execution example (c)NS-2250# show stats ip <IP statistic information> Forwarding Datagrams Input Datagrams 11302 Input Discards Input Unknown Protocol Output Datagrams Output Discards <ICMP statistic information>...
  • Page 217 Explanation <IP statistic information> Forwarding Datagrams Displays the number of forwarded IP datagrams via IP. Input Datagrams Displays the number of received IP datagrams. Input Discardeds Displays the number of datagrams discarded at the time of reception. Input Unknown Protocol Displays the number of frames received in an unsupported protocol.
  • Page 218 Timestamp Displays the number of sent and received time stamp request messages. Timestamp Reply Displays the number of sent and received time stamp response messages. Address Mask Request Displays the number of sent and received address mask request messages. Address Mask Reply Displays the number of sent and received address mask response messages.
  • Page 219: Show Arp

    show arp [Normal user] [Administrator] Function Display the content of ARP entries. Format show arp Parameters None Execution example (c)NS-2250# show arp↵ ip-address mac-address interface --------------------------------------------------- 192.168.1.1 00:11:11:01:22:01 eth1 192.168.1.29 00:11:11:01:22:02 eth1 Explanation ip-address Displays the IP address of the host. mac-address Displays the Ethernet address of the host.
  • Page 220 show stats tcp [Normal user] [Administrator] Function Display TCP statistical information. Format show stats tcp Parameters None Execution example (c)NS-2250# show stats tcp↵ <TCP statistic information> Active Open Passive Open Input Segments 1323 Input Errors Output Segments 1323 Output Reset Retransmit Segments Current Established Explanation...
  • Page 221 show stats udp [Normal user] [Administrator] Function Display UDP statistical information. Format show stats udp Parameters None Execution example (c)NS-2250# show stats udp↵ <UDP statistic information> Input Datagrams Input Errors Input CSumErrors Output Datagrams Port Unreachable Explanation Input Datagrams Displays the number of received UDP datagrams. Input Errors Displays the number of UDP datagrams that generated errors at reception.
  • Page 222 show dns [Normal user] [Administrator] Function Display the settings of the NS-2250 DNS client function. Format show dns Parameters None Execution example (c)NS-2250# show dns↵ Local Domain:xxx.co.jp No. DNS Server -------------------- 192.168.0.100 Explanation Local domain Displays the name of the local domain. DNS server Displays the IP address of the primary and Secondary DNS server.
  • Page 223: User Status Display Commands

    5.3 User status display commands show user [Normal user] [Administrator] Function Display a list of created users. Format show user [ user name ] Parameters [ user name ] Display information on the specified user names. Execution example (c)NS-2250# show user↵ User-Name Category(Uid) Public-Key...
  • Page 224 Execution example (c)NS-2250# show user somebody↵ User-Name :somebody Category(Uid) :normal(100) Port-Access-List Public-Key Explanation User-Name Displays a list of created user names. Category (Uid) Displays the group name and the user ID corresponding to each user. Port-Access-List Displays a list of serial ports authorized for port users. Public-Key Displays the public key setting of SSH sessions for each user.
  • Page 225 show user login [Normal user] [Administrator] Function Display a list of currently logged in users. Format show user login Parameters None Execution example (c)NS-2250# show user login↵ User-Name Device Login-Time Idle-Time Remote-Host ------------------------------------------------------------------- somebody console Apr 27 17:58:49 18:04 hoge Apr 28 09:56:05 00:00 192.168.0.2 somebody...
  • Page 226: Snmp Status Display Command

    5.4 SNMP status display command show snmp [Normal user] [Administrator] Function Display the status of the SNMP agent. Format show snmp Parameters None ↵ Execution example (c)NS-2250# show snmp status : enable location contact linktrap : on powertrap : on authentrap : on coldstarttrap...
  • Page 227 location Displays the location where the device is installed. contact Display the administrator contact information. linktrap Displays the setting for the sending of link traps. powertrap Displays the setting for the sending of power traps. authentrap Displays the setting for the sending of authentication failure traps. coldstarttrap Displays the setting for the sending of cold start traps.
  • Page 228: Sntp Status Display Command

    5.5 SNTP status display command show sntp [Normal user] [Administrator] Function Display the status of the SNTP client. Format show sntp Parameters None Execution example ↵ (c)NS-2250# show sntp <sntp information> status : enable poll interval : 300 last sync server : 172.16.1.1 <primary server>...
  • Page 229 access result Displays the result of the last access to the SNTP server. 5-35...
  • Page 230: Syslog Status Display Command

    5.6 Syslog status display command show syslog [Normal user] [Administrator] Function Display the status of the syslog client. Format show syslog Parameters None ↵ Execution example (c)NS-2250# show syslog Syslog Status:enable No. Syslog Host Portlog-Facility Syslog-Facility ----------------------------------------------------------- 172.16.1.197 local0 local7 172.16.1.210 local0 local1...
  • Page 231: Nfs Status Display Command

    5.7 NFS status display command show nfs [Normal user] [Administrator] Function Display the status of the NFS client function. Format show nfs Parameters None ↵ Execution example (c)NS-2250# show nfs <NFS information> Status : enable Rotate : on Minute Hour Month Day of the week <NFS server 1>...
  • Page 232 Explanation Status Display the status of the NFS client function. Rotate Displays the port log rotation on/off setting and interval. IP address Displays the IP address of the NFS server. Path Displays the path of the NFS server where the port logs are saved. Protocol Displays the NFS protocol (TCP/UDP).
  • Page 233: Port Server Status Display Commands

    5.8 Port server status display commands show portd [Normal user] [Administrator] Function Display the port server status. Format show portd Parameters None Execution example (c)NS-2250# show portd↵ auth status : basic connect status : direct base port number telnet rw : 8101 ro : 8201 rw : 8301 ro : 8401 timeout status idle_timeout...
  • Page 234 idle_timeout Displays the idle timer setting of the port server. ro_timeout Displays the session timer setting of the port server. menu status Displays the display method of the port server menu. auto: Operates according to the port log save function setting. When the port log save function is enabled, the port server menu is displayed.
  • Page 235 show portd tty [Normal user] [Administrator] Function Display the port server setting for each serial port. Format show portd tty Parameters None Execution example (c)NS-2250# show portd tty↵ tty label rw ro session mode to brk nl -------------------------------------------------------------------------- 1 L3SW-1 2 3 both both on none cr 2 L3SW-2...
  • Page 236 Displayed when Monitoring mode(ro) are authorized. Displayed when both modes are authorized. No authorized. Displays the setting of the session timeout. session timeout is enable. session timeout is disable Displays the setting of the NVT break character conversion. Send the NVT break character. Not send the NVT break character.
  • Page 237 show portd session [Normal user] [Administrator] Function Display the status of port server sessions. Format show portd session [ tty ttylist ] Parameters [ tty ttylist ] Specify the tty number corresponding to the serial ports to display in the 1 to 48 range.
  • Page 238 Number of sessions remaining in the case the future sessions are only Telnet and in the case they are only SSH are displayed. Displays the serial port number. Label Displays the label attached to the serial port. Session-Limit Displays the number of sessions that can connect to the port. Type Displays the connection mode (rw/ro) and the session number.
  • Page 239 show tty [Normal user] [Administrator] Function Displays the status of the serial ports. Format show tty [ tty_number ] Parameters [ tty_number ] Specify the tty number corresponding to the serial ports to display in the 1 to 48 range. The range of ports that you can specify varies depending on the model.
  • Page 240 flow Displays the serial port flow control. Displays the setting of automatic hang up that occurs when there is a change in the DSR signal. (c)NS-2250# show tty 1↵ tty : 1 baud : 9600 bitchar parity : none stop flow : xon detect_dsr...
  • Page 241 show stats tty [Normal user] [Administrator] Function Displays the serial ports statistical information. Format show stats tty [ tty_number ] Parameters [ tty_number ] Specify the tty number corresponding to the serial ports to display in the 1 to 48 range. The range of ports that you can specify varies depending on the model.
  • Page 242 (c)NS-2250# show stats tty 1↵ tty : 1 TX Octets RX Octets Error Parity Error Framing : 0 Error Overrun : 0 Break Count Status : DSR :on, CTS :on, DTR :on, RTS :on, CD :on Explanation Displays the serial port number. TX octets Displays the number of sent octets.
  • Page 243 show logd [Normal user] [Administrator] Function Display the port log status of each serial port. Format show logd [ tty [ tty_number ] ] Parameters [ tty [ tty_number ] ] Specify the tty number corresponding to the serial ports to display in the 1 to 48 range.
  • Page 244 Explanation Displays the serial port number. Displays the save destination of the port log. size Displays the size of the port logs lstamp Displays the setting of login time stamp. syslog Displays the syslog output setting of the port log. Displays the NFS storage setting of the port log.
  • Page 245 Auth account SMTP server(1) : 172.16.1.197 Auth account Mail addr : user1@example.co.jp From addr : portuser@NS-2250 (default) Subject : "portlog TTY_01" (default) Type : attachment SMTP server(2) Auth account Mail addr From addr : portuser@NS-2250 (default) Subject : "portlog TTY_01" (default) Type : attachment Explanation...
  • Page 246 transfer. Auth account Displays the FTP account used when sending the port log. SMTP server Displays the address of the destination email server for port log external transfer. Auth account Displays the SMTP-Auth account used when sending the port log. Mail addr Displays the destination email address for sending the port log.
  • Page 247 show stats logd tty [Normal user] [Administrator] Function Display the port log statistical information of each serial port. Format show stats logd tty [ tty_number ] Parameters [ tty_number ] Specify the tty number corresponding to the serial ports to display in the 1 to 48 range.
  • Page 248 Displays the number of overflow bytes in screen display. ftp/mail Displays the number of overflow bytes in FTP/email sending. logsave Displays the number of overflow bytes in the “logsave” command. (c)NS-2250# show stats logd tty 1↵ tty : 1 Overflow Display : 0 byte FTP/MAIL : 0 byte Save : 0 byte...
  • Page 249: Console Port Status Display Command

    5.9 CONSOLE port status display command show console [Normal user] [Administrator] Function Display the CONSOLE port status. Format show console Parameters None Execution example (c)NS-2250# show console↵ Baud : 9600 BitChar Parity : none Stop Flow : xon Explanation Baud Displays the transfer speed of the CONSOLE port.
  • Page 250 show stats console [Normal user] [Administrator] Function Display the CONSOLE port statistical information. Format show stats console Parameters None Execution example (c)NS-2250# show stats console↵ <Console information> ---------------------------------- Receive Bytes 5663 Transmit Bytes 228498 Parity Errors Framing Errors Overrun Errors Break Count Status RTS|DTR|DSR...
  • Page 251: Display Command For The Internal Management Servers

    5.10 Display command for the internal management servers show service [Normal user] [Administrator] Function Display status of internal management servers. Format show service Parameters None Execution example (c)NS-2250# show service↵ <telnetd> status : enable port : 23 <sshd> status : disable port : 22 auth...
  • Page 252 formed. ftpd Displays the status of FTP server. status Displays the FTP server setting. 5-58...
  • Page 253: Display Command For The List Of Hosts And Services Authorized For Connection

    5.11 Display command for the list of hosts and services authorized for connection show allowhost [Normal user] [Administrator] Function Display a list of hosts and services authorized for connection. The following command is categorized under this group. Format show allowhost Parameters None Execution example...
  • Page 254: Setting File Display Commands

    5.12 Setting file display commands show config [Administrator] Function Display the NS-2250 current settings. Format show config [ running [ { all | acct | auth |console | dns |ether | ip [{host | route}]| logd | nfs | portd | service | snmp | sntp | syslog | system | temperature | terminal | tty | user } ] Parameters running...
  • Page 255 Execution example (c)NS-2250# show config running ip ↵ echo “IP configuration...” set hostname NS-2250 set ipaddr eth1 192.168.0.1/24 set tcpkeepalive 180 (c)NS-2250# Explanation The content of commands set by default is not displayed by using this command. 5-61...
  • Page 256 show config startup [Administrator] Function Display the content of the startup files. Format show config startup [ config_number [ { internal | external } ] ] Parameters [ config_number [ { internal | external } ] ] The content of the startup file selected when the NS-2250 starts is displayed if this parameter is omitted.
  • Page 257 show config info [Administrator] Function Display information related to the startup files. Format show config info Parameters None Execution example (c)NS-2250# show config info↵ boot startup : external startup1 internal startup files name date size default ------------------------------------------- startup1 May 2 03:59 startup2 May 2 03:59 startup3...
  • Page 258 date Displays the date and time of the file. size Displays the file size. The unit is a byte. default “*” is shown to the startup file set as default. 5-64...
  • Page 259: Terminal Setting Information Display Command

    5.13 Terminal setting information display command show terminal [Normal user] [Administrator] Function Display the settings of the used terminal. Format show terminal Parameters None Execution example (c)NS-2250# show terminal timeout : off width : 80 height : 23 page : disable editing : enable redisp...
  • Page 260: Authentication/Accounting Function Display Commands

    5.14 Authentication/accounting function display commands show auth [Normal user] [Administrator] Function Display the user authentication method. Format show auth Parameters None Execution example (c)NS-2250# show auth↵ <auth information> Mode : radius su_cmd username : root Explanation Mode Display the user authentication method. local: Use NS-2250 local authentication for user authentication.
  • Page 261 show auth radius [Normal user] [Administrator] Function Display the RADIUS authentication client settings. Format show auth radius Parameters None Execution example (c)NS-2250# show auth radius↵ <auth radius information> Retry Default User : none <radius server 1> IP address : 172.31.1.197 Port number : 1812 Password...
  • Page 262 Explanation <auth radius information> Display the RADIUS authentication settings. Retry Displays the number of retries for sending the RADIUS authentication packet. Default User Displays the access method for users for which a user group cannot be identified (access group or “filter_id_head” setting does not match). <radius server>...
  • Page 263 show auth tacacs [Normal user] [Administrator] Function Display the settings for TACACS+ authentication and approval. Format show auth tacacs Parameters None Execution example (c)NS-2250# show auth tacacs↵ <auth tacacs+ information> Default User : none Service Name : smartcs <tacacs+ server 1> IP address : 10.1.1.1 Port number...
  • Page 264 The port number is fixed to TCP 49. Password Display the secret key setting of the TACACS+ server. Timeout Displays the timeout time for the TACACS+ server. The unit is one second. 5-70...
  • Page 265 show auth access_group [Normal user] [Administrator] Function Display the access group setting information. Format show auth access_group [ root | normal | portusr [ port [ enable_port_list ]] | attr string ] Parameters [ root | normal | portusr [ port [ enable_port_list ]] | attr string ] The settings of all access groups (normal users, device management users, and port users) are displayed when this parameter is omitted.
  • Page 266 <normal> attr : aaaa attr : normal ---------------------------------------------------------------------- <portusr> attr : portusr port : 1-48 attr : smartcs port : 1-32 [When using TACACS+] (c)NS-2250# show auth access _ group↵ Protocol : Tacacs+ Attribute : UserSpecific ---------------------------------------------------------------------- <root> attr_val : grp=admin attr_val : grp=manager ---------------------------------------------------------------------- <normal>...
  • Page 267 Explanation Protocol Displays the set authentication protocol. Attribute Displays the attribute used for user group identification. Filter-Id The attribute is “Filter-Id” when using RADIUS. User Specific The user specific pair (attribute value pair) can be freely defined by the device administrator. <root>...
  • Page 268 [When using TACACS+] (c)NS-2250# show auth access _ group portusr port 1↵ Protocol :Tacacs+ Attribute :UserSpecific (Attribute Value Pair) Category :portusr ---------------------------------------------------------------------- port : 1 attr_val : grp=grp1 attr_val : grp=grp2 Explanation Protocol Displays the set authentication protocol. Attribute Displays the attribute used for user group identification. Filter-Id The attribute is “Filter-Id”...
  • Page 269 Execution example [When using RADIUS] (c)NS-2250# show auth access _ group attr grp1↵ Protocol : Radius Attribute : Filter-ID ---------------------------------------------------------------------- <portusr> attr : smartcs port : 1-32 [When using TACACS+] (c)NS-2250# show auth access _ group attr grp↵ Protocol :Tacacs+ Attribute : UserSpecific (Attribute Value Pair) ---------------------------------------------------------------------- <portusr>...
  • Page 270 Displays the registered access group name. When using RADIUS, the attribute name freely defined by the device administrator are displayed. attr_value Displays the registered access group name. When using TACACS+, the attribute name and value pair freely defined by the device administrator are displayed in the following format: attribute=value.
  • Page 271 show stats auth radius [Normal user] [Administrator] Function Display the statistical information of RADIUS authentication client. Format show stats auth radius Parameters None Execution example (c)NS-2250# show stats auth radius↵ <auth radius statistics> Id IP address Send Rcv_Allow Rcv_Deny Rcv_Error Timeout ------------------------------------------------------------------- 1 172.31.1.197...
  • Page 272 show stats auth tacacs [Normal user] [Administrator] Function Displays TACACS+ statistical information. Format show stats auth tacacs [ detail ] Parameters [ detail ] Displays the detail of TACACS+ statistical information. The outline of TACACS+ statistical information is displayed if this parameter is omitted.
  • Page 273 Recv_Error Displays the number of received TACACS+ authentication/approval error packets. Timeout Displays the number of TACACS+ authentication/approval timeout events. Execution example (c)NS-2250# show stats auth tacacs detail↵ <authentication tacacs+ statistics> IP address --------------------------------------------------- Connection_OK Connection_NG Send_Start Send_Start_NG Send_Continue Send_Continue_NG Recv_Pass Recv_GetUser Recv_GetPass Recv_Fail...
  • Page 274 Send_NG Recv_PassAdd Recv_PassReplace Recv_Fail Recv_Error Recv_Follow Recv_LengthErr Recv_SeqNoErr Recv_Illegal Timeout Explanation <authentication tacacs+ statistics> Displays the authentication statistics of the TACACS+ server. Displays the identification number of the TACACS+ server. IP address Displays the IP address of the TACACS+ server. Connection_OK Number of successfully established connections Connection_NG...
  • Page 275 Recv_Restart Number of times the TAC_PLUS_AUTHEN_STATUS_RESTART AUTHEN_REPLY packet has been received Recv_Error Number of times the TAC_PLUS_AUTHEN_STATUS_ERROR AUTHEN_REPLY packet has been received Recv_Follow Number of times the TAC_PLUS_AUTHEN_STATUS_FOLLOW AUTHEN_REPLY packet has been received Recv_LengthErr Number of received packets with an invalid length Recv_SeqNoErr Number of received packets with an invalid sequence number Recv_SeqNoLimit...
  • Page 276 Number of times the TAC_PLUS_AUTHOR_STATUS_FOLLOW AUTHOR_RESPONSE packet has been received Recv_LengthErr Number of received packets with an invalid length Recv_SeqNoErr Number of received packets with an invalid sequence number Recv_Illegal Number of received packets which are not prescribed Authorization_response packets Timeout Number of timeout events 5-82...
  • Page 277 show acct [Normal user] [Administrator] Function Display the account saving method. Format show acct Parameters None Execution example (c)NS-2250# show acct↵ <acct information> Mode : radius Explanation Mode local : Accounts are not sent. radius : Accounts are sent to a RADIUS accounting server. tacacs : Accounts are sent to a TACACS+ server.
  • Page 278 show acct radius [Normal user] [Administrator] Function Display the RADIUS accounting client settings. Format show acct radius Parameters None Execution example (c)NS-2250# show acct radius↵ <acct radius information> Retry Auth_deny_stop : remote Session_id : 262780267 <radius server 1> IP address : 172.16.1.1 Port number : 1813...
  • Page 279 Displays the last session ID of the RADIUS accounting packet. <radius server> IP address Displays the IP address of the RADIUS accounting server. Port number Displays the port number of the RADIUS accounting server. Password Display the secret key setting of the RADIUS accounting server. Timeout Displays the timeout time for the RADIUS accounting server.
  • Page 280 show acct tacacs [Normal user] [Administrator] Function Display the settings for TACACS+ accounting. Format show acct tacacs Parameters None Execution example (c)NS-2250# show acct tacacs↵ <acct tacacs+ information> Auth_deny_stop : remote Task_id <tacacs+ server 1> IP address : 10.1.1.1 Port number : 49 Password : stored...
  • Page 281 Displays the port number of the TACACS+ server. Password Display the secret key setting of the TACACS+ server. Timeout Displays the timeout time for the TACACS+ server. The unit is one second. 5-87...
  • Page 282 show stats acct radius [Normal user] [Administrator] Function Display statistical information of the RADIUS accounting client. Format show stats acct radius Parameters None Execution example (c)NS-2250# show stats acct radius↵ <acct radius statistics> Id IP address Send_Start Send_Stop Rcv_Resp Rcv_Error Timeout ----------------------------------------------------------------------- 1 192.168.100.1...
  • Page 283 show stats acct tacacs [Normal user] [Administrator] Function Display statistical information of TACACS+ accounting. Format show stats acct tacacs [ detail ] Parameters [ detail ] Displays the detail of TACACS+ accounting statistical information. The outline of TACACS+ statistical information is displayed if this parameter is omitted.
  • Page 284 Execution example (c)NS-2250# show stats acct tacacs detail↵ <acct tacacs+ statistics> IP address --------------------------------------------------- Connection_OK Connection_NG Send_Start Send_Stop Send_NG Recv_Success Recv_Error Recv_Follow Recv_LengthErr Recv_SeqNoErr Recv_Illegal Timeout Explanation <acct tacacs+ statistics> Display the detailed statistical information for each TACACS+ server. Connection_OK Number of successfully established connections Connection_NG Number of connection failures...
  • Page 285 Recv_SeqNoErr Number of received packets with an invalid sequence number Recv_Illegal Number of received packets which are not prescribed Accounting_response packets Timeout Number of timeout events 5-91...
  • Page 286: Time Zone Display Command

    5.15 Time zone display command show timezone [Normal user] [Administrator] Function Display the NS-2250 time zone and a list of the time zones that can be set. Format show timezone [ list [ string ]] Parameters [ list [ string ]] The time zone currently set to the NS-2250 is displayed if this parameter is omitted.
  • Page 287: Chapter 6 Maintenance Commands

    Chapter 6 Maintenance commands The chapter 6 describes the maintenance commands that can be used on the NS-2250. Chapter content Basic maintenance commands Management commands for settings files Management command for the system software Console output control commands Terminal output control commands...
  • Page 288: Basic Maintenance Commands

    Basic maintenance commands date [Normal user] [Administrator] Function Set and display the NS-2250 date and time. Format date [ YYYY/MM/DD hh:mm:ss | ntp { ipaddr | host } ] Parameters [ YYYY/MM/DD hh:mm:ss | ntp { ipaddr | host } ] YYYY/MM/DD hh:mm:ss To set the date and time manually, enter the date in the “year/month/day”...
  • Page 289 engineering [Administrator] Function Switch the NS-2250 operating mode to engineering mode. Format engineering [password] Parameters [password] Set the password for maintenance engineer users. When the command is executed with this parameter specified, a message prompting you to enter a password is displayed. Enter a password.
  • Page 290 exit [Normal user] [Administrator] Function This command is alias of logout Format exit Parameters None Explanation For details about logout , see logout command.
  • Page 291 logout [Normal user] [Administrator] Function Log out from the NS-2250. Format logout Parameters None Explanation When this command is executed in the following modes, you exit the mode. You return to the normal user mode when executed in the device management user mode.
  • Page 292 ping [Normal user] [Administrator] Function Confirm the communication with the connected host on an IP network. Format ping [ count number ] [ interval sec ] [ length len ] { dstaddr | host } Parameters [ count number ] Specify the number of ping request packets to send in the 1 to 65535 range.
  • Page 293 reboot [Administrator] Function Reboot the NS-2250. Format reboot [ { main | backup } ] [ startup config_number [ { internal | external } ] ] Parameters [ { main | backup } ] Select the system software to reboot. The NS-2250 includes two system software units.
  • Page 294 shutdown [Administrator] Function Shut down the NS-2250. Format shutdown [ logclear ] Parameters [ logclear ] Shut down the NS-2250 and delete the following logs at the same time. ● Console log ● Command log ● Log file created with the “logsave” command ●...
  • Page 295 [Normal user] Function Log in as a device management user. Format Parameters None Usage example su...
  • Page 296 telnet [Normal user] [Administrator] Function Log in to a connected host via a Telnet client. Format telnet { dstaddr | host } [ tcpport ] Parameters { dstaddr | host } Specify the IP address or host name of the connected host to which you want to log in.
  • Page 297 traceroute [Normal user] [Administrator] Function Examine the information of the route to the specified host. Format traceroute [udp udpport ] { dstaddr | host } Parameters [udp udpport ] Set the number of the UDP port to examine. This parameter is set to “33434” by default. { dstaddr | host } Specify the IP address or host name of the host of the route you want to examine.
  • Page 298 switch bonding [Administrator] Function Switch the active port. Format switch bonding { eth1 | eth2 } Parameters { eth1 | eth2 } Specify the slave interface which you want to switch to active port. Note When a state of the slave interface is down or going back , you can't switch it to active port.
  • Page 299 hangup [Administrator] Function Reset the service of a specific serial port. Format hangup tty tty_number Parameters tty tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range. The range of ports that you can specify varies depending on the model. Specify a list of serial ports separated by hyphens “-”...
  • Page 300 history [Normal user] [Administrator] Function Display the command execution history. Format history Parameters None Execution example (c)NS-2250# history↵ 1 show version 2 show stats tty 1 3 history Explanation The last 20 commands are displayed. 6-14...
  • Page 301 logsave [Administrator] Function Save the port logs of serial ports. Format logsave tty tty_number Parameters tty_number Specify the tty number corresponding to the serial port in the 1 to 48 range. The range of ports that you can specify varies depending on the model. Save the log of the specified serial ports into a file.
  • Page 302 loginfo [Administrator] Function Display a list of port log files saved in a FLASH memory, and the used and free space. Format loginfo Parameters None Usage example loginfo Execution example (c)NS-2250# loginfo ↵ Total(1K-blocks) Used Available Use% --------------------------------------------- 471620 2318 440434 Size SaveTime...
  • Page 303 clear arp [Administrator] Function Delete all dynamic ARP entries registered in the NS-2250. Format clear arp Parameters None Usage example To delete the dynamic ARP entries of the NS-2250. clear arp Note The ARP entry referred to from a routing cash table inside the NS-2250 isn't deleted.
  • Page 304 trace [Administrator] Function Perform tracing of the packets sent and received by the NS-2250 for each protocol. Format trace {eth1 | eth2 | bond1} { icmp | radius | tacacs } [ count packet_cnt ] [ level { 1 | 2 | 3 } ] {eth1 | eth2 | bond1} Parameters Specify the interface of the NS-2250.
  • Page 305 disconnect [Administrator] Function Disconnect the TCP session connected to the specified service. Format disconnect { ftp | ftpd | sftpd | portd tty tty_list } [ { all | rw { all | session_id }| ro { all | session_id } } ] Parameters disconnect { ftp | ftpd | sftpd | portd tty tty_list } Specify the service of the connected TCP session.
  • Page 306 tftp setup [Administrator] Function Send and receive the startup files by TFTP. Format tftp { get | put } setup startup { 1 | 2 | 3 | 4 | number } { internal | external } [ bsize size ] [ remote“remote_file” ] ipaddr Parameters { get | put } Send and receive the startup files by TFTP.
  • Page 307 tftp verup [Administrator] Function Send and receive the upgrade files for system by TFTP. Format tftp { get | put } verup { system | system-image } [ bsize size ] [ remote“remote_file” ] ipaddr Parameters { get | put } Send and receive the upgrade files for system by TFTP.
  • Page 308 tftp log [Administrator] Function Send the log files by TFTP. Format tftp put log “logfiles” [ bsize size ] [ remote “remote_file”] ipaddr Parameters Send a log file to a TFTP server. log “logfiles” Enter a character string within double quotation marks to specify the log file created using the “logsave”...
  • Page 309 tftp support [Administrator] Function Send the supportlog files by TFTP. Format tftp put support [ bsize size ] [ remote “remote_file”] ipaddr Parameters put support Send the supportlog files by TFTP. [ remote “remote_file” ] Specify the name and path of the file to save in the TFTP server within double quotation marks.
  • Page 310 [Administrator] Function Various files is sent and received between the FTP server. Format ftp { setup { internal | external } | verup | support | log } ftp_server Parameters { setup { internal | external } | verup | support | log } Various files is sent and received between the TFTP server.
  • Page 311 Specify character strings are startup1-4, startup_number, system and NS-2250.sys put <local> [ <remote> ] Send the file to a server. <local> Specify character strings are startup1-4, startup_number, system and NS-2250.sys [ <remote> ] The remote filename <local> is set if this parameter is omitted. mget Received the files on the server.
  • Page 312: Management Commands For Settings Files

    6.2 Management commands for settings files write [Administrator] Function Save the NS-2250 current settings in the specified startup file. Format write [ startup config_number [ { internal | external } ] ] Parameters [ startup config_number [ { internal | external } ] ] startup config_number Specify “startup”...
  • Page 313 clear startup [Administrator] Function Return the specified startup file to the default settings. Format clear startup { config_number | all } [ { internal | external } ] Parameters { config_number | all } config_number Specify the number (1 to 4) of the startup file to return to the default settings in config_number.
  • Page 314 default startup [Administrator] Function Specify the startup file to be imported at startup. Format default startup config_number [ { internal | external } ] Parameters startup config_number config_number Specify the number (1 to 4) of the startup file to set as the default startup file.
  • Page 315 copy startup [Administrator] Function Copy a startup file. Format copy startup config_number1 [ { internal | external } ] to startup config_number2 [ { internal | external } ] Parameters startup config_number1 Specify the number (1 to 4) of the startup file to copy. [ { internal | external } ] internal Specify “internal”...
  • Page 316 echo [Administrator] Function Display the specified character string. Format echo string Parameters string Specify the character string to display. You can specify from 1 through 128 characters. Enter the character strings within double quotation marks (“”) to display multiple strings. After system has started, this command doesn’t display a specified character strings.
  • Page 317: Management Command For The System Software

    6.3 Management command for the system software copy system [Administrator] Function Copy the system software image. Format copy system { main | backup } to { main | backup } Parameters system { main | backup } Specify “main” or “backup” for the system software to copy. to { main | backup } Specify “main”...
  • Page 318 verup execute [Administrator] Function Upgrade or downgrade the system software using a file sent via FTP or SFTP. Format verup execute { main | backup } Parameters { main | backup } Explanation Rebooting may take a long time after the “verup execute” command and upgrade/downgrade have been executed.
  • Page 319 verup cleanup [Administrator] Function Delete the system software upgrade or downgrade file sent via FTP or SFTP. Format verup cleanup Parameters None Usage example Delete the system software upgrade or downgrade file (0)NS-2250# verup cleanup clean up successful (0)NS-2250# 6-33...
  • Page 320 backup system-image [Administrator] Function Made the backup of system software. Backup file is made on the RAM. Format backup system-image { main | backup } Parameters { main | backup } Specify the system software which makes a backup. main Made the backup of main system software.
  • Page 321 restore system-image [Administrator] Function Restore the backup of system software. Format restore system-image to { main | backup } Parameters to { main | backup } Specify the system software which restores a backup. main Restore the main system software. backup Restore the backup system software.
  • Page 322 clear system-image [Administrator] Function Delete the backup file of system software. Format clear system-image Parameters None Note This commands are the backup file made by the backup command and the command from which forwarded backup file is send by TFTP/SFTP/FTP. For details of restore operation, see the NS-2250 Instruction Manual.
  • Page 323 show system-image [Administrator] Function Displays the backup file and restore file of system software. Format show system-image Parameters None Execution example (0)NS-2250# show system-image System Image Name : NS-2250.sys Product : NS-2250 Version : 1.0.1 Date : 2015-10-07 Status : available (0)NS-2250# Explanation System Image Name...
  • Page 324: Console Output Control Commands

    6.4 Console output control commands console [Administrator] Function The output destination of a console message is controlled. Format console [ { on | off } ] Parameters [ { on | off } ] Displays the status of system image. The parameter “on”...
  • Page 325: Terminal Output Control Commands

    6.5 Terminal output control commands terminal timeout [Normal user] [Administrator] Function Set the terminal automatic logout time. Format terminal timeout { on time | off } Parameters { on time | off } Specify the time for automatic logout timeout of the user that executed the command on the terminal.
  • Page 326 terminal editing [Normal user] [Administrator] Function Enable or disable the terminal line editing function. Format terminal editing { enable | disable } Parameters { enable | disable } Set to enable or disable the editing of command lines using the terminal delete and arrow keys.
  • Page 327 terminal page [Normal user] [Administrator] Function Enable or disable the terminal paging function. Format terminal page { enable | disable } Parameters { enable | disable } With this command you can enable the paging function that separates the output text into a different page when the text exceeds the specified number of lines per page.
  • Page 328 terminal height [Normal user] [Administrator] Function Specify the number of lines per page of the terminal. Format terminal height rows Parameters rows Specify the number of lines per page from 10 through 256. The default parameter is set according to the “set terminal default height” command setting.
  • Page 329 terminal width [Normal user] [Administrator] Function Specify the number of characters per line of the terminal. Format terminal width columns Parameters columns Specify the number of characters per line from 40 through 256. The default parameter is set according to the “set terminal default width” command setting.
  • Page 330 terminal prompt [Normal user] [Administrator] Function Specify the display format of the terminal prompt. Format terminal prompt { device { on | off } | hostname { on | off } | time { on | off } } Parameters { device { on | off } | hostname { on | off } | time { on | off } } Specify the display format of the terminal prompt.
  • Page 331 (c) indicates that the terminal used is connected to the CONSOLE port. When a number is shown in the parentheses (), it means that the terminal used is a Telnet/SSH terminal connected to the NS-2250. The number in parentheses is the terminal number.
  • Page 332 terminal redisp [Normal user] [Administrator] Function Specify whether or not to redisplay the previously entered command string on the next prompt screen after a command input error has occurred. Format terminal redisp { on | off } Parameters { on | off } Specify “on”...
  • Page 333: Chapter 7 Other Commands

    Chapter 7 Other commands The chapter 7 describes the other setting commands that can be used on the NS-2250. Chapter content Port server menu commands Port selection menu commands...
  • Page 334: Port Server Menu Commands

    7.1 Port server menu commands Commands used to operate sessions and logs displayed in the port server. ● 0(return Port Select Menu) ● 1(display Port Log) ● 2(display Port Log (LAST)) ● 3(start tty connection) ● 4(close telnet/ssh session) ● 5(show all commands) ●...
  • Page 335 0(return Port Select Menu) [Port user] Function Return to port selection menu. Explanation This menu appears only when Select mode is selected. It does not appear when Direct mode is selected. Execution example connect tty 1 RW mode -- RW1 ------------------------ Host : "NS-2250-1"...
  • Page 336 1(display Port Log) [Port user] Function Display the port log of the currently connected serial port. Execution example tty-1:rw>1↵ Sep 8 11:16:15 ether: port 1 LINK DOWN. Sep 8 11:16:15 ether: port 2 LINK DOWN. Display the log of monitored equipment) ・...
  • Page 337 2(display Port Log (LAST)) [Port user] Function Display the most recent part of the ports log of the currently connected serial port. Explanation Displays approximately the 5000 most recent characters of the port log. Execution example tty-1:rw>2↵ ・ ・ ・ Sep 8 11:30:15 ether: port 1 LINK UP.
  • Page 338 3(start tty connection) [Port user] Function Access the monitored equipment. Execution example tty-1:rw>3↵ Press "CTRL-A" to return this MENU. Start tty connection Welcome to xxxx xxxxx login: Explanation See the description of the “set portd tty cmdchar” command for details on how to set “cmdchar”.
  • Page 339 4(close telnet/ssh session) [Port user] Function Close the session of the currently connected serial port. Explanation Only the session in which the command has been entered is closed. The other connected sessions do not change.
  • Page 340 5(show all commands) [Port user] Function Display a list of port server menu commands. Execution example tty-1:rw>5↵ -- RW1 ------------------------ Host : "NS-2250-1" Label : L3SW-1 ------------------------------- 1 : display Port Log 2 : display Port Log (LAST) 3 : start tty connection 4 : close Telnet/SSH session 5 : show all commands 6 : display &...
  • Page 341 6(display & erase Port Log) [Port user] Function Display and delete the port log of the currently connected serial port. Explanation When this command is executed, port logs saved in the USB memory or NS- 2250 internal memory are not actually deleted. It simply hides the log displayed with “1: display Port Log”.
  • Page 342 7(erase Port Log) [Port user] Function Delete the port log of the currently connected serial port. Explanation When this command is executed, port logs saved in the USB memory or NS- 2250 internal memory are not actually deleted. It simply hides the log displayed with “1: display Port Log”.
  • Page 343 8(send Port Log) [Port user] Function Forcibly send the port log of the currently connected serial port to the external FTP/email server that has been set. Explanation If no destination server (FTP or email) has be set for the port logs, nothing happens when you execute this command.
  • Page 344 9(show Port Log configuration) [Port user] Function Display setting information, such as the save space, transfer interval, and transfer destination server of the port log of the currently connected serial port. Execution example tty-1:rw>9↵ tty : 1 Log : on, size : 500KB Syslog output : on NFS output...
  • Page 345 10(send break to tty) [Port user] Function Send a break signal to the currently connected serial port. Note To send a break signal to a serial port with this command, you must first use the “set portd tty brk_char brk” command to make the settings to enable the sending of NTV break characters.
  • Page 346: Port Selection Menu Commands

    7.2 Port selection menu commands Commands of the port selection menu displayed in the port server when in Select mode. ●<ttyno> ●<ttyno>r ●l ●l<ttyno>-<ttyno> ●d ●d<ttyno>-<ttyno> ●h ●e When you log in as a port user to the NS-2250 from a Telnet/SSH client, and when the port server connection mode is Select mode, the following port selection menu is displayed.
  • Page 347 <ttyno> [Port user] Function Connect to the specified serial ports in Normal mode. Execution example To connect to the serial port 7 in Normal mode. 7-15...
  • Page 348 <ttyno>r [Port user] Function Connect to the specified serial ports in Normal mode. Execution example To connect to the serial port 7 in Monitoring mode. 7-16...
  • Page 349 [Port user] Function Refresh the list of ports to which connection is possible. 7-17...
  • Page 350 l<ttyno>-<ttyno> [Port user] Function Refresh the specified range of ports from list of ports to which connection is possible. Execution example To redisplay serial ports 2 to 8. l2-8 To redisplay serial ports 10 and higher numbers. l10- To redisplay serial ports 15 and lower numbers. l-15 7-18...
  • Page 351 [Port user] Function Refresh detailed information of the user connected to the serial port (port number, user name, and IP address of Telnet/SSH client). 7-19...
  • Page 352 d<ttyno>-<ttyno> [Port user] Function Refresh detailed information of the users connected to a range serial ports (port number, user name, and IP address of Telnet/SSH client). Execution example To redisplay serial ports 2 to 8. d2-8 To redisplay serial ports 10 and higher numbers. d10- To redisplay serial ports 15 and lower numbers.
  • Page 353 [Port user] Function Display a list of port selection menu commands. 7-21...
  • Page 354 [Port user] Function Close the port selection menu and disconnect the Telnet/SSH session. 7-22...
  • Page 355 8, Nakase 1-chome, Mihama-ku, Chiba-shi, Chiba 261-8507,Japan tel (+81)43-273-3184 http://www.seiko-sol.co.jp...

Table of Contents