Seiko SmartCS NS-2250 Command Reference Manual

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

Advertisement

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 nec-
essary.

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 nec- essary.
  • 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

    Contents 1 Command overview 1.1 Objects and commands ........13 1.2 Object commands overview .
  • Page 5 Contents Contents enable ipfilter ..........58 disable ipfilter .
  • Page 6 Contents Contents unset snmp location ........113 unset snmp contact .
  • Page 7 Contents Contents set portd telrw ......... . . 163 set portd telro .
  • Page 8 Contents Contents unset auth tacacs server addr ........219 delete auth access group .
  • Page 9 Contents Contents show ndp ..........279 show stats tcp .
  • Page 10 Contents Contents 5.18 Time zone display command ........346 show timezone .
  • Page 11 Contents Contents 7 Other commands 7.1 Port server menu commands ........396 0 (return Port Select Menu) .
  • Page 12: Command Overview

    Chapter1 Command overview Chapter 1 describes the command types, and gives an overview of objects and commnads.
  • Page 13: Objects And Commands

    1.1 Objects and commands Chapter 1 Command overview 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 14: Object Setting Sequence

    1.3 Object setting sequence Chapter 1 Command overview 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 the object attributes...
  • Page 15: List Specification

    1.4 List specification Chapter 1 Command overview 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 ”,”...
  • Page 16: Command List

    Chapter2 Command list Chapter 2 describes overview of the command.
  • Page 17: Setting Command Overview

    2.1 Setting command overview Chapter 2 Command list Setting command overview This section gives a list of setting commands that can be used on the NS-2250. Table 2-1: Setting command list Class Command Description System setting com- set hostname Configure the NS-2250 host name. mands set ipaddr Set the NS-2250 IP address.
  • Page 18 2.1 Setting command overview Chapter 2 Command list Table 2-1: Setting command list(continued) Class Command Description set ipsec conn leftsour- Set the source IP address of own side which ceip communicates in the IPsec tunnel. set ipsec conn rightid Set the ID of the security gateway of the op- posite side.
  • Page 19 2.1 Setting command overview Chapter 2 Command list Table 2-1: Setting command list(continued) Class Command Description enable ipsec conn Enable the IPsec function. disable ipsec conn Disable the IPsec function. DNS setting command set dns Register the DNS server used for name reso- lution.
  • Page 20 2.1 Setting command overview Chapter 2 Command list Table 2-1: Setting command list(continued) Class Command Description unset community Remove the settings of the community name and SNMP server that can use it to access the NS-2250. Syslog setting com- set syslog host Set the facility and syslog server where to send mands the syslog messages.
  • Page 21 2.1 Setting command overview Chapter 2 Command list Table 2-1: Setting command list(continued) Class Command Description set logd tty mail sender Set the email address of the sender for port logs. set logd tty mail auth Set SMTP authentication for the port log emails.
  • Page 22 2.1 Setting command overview Chapter 2 Command list Table 2-1: Setting command list(continued) Class Command Description Telnetd setting com- set telnetd port Set the Telnet server port number. mands enable telnetd Enable the Telnet server. disable telnetd Disable the Telnet server. sshd setting commands set sshd auth Set the user authentication type for the SSH...
  • Page 23 2.1 Setting command overview Chapter 2 Command list Table 2-1: Setting command list(continued) Class Command Description set auth tacacs server Set the secret key of the TACACS+ server (authentication/approval). set auth tacacs server Set the timeout time for the response packet timeout sent back from the TACACS+ server (authen- tication/approval).
  • Page 24 2.1 Setting command overview Chapter 2 Command list Table 2-1: Setting command list(continued) Class Command Description set acct tacacs server Set the timeout time for the response packet timeout sent back from the TACACS+ server (ac- counting). unset acct radius server Remove the IP address of the RADIUS ac- addr counting server.
  • Page 25: Display Commands Overview

    2.2 Display commands overview Chapter 2 Command list 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 display show version Display the system hardware configuration, commands system software version, boot information, etc.
  • Page 26 2.2 Display commands overview Chapter 2 Command list Table 2-2: Display command list(continued) Class Command Description show stats ipfilter Display the statistics information of the ipfil- ter. Ipsec status display show ipsec secret Display the registration list of apre-shared key commands used in the IKE.
  • Page 27 2.2 Display commands overview Chapter 2 Command list Table 2-2: Display command list(continued) Class Command Description show config info Display information related to the startup files. Terminal setting show terminal Display the settings of the used terminal. formation display command Authentication/accounting show auth Display the user authentication method.
  • Page 28: Maintenance Command Overview

    2.3 Maintenance command overview Chapter 2 Command list Maintenance command 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 com- date Set and display the NS-2250 date and time. mands engineering Switch the NS-2250 operating mode to engi-...
  • Page 29 2.3 Maintenance command overview Chapter 2 Command list Table 2-3: Maintenance command list(continued) Class Command Description copy startup Copy a startup file. echo Display the specified character string. Management command copy system Copy the system software image. for the system software verup execute Upgrade or downgrade the system software us- ing a file sent via FTP or SFTP.
  • Page 30: Other Commands Overview

    2.4 Other commands overview Chapter 2 Command list 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...
  • Page 31: Command Reference Format

    Chapter3 Command reference format Chapter 3 describes the format used in this command reference.
  • Page 32 Chapter 3 Command reference format The commands in thie reference manual are explained by class and by object following the format described below. Command name [Users who can use the command/mode in which the command is available] Function The command function is explained here. Format The command input format is described here.
  • Page 33: Setting Commands

    Chapter4 Setting commands Chapter 4 describes the setting commands that can be used on the NS-2250.
  • Page 34: System Setting Commands

    4.1 System setting commands Chapter 4 Setting commands 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.
  • Page 35: Set Ipaddr

    4.1 System setting commands Chapter 4 Setting commands set ipaddr [Administrator] Function Set the NS-2250 IP address. set ipaddr [{ eth1 | eth2 | bond1}] ipaddr/mask Format [{ eth1 | eth2 | bond1 }] Parameters Specify the interface of the NS-2250. The default setting for this parameter is eth1.
  • Page 36: Unset Ipaddr

    4.1 System setting commands Chapter 4 Setting commands unset ipaddr [Administrator] Function Unset the NS-2250 IP address. unset ipaddr { eth1 | eth2 | bond1 } Format { eth1 | eth2 | bond1 } Parameters Specify the interface of the NS-2250. The default setting for this parameter is eth1.
  • Page 37: Set Tcpkeepalive

    4.1 System setting commands Chapter 4 Setting commands 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 38: Bonding Setting Commands

    4.2 bonding setting commands Chapter 4 Setting commands 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. set bonding up delay { on delay time | off } Format { on delay time | off...
  • Page 39: Enable Bonding

    4.2 bonding setting commands Chapter 4 Setting commands enable bonding [Administrator] Function Enable the bonding function. Format enable bonding Parameters None • The bonding function is disable by default. Note • 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 40: Disable Bonding

    4.2 bonding setting commands Chapter 4 Setting commands disable bonding [Administrator] Function Disable the bonding function. Format disable bonding Parameters None • When the bonding function is disabled, the setting of IP address/routing at bond1 Note is automatically inherited to eth1. •...
  • Page 41: Ipinterface Setting Commands

    4.3 ipinterface setting commands Chapter 4 Setting commands ipinterface setting commands set ipinterface mtu [Administrator] Function Set the MTU of each interface. set ipinterface { eth1 | eth2 | bond1 } mtu mtu size Format { eth1 | eth2 | bond1 } Parameters Specify the interface to set the MTU.
  • Page 42: Ipv6 Setting Commands

    4.4 IPv6 setting commands Chapter 4 Setting commands IPv6 setting commands create ip6 [Administrator] Function Enable the IPv6 communication function. Format create ip6 Parameters None • The IPv6 communication function is disabled by default. Note • When IPv6 communication function is enabled, the following commands can be executed.
  • Page 43: Set Ip6Addr

    4.4 IPv6 setting commands Chapter 4 Setting commands set ip6addr [Administrator] Function Set the NS-2250 IPv6 address. set ip6addr { eth1 | eth2 | bond1 } ip6addr/mask Format { eth1 | eth2 | bond1 } Parameters Specify the interface of the NS-2250. ip6addr/mask Specify the IPv6 address of this device with ”IPv6 address/mask length”.
  • Page 44: Unset Ip6Addr

    4.4 IPv6 setting commands Chapter 4 Setting commands unset ip6addr [Administrator] Function Unset the NS-2250 IPv6 address. unset ip6addr { eth1 | eth2 | bond1 } Format { eth1 | eth2 | bond1 } Parameters Specify the interface of the NS-2250. •...
  • Page 45: Delete Ip6

    4.4 IPv6 setting commands Chapter 4 Setting commands delete ip6 [Administrator] Function Disable the IPv6 communication function. Format delete ip6 Parameters None • The IPv6 communication function is disabled by default. Note • When IPv6 communication function is disable, the following commands cannot be executed.
  • Page 46: Ip Host Setting Commands

    4.5 IP host setting commands Chapter 4 Setting commands 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). create ip host hostname { ipaddr | ip6addr } [ port port num ] Format Parameters...
  • Page 47: Delete Ip Host

    4.5 IP host setting commands Chapter 4 Setting commands delete ip host [Administrator] Function Delete the host entry. delete ip host hostname { ipaddr | ip6addr } Format Parameters hostname Specify the host name to delete. { ipaddr | ip6addr } Specify an IP address for the host name.
  • Page 48: Ip Route Setting Commands

    4.6 IP route setting commands Chapter 4 Setting commands 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. create ip route { ipaddr/mask | default } gateway gwaddr [ metric metric ] Format { ipaddr/mask | default }...
  • Page 49: Delete Ip Route

    4.6 IP route setting commands Chapter 4 Setting commands delete ip route [Administrator] Function Delete the static route. delete ip route { ipaddr/mask | default } gateway gwaddr Format { ipaddr/mask | default } Parameters Specify the destination host address or network address to be deleted in the ”IP address/prefix size”...
  • Page 50: Ipv6 Route Setting Commands

    4.7 IPv6 route setting commands Chapter 4 Setting commands IPv6 route setting commands create ip6route [Administrator] Function Create static routes for IPv6. create ip6route { ip6addr/mask | default } gateway gw6addr [ metric metric ] Format { ip6addr/mask | default } Parameters Specify the host address or network address of the destination.
  • Page 51: Delete Ip6Route

    4.7 IPv6 route setting commands Chapter 4 Setting commands delete ip6route [Administrator] Function Delete the static route. delete ip6route { ip6addr/mask | default } gateway gw6addr Format {ip6addr/mask | default} Parameters Specify the host address or network address of the static route to delete. ip6addr/mask Specify the host address or network address of the static route to delete in ”IPv6 address/length of mask”...
  • Page 52: Ipfilter Setting Commands

    4.8 ipfilter setting commands Chapter 4 Setting commands ipfilter setting commands These are objects managing the ipfilter function of the NS-2250. create ipfilter [Administrator] Function Register the filter conditions. create ipfilter input [line line] { accept | drop } { eth1 | eth2 | bond1 | any } Format { dstaddr/mask | any } { srcaddr/mask | any } { esp | icmp [{ type | any }] | tcp [{ dport | any }] | udp [{ dport | any }] | any }...
  • Page 53 4.8 ipfilter setting commands Chapter 4 Setting commands The source IP address of the packet does not specify as a filter condition. { esp | icmp [{ type | any }] | tcp [{ dport | any }] | udp [{ dport | any }] | any } Specify the IP-level protocol as a filter condition.
  • Page 54: Delete Ipfilter

    4.8 ipfilter setting commands Chapter 4 Setting commands delete ipfilter [Administrator] Function Delete the registered filter conditions. delete ipfilter input { accept | drop } { eth1 | eth2 | bond1 | any } Format { dstaddr/mask | any } { srcaddr/mask | any } { esp | icmp [{ type | any }] | tcp [{ dport | any }] | udp [{ dport | any }] | any }} Parameters input...
  • Page 55 4.8 ipfilter setting commands Chapter 4 Setting commands tcp [{ dport | any }] To IP-level protocol to specify the TCP (protocol number = 6) as a filter condition. udp [{ dport | any }] To IP-level protocol to specify the UDP (protocol number = 17) as a filter condition.
  • Page 56: Delete Ipfilter Line

    4.8 ipfilter setting commands Chapter 4 Setting commands delete ipfilter line [Administrator] Function Delete the registered filter condition by specifying a line number. Format delete ipfilter input line line Parameters input Delete the registered filter condition for received packets. line line Delete the filter condition by specifying the line number.
  • Page 57: Delete Ipfilter Allentry

    4.8 ipfilter setting commands Chapter 4 Setting commands delete ipfilter allentry [Administrator] Function Delete all filter conditions. Format delete ipfilter input allentry Parameters input Delete a registered filter condition for received packets. allentry Delete all registered filter conditions. Usage example The case of deleting all registered filter conditions for received packets. delete ipfilter input allentry...
  • Page 58: Enable Ipfilter

    4.8 ipfilter setting commands Chapter 4 Setting commands enable ipfilter [Administrator] Function Enable the filter function. Format enable ipfilter Parameters None • The filter function is disabled by default. Note • The target of this command is an IPv4 packet transmitted and received by the NS-2250.
  • Page 59: Disable Ipfilter

    4.8 ipfilter setting commands Chapter 4 Setting commands disable ipfilter [Administrator] Function Disable the filter function. Format disable ipfilter Parameters None Usage example The case of disabling the filter function. disable ipfilter...
  • Page 60: Ipsec Setting Commands

    4.9 ipsec setting commands Chapter 4 Setting commands ipsec setting commands These are objects managing the ipsec function of the NS-2250. create ipsec secret psk [Administrator] Function Register a pre-shared key used in the IKE. create ipsec secret psk { id1 [id2] | any } { password | encrypt string } Format Parameters secret psk...
  • Page 61 4.9 ipsec setting commands Chapter 4 Setting commands 1.A pre-shared key set both the security gateway ID of the own side(This is the value set by the command ”set ipsec conn leftid”. If it is not set, this is the value set by the command ”set ipsec conn left”.) and the security gateway ID of the opposite side(This is the value set by the command ”set ipsec conn rightid”.
  • Page 62: Delete Ipsec Secret Psk

    4.9 ipsec setting commands Chapter 4 Setting commands delete ipsec secret psk [Administrator] Function Delete a pre-shared key used in the IKE. delete ipsec secret psk { id1 [id2] | any | allentry } Format Parameters secret psk Delete a pre-shared key used in the IKE. { id1 [id2] | any | allentry } Specify a condition to select a pre-shared key you delete.
  • Page 63: Set Ipsec Conn Auto

    4.9 ipsec setting commands Chapter 4 Setting commands set ipsec conn auto [Administrator] Function Set initiator or responder of key exchange. set ipsec conn connlist auto { start | add } Format Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 64: Set Ipsec Conn Leftid

    4.9 ipsec setting commands Chapter 4 Setting commands set ipsec conn leftid [Administrator] Function Set the ID of the security gateway of own side. Format set ipsec conn connlist leftid id Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 65: Set Ipsec Conn Left

    4.9 ipsec setting commands Chapter 4 Setting commands set ipsec conn left [Administrator] Function Set the IP address of the security gateway of own side. Format set ipsec conn connlist left ipaddr Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 66: Set Ipsec Conn Leftsubnet

    4.9 ipsec setting commands Chapter 4 Setting commands set ipsec conn leftsubnet [Administrator] Function Set the network address of own side which communicates under encrypted by using IPsec. Format set ipsec conn connlist leftsubnet ipaddr/mask Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 67: Set Ipsec Conn Leftsourceip

    4.9 ipsec setting commands Chapter 4 Setting commands set ipsec conn leftsourceip [Administrator] Function Set the source IP address of own side which communicates in the IPsec tunnel. Format set ipsec conn connlist leftsourceip ipaddr Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 68: Set Ipsec Conn Rightid

    4.9 ipsec setting commands Chapter 4 Setting commands set ipsec conn rightid [Administrator] Function Set the ID of the security gateway of the opposite side. Format set ipsec conn connlist rightid id Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 69: Set Ipsec Conn Right

    4.9 ipsec setting commands Chapter 4 Setting commands set ipsec conn right [Administrator] Function Set the IP address of the security gateway of the opposite side. Format set ipsec conn connlist right ipaddr Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 70: Set Ipsec Conn Rightsubnet

    4.9 ipsec setting commands Chapter 4 Setting commands set ipsec conn rightsubnet [Administrator] Function Set the network address of the opposite side which communicates under encrypted by using IPsec. Format set ipsec conn connlist rightsubnet ipaddr/mask Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 71: Set Ipsec Conn Rightsourceip

    4.9 ipsec setting commands Chapter 4 Setting commands set ipsec conn rightsourceip [Administrator] Function Set the source IP address of the opposite side which communicates in the IPsec tunnel. Format set ipsec conn connlist rightsourceip ipaddr Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 72: Set Ipsec Conn Keyexchange

    4.9 ipsec setting commands Chapter 4 Setting commands set ipsec conn keyexchange [Administrator] Function Set the version of the IKE protocol. set ipsec conn connlist keyexchange { ike | ikev1 | ikev2 } Format Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 73: Set Ipsec Conn Ike

    4.9 ipsec setting commands Chapter 4 Setting commands set ipsec conn ike [Administrator] Function Set the encryption algorithm of the ISAKMP-SA(Phase1). Format set ipsec conn connlist ike cipher-suites [strict] Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 74: Set Ipsec Conn Esp

    4.9 ipsec setting commands Chapter 4 Setting commands set ipsec conn esp [Administrator] Function Set the encryption algorithm of the IPSEC-SA(Phase2). Format set ipsec conn connlist esp cipher-suites [strict] Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 75: Set Ipsec Conn Ikelifetime

    4.9 ipsec setting commands Chapter 4 Setting commands set ipsec conn ikelifetime [Administrator] Function Set the lifetime of the ISAKMP-SA. Format set ipsec conn connlist ikelifetime lifetime Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 76: Set Ipsec Conn Lifetime

    4.9 ipsec setting commands Chapter 4 Setting commands set ipsec conn lifetime [Administrator] Function Set the lifetime of the IPSEC-SA. Format set ipsec conn connlist lifetime lifetime Parameters conn connlist Specify the number of a connection in the range of 1 to 8. The range of ports that you can specify varies depending on the model.
  • Page 77: Set Ipsec Conn Forceencaps

    4.9 ipsec setting commands Chapter 4 Setting commands set ipsec conn forceencaps [Administrator] Function Set whether to encapsulate the ESP protocol communication of the IPSEC-SA by UDP always or not. set ipsec conn connlist forceencaps { yes | no } Format Parameters conn connlist...
  • Page 78: Set Ipsec Conn Dpdaction

    4.9 ipsec setting commands Chapter 4 Setting commands set ipsec conn dpdaction [Administrator] Function Set whether to execute DPD(Dead Peer Detection) or not. set ipsec conn connlist dpdaction { none | clear } Format Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 79: Unset Ipsec Conn

    4.9 ipsec setting commands Chapter 4 Setting commands unset ipsec conn [Administrator] Function Delete all settings of the specified connection. Format unset ipsec conn connlist Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 80: Unset Ipsec Conn Leftid

    4.9 ipsec setting commands Chapter 4 Setting commands unset ipsec conn leftid [Administrator] Function Delete the ID setting of the security gateway of own side. Format unset ipsec conn connlist leftid Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 81: Unset Ipsec Conn Left

    4.9 ipsec setting commands Chapter 4 Setting commands unset ipsec conn left [Administrator] Function Delete the IP address of the security gateway of own side. Format unset ipsec conn connlist left Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 82: Unset Ipsec Conn Leftsubnet

    4.9 ipsec setting commands Chapter 4 Setting commands unset ipsec conn leftsubnet [Administrator] Function Delete the network address of own side which communicates under encrypted by using IPsec. Format unset ipsec conn connlist leftsubnet ipaddr/mask Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 83: Unset Ipsec Conn Leftsourceip

    4.9 ipsec setting commands Chapter 4 Setting commands unset ipsec conn leftsourceip [Administrator] Function Delete the source IP address of own side which communicates in the IPsec tunnel. Format unset ipsec conn connlist leftsourceip Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 84: Unset Ipsec Conn Rightid

    4.9 ipsec setting commands Chapter 4 Setting commands unset ipsec conn rightid [Administrator] Function Delete the ID setting of the security gateway of the opposite side. Format unset ipsec conn connlist rightid Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 85: Unset Ipsec Conn Right

    4.9 ipsec setting commands Chapter 4 Setting commands unset ipsec conn right [Administrator] Function Delete the IP address of the security gateway of the opposite side. Format unset ipsec conn connlist right Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 86: Unset Ipsec Conn Rightsubnet

    4.9 ipsec setting commands Chapter 4 Setting commands unset ipsec conn rightsubnet [Administrator] Function Delete the network address of the opposite side which communicates under encrypted by using IPsec. Format unset ipsec conn connlist rightsubnet Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 87: Unset Ipsec Conn Rightsourceip

    4.9 ipsec setting commands Chapter 4 Setting commands unset ipsec conn rightsourceip [Administrator] Function Delete the source IP address of the opposite side which communicates in the IPsec tunnel. Format unset ipsec conn connlist rightsourceip Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 88: Unset Ipsec Conn Ike

    4.9 ipsec setting commands Chapter 4 Setting commands unset ipsec conn ike [Administrator] Function Delete the encryption algorithm setting of the ISAKMP-SA(Phase1). Format unset ipsec conn connlist ike Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 89: Unset Ipsec Conn Esp

    4.9 ipsec setting commands Chapter 4 Setting commands unset ipsec conn esp [Administrator] Function Delete the encryption algorithm of the IPSEC-SA(Phase2). Format unset ipsec conn connlist esp Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 90: Enable Ipsec Conn

    4.9 ipsec setting commands Chapter 4 Setting commands enable ipsec conn [Administrator] Function Enable the IPsec function. Format enable ipsec conn connlist Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 91: Disable Ipsec Conn

    4.9 ipsec setting commands Chapter 4 Setting commands disable ipsec conn [Administrator] Function Disable the IPsec function. Format disable ipsec conn connlist Parameters conn connlist Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 92: Dns Setting Command

    4.10 DNS setting command Chapter 4 Setting commands 4.10 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.
  • Page 93: Set Dns Localdomain

    4.10 DNS setting command Chapter 4 Setting commands 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, un- derbars ”...
  • Page 94: Unset Dns

    4.10 DNS setting command Chapter 4 Setting commands unset dns [Administrator] Function Delete the information of a registered DNS server. unset dns { 1 | 2 } Format { 1 | 2 } Parameters Specify the identification number (1 or 2) of the DNS server whose information you want to delete.
  • Page 95: Unset Dns Localdomain

    4.10 DNS setting command Chapter 4 Setting commands unset dns localdomain [Administrator] Function Delete the settings of the local domain to which the NS-2250 belongs. Format unset dns localdomain Parameters None Note When you delete the local domain settings, the server program storing the port logs restarts.
  • Page 96: Lan Setting Commands

    4.11 LAN setting commands Chapter 4 Setting commands 4.11 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. set ether [{ eth1 | eth2 }] Format nego { enable | disable { full-100 | full-10 | half-100 | half-10 } } [ { mdi | mdix | mdi-auto } ]...
  • Page 97: User Management And Authentication Setting Commands

    4.12 User management and authentication setting commands Chapter 4 Setting commands 4.12 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. create user username group { setup | verup | log | normal | portusr } Format [ uid userid ] [ port enable port list ]...
  • Page 98 4.12 User management and authentication setting commands Chapter 4 Setting commands 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 a character string that has been converted using a hash function.
  • Page 99: Set User Password

    4.12 User management and authentication setting commands Chapter 4 Setting commands set user password [Administrator] Function Change the user password for login. set user username { password | encrypt string } Format 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 ”...
  • Page 100: Set User Port

    4.12 User management and authentication setting commands Chapter 4 Setting commands 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 ”...
  • Page 101: Set User Sshkey

    4.12 User management and authentication setting commands Chapter 4 Setting commands 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 ”...
  • Page 102 4.12 User management and authentication setting commands Chapter 4 Setting commands 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 103: Unset User Sshkey

    4.12 User management and authentication setting commands Chapter 4 Setting commands 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 ”...
  • Page 104: Delete User

    4.12 User management and authentication setting commands Chapter 4 Setting commands 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 ”-”.
  • Page 105: Snmp Agent Setting Commands

    4.13 SNMP agent setting commands Chapter 4 Setting commands 4.13 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”...
  • Page 106: Set Snmp Contact

    4.13 SNMP agent setting commands Chapter 4 Setting commands 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.
  • Page 107: Set Snmp Authentrap

    4.13 SNMP agent setting commands Chapter 4 Setting commands 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. •...
  • Page 108: Set Snmp Linktrap

    4.13 SNMP agent setting commands Chapter 4 Setting commands 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.
  • Page 109: Set Snmp Dsrtrap

    4.13 SNMP agent setting commands Chapter 4 Setting commands set snmp 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. set snmp tty ttylist dsrtrap { on | off...
  • Page 110: Set Snmp Coldstarttrap

    4.13 SNMP agent setting commands Chapter 4 Setting commands set snmp coldstarttrap [Administrator] Function Set whether or not to send cold start traps. Send a cold start trap when starting the NS-2250. set snmp coldstarttrap { on | off } Format coldstarttrap { on | off...
  • Page 111: Set Snmp Powertrap

    4.13 SNMP agent setting commands Chapter 4 Setting commands 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. set snmp powertrap { on | off...
  • Page 112: Set Snmp Bondingactswtrap

    4.13 SNMP agent setting commands Chapter 4 Setting commands 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). set snmp bondingactswtrap { on | off...
  • Page 113: Unset Snmp Location

    4.13 SNMP agent setting commands Chapter 4 Setting commands unset snmp location [Administrator] Function Remove sysLocation settings. Format unset snmp location Parameters None Note The SNMP agent restarts if it is enabled when you make this setting. Usage example unset snmp location...
  • Page 114: Unset Snmp Contact

    4.13 SNMP agent setting commands Chapter 4 Setting commands unset snmp contact [Administrator] Function Remove sysContact settings. Format unset snmp contact Parameters None Note The SNMP agent restarts if it is enabled when you make this setting. Usage example unset snmp contact...
  • Page 115: Enable Snmp

    4.13 SNMP agent setting commands Chapter 4 Setting commands 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.
  • Page 116: Disable Snmp

    4.13 SNMP agent setting commands Chapter 4 Setting commands disable snmp [Administrator] Function Disable the SNMP agent function. Format disable snmp Parameters None Usage example disable snmp...
  • Page 117: Snmp Trap Setting Commands

    4.14 SNMP trap setting commands Chapter 4 Setting commands 4.14 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 118: Unset Trap Manager

    4.14 SNMP trap setting commands Chapter 4 Setting commands unset trap manager [Administrator] Function Remove the settings of the destination SNMP server. unset trap { 1 | 2 | 3 | 4 } manager Format { 1 | 2 | 3 | 4 } Parameters Specify the number from 1 through 4 of the trap destination whose settings you want to remove.
  • Page 119: Snmp Community Setting Commands

    4.15 SNMP community setting commands Chapter 4 Setting commands 4.15 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.
  • Page 120: Unset Community

    4.15 SNMP community setting commands Chapter 4 Setting commands unset community [Administrator] Function Remove the settings of the community name and SNMP server that can use it to access the NS-2250. unset community { 1 | 2 | 3 | 4 } name Format { 1 | 2 | 3 | 4 } Parameters...
  • Page 121: Syslog Setting Commands

    4.16 Syslog setting commands Chapter 4 Setting commands 4.16 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. set syslog host { 1 | 2 } { ipaddr | host } Format [ portlog facility { local0 | local1 | local2 | local3 | local4 |...
  • Page 122: Unset Syslog Host

    4.16 Syslog setting commands Chapter 4 Setting commands unset syslog host [Administrator] Function Remove the settings of the syslog server where to send the syslog messages. unset syslog host { 1 | 2 } Format { 1 | 2 } Parameters Specify the identification number (1 or 2) of the syslog server whose settings you want to remove.
  • Page 123: Enable Syslog

    4.16 Syslog setting commands Chapter 4 Setting commands 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.
  • Page 124: Disable Syslog

    4.16 Syslog setting commands Chapter 4 Setting commands disable syslog [Administrator] Function Disable the syslog client. Format disable syslog Parameters None Usage example disable syslog...
  • Page 125: Nfs Setting Commands

    4.17 NFS setting commands Chapter 4 Setting commands 4.17 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. set nfs server { 1 | 2 } addr ipaddr path path-dir Format { 1 | 2 }...
  • Page 126: Set Nfs Server Proto

    4.17 NFS setting commands Chapter 4 Setting commands set nfs server proto [Administrator] Function Set the NFS protocol. set nfs server { 1 | 2 } proto { tcp | udp } Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the NFS server to register. proto { tcp | udp } Specify the NFS protocol.
  • Page 127: Set Nfs Rotate

    4.17 NFS setting commands Chapter 4 Setting commands set nfs rotate [Administrator] Function Set the rotation interval of the port logs. set nfs rotate { off | on minite hour day month day of week } Format Parameters Set the port log rotation on or off. off...
  • Page 128: Unset Nfs Server Addr

    4.17 NFS setting commands Chapter 4 Setting commands unset nfs server addr [Administrator] Function Remove the NFS server settings. unset nfs server { 1 | 2 } addr Format { 1 | 2 } Parameters Specify identification number (1 or 2) of the NFS server whose settings you want to remove.
  • Page 129: Enable Nfs

    4.17 NFS setting commands Chapter 4 Setting commands 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.
  • Page 130: Disable Nfs

    4.17 NFS setting commands Chapter 4 Setting commands disable nfs [Administrator] Function Disable the NFS client function. Format disable nfs Parameters None Usage example disable nfs...
  • Page 131: Sntp Setting Commands

    4.18 SNTP setting commands Chapter 4 Setting commands 4.18 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. set sntp server { ipaddr | host } Format { ipaddr | host } Parameters...
  • Page 132: Set Sntp Polltime

    4.18 SNTP setting commands Chapter 4 Setting commands 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.
  • Page 133: Unset Sntp Server

    4.18 SNTP setting commands Chapter 4 Setting commands unset sntp server [Administrator] Function Remove settings of NTP servers. unset sntp server [ { ipaddr | host } ] Format [ { ipaddr | host } ] Parameters The setting of the NTP server corresponding to the IP address or host name (ipaddr/host) specified with this command is deleted.
  • Page 134: Enable Sntp

    4.18 SNTP setting commands Chapter 4 Setting commands 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.
  • Page 135: Disable Sntp

    4.18 SNTP setting commands Chapter 4 Setting commands disable sntp [Administrator] Function Disable the SNTP client function. Format disable sntp Parameters None Usage example disable sntp...
  • Page 136: Tty Setting Commands

    4.19 TTY setting commands Chapter 4 Setting commands 4.19 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 baud [Administrator] Function...
  • Page 137: Set Tty Bitchar

    4.19 TTY setting commands Chapter 4 Setting commands set tty bitchar [Administrator] Function Set the data bit length. set tty ttylist bitchar { 7 | 8 } Format Parameters tty ttylist 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 138: Set Tty Parity

    4.19 TTY setting commands Chapter 4 Setting commands set tty parity [Administrator] Function Set the parity. set tty ttylist parity { even | odd | none } Format Parameters tty ttylist 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 139: Set Tty Stop

    4.19 TTY setting commands Chapter 4 Setting commands set tty stop [Administrator] Function Set the stop bit length. set tty ttylist stop { 1 | 2 } Format Parameters tty ttylist 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 140: Set Tty Flow

    4.19 TTY setting commands Chapter 4 Setting commands set tty flow [Administrator] Function Set the flow control. set tty ttylist flow { xon | rs | none } Format Parameters tty ttylist 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 141: Set Tty Detect Dsr

    4.19 TTY setting commands Chapter 4 Setting commands set tty detect dsr [Administrator] Function Set the DSR signal transition detection function. set tty ttylist detect dsr { on [{ edge | polling }] | off } Format Parameters tty ttylist Specify the tty number corresponding to the serial port in the 1 to 48 range.
  • Page 142: Logd Setting Commands

    4.20 logd setting commands Chapter 4 Setting commands 4.20 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. add logd tty ttylist mail { 1 | 2 } Mail-Address { ipaddr | host } Format Parameters...
  • Page 143: Add Logd Tty Ftp

    4.20 logd setting commands Chapter 4 Setting commands add logd tty ftp [Administrator] Function Register a destination FTP server for port logs. add logd tty ttylist ftp { 1 | 2 } FTP-Account { ipaddr | host } Format [ { password | encrypt string } ] Parameters ttylist Specify the tty number corresponding to the serial port in the 1 to 48 range.
  • Page 144 4.20 logd setting commands Chapter 4 Setting commands add logd tty 1-32 ftp 1 portlog mgr 192.168.1.1 FTP password Password entry (not displayed) Retype FTP password Password entry (not displayed) Explanation A maximum of two FTP servers and FTP accounts can be registered for a single serial port.
  • Page 145: Set Logd Output

    4.20 logd setting commands Chapter 4 Setting commands set logd output [Administrator] Function Set the port log save destination. set logd output { flash | ram | off | cf } Format { flash | ram | off | cf } Parameters Set the port log save destination.
  • Page 146: Set Logd Tstamp

    4.20 logd setting commands Chapter 4 Setting commands set logd tstamp [Administrator] Function Set port log time stamps. set logd tstamp { on [ interval interval time ] | off } Format { on [ interval interval time ] | off } Parameters Set the time stamps on or off...
  • Page 147: Set Logd Tty Log

    4.20 logd setting commands Chapter 4 Setting commands set logd tty log [Administrator] Function Set the port log save space for each serial port. set logd tty ttylist log { on [ size log size ] | off } Format Parameters ttylist Specify the tty number corresponding to the serial port in the 1 to 48 range.
  • Page 148: Set Logd Tty Lstamp

    4.20 logd setting commands Chapter 4 Setting commands set logd tty lstamp [Administrator] Function Set the login stamp function for port logs. set logd tty ttylist lstamp { off | on } Format Parameters ttylist 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 149: Set Logd Tty Syslog

    4.20 logd setting commands Chapter 4 Setting commands set logd tty syslog [Administrator] Function Set whether to send port logs to a syslog server. set logd tty ttylist syslog { off | on | format { hostname { off | on } | la- Format bel { off...
  • Page 150: Set Logd Tty Nfs

    4.20 logd setting commands Chapter 4 Setting commands set logd tty nfs [Administrator] Function Set whether to save port logs to a NFS server. set logd tty ttylist nfs { off | on } Format Parameters ttylist 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 151: Set Logd Tty Sendlog

    4.20 logd setting commands Chapter 4 Setting commands 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 ttylist sendlog { { mail | ftp } [ interval interval time ] [ ratio percent ] | off } Parameters ttylist Specify the tty number corresponding to the serial port in the 1 to 48 range.
  • Page 152: Set Logd Tty Mail Port

    4.20 logd setting commands Chapter 4 Setting commands set logd tty mail port [Administrator] Function Set SMTP port for the port log emails. set logd tty ttylist mail { 1 | 2 } port smtp-port Format Parameters ttylist 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 153: Set Logd Tty Mail Type

    4.20 logd setting commands Chapter 4 Setting commands set logd tty mail type [Administrator] Function Set how the port logs are sent by email (sending method). set logd tty ttylist mail { 1 | 2 } type { body | attachment } Format Parameters ttylist...
  • Page 154: Set Logd Tty Mail Subject

    4.20 logd setting commands Chapter 4 Setting commands set logd tty mail subject [Administrator] Function Set the email subject for port logs. set logd tty ttylist mail { 1 | 2 } subject ”string” Format Parameters ttylist 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 155: Set Logd Tty Mail Sender

    4.20 logd setting commands Chapter 4 Setting commands set logd tty mail sender [Administrator] Function Set the email address of the sender for port logs. set logd tty ttylist mail { 1 | 2 } sender fromaddr Format Parameters ttylist Specify the tty number corresponding to the serial port in the 1 to 48 range.
  • Page 156: Set Logd Tty Mail Auth

    4.20 logd setting commands Chapter 4 Setting commands set logd tty mail auth [Administrator] Function Set SMTP authentication for the port log emails. set logd tty ttylist mail { 1 | 2 } auth auth-Account Format [ { password | encrypt string } ] Parameters ttylist Specify the tty number corresponding to the serial port in the 1 to 48 range.
  • Page 157: Unset Logd Tty Mail Auth

    4.20 logd setting commands Chapter 4 Setting commands unset logd tty mail auth [Administrator] Function Remove settings of SMTP authentication for port log emails. unset logd tty ttylist mail { 1 | 2 } auth Format Parameters ttylist 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 158: Remove Logd Tty Mail

    4.20 logd setting commands Chapter 4 Setting commands remove logd tty mail [Administrator] Function Remove the settings for the destination email address and email server used to send port logs. remove logd tty ttylist mail { 1 | 2 } Format Parameters ttylist...
  • Page 159: Remove Logd Tty Ftp

    4.20 logd setting commands Chapter 4 Setting commands remove logd tty ftp [Administrator] Function Remove settings of a destination FTP server for port logs. remove logd tty ttylist ftp { 1 | 2 } Format Parameters ttylist 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 160: Portd Setting Commands

    4.21 portd setting commands Chapter 4 Setting commands 4.21 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. set portd connect { direct | select } Format { direct | select } Parameters...
  • Page 161: Set Portd Menu

    4.21 portd setting commands Chapter 4 Setting commands set portd menu [Administrator] Function Set the display method of the port server menu. set portd menu { auto | on | off } Format { auto | on | off } Parameters This parameter is set to ”auto”...
  • Page 162: Set Portd Auth

    4.21 portd setting commands Chapter 4 Setting commands set portd auth [Administrator] Function Set whether or not to use port user authentication when connecting from a Telnet client. set portd auth { none | basic } Format auth { none | basic } Parameters This parameter is set to ”none”...
  • Page 163: Set Portd Telrw

    4.21 portd setting commands Chapter 4 Setting commands 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”...
  • Page 164: Set Portd Telro

    4.21 portd setting commands Chapter 4 Setting commands 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”...
  • Page 165: Set Portd Sshrw

    4.21 portd setting commands Chapter 4 Setting commands 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”...
  • Page 166: Set Portd Sshro

    4.21 portd setting commands Chapter 4 Setting commands 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”...
  • Page 167: Set Portd Idle Timeout

    4.21 portd setting commands Chapter 4 Setting commands 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. set portd idle timeout { on [ interval time ] | off } Format idle timeout { on [ interval time ] | off...
  • Page 168: Set Portd Ro Timeout

    4.21 portd setting commands Chapter 4 Setting commands set portd ro timeout [Administrator] Function Set a value for the session timer of Monitoring mode (ro) sessions. set portd ro timeout { on [ interval time ] | off } Format { on [ interval time ] | off...
  • Page 169: Set Portd Tty Session

    4.21 portd setting commands Chapter 4 Setting commands set portd tty session [Administrator] Function Set the authorized protocols and modes for connection to the serial ports. set portd tty ttylist session { { telnet | ssh | both | none } { ro | rw | both } } Format Parameters tty ttylist...
  • Page 170: Set Portd Tty Limit

    4.21 portd setting commands Chapter 4 Setting commands set portd tty limit [Administrator] Function Set a number of sessions for a serial port. Format set portd tty ttylist limit rw number ro number Parameters ttylist 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 171: Set Portd Tty Brk Char

    4.21 portd setting commands Chapter 4 Setting commands set portd tty brk char [Administrator] Function Set the NVT break character. set portd tty ttylist brk char { none | brk } Format Parameters tty ttylist 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 172: Set Portd Tty Nl

    4.21 portd setting commands Chapter 4 Setting commands set portd tty nl [Administrator] Function Set the conversion method for the line feed format received from the network. set portd tty ttylist nl { none | cr | lf } Format Parameters tty ttylist Specify the tty number corresponding to the serial port in the 1 to 48 range.
  • Page 173: Set Portd Tty Cmdchar

    4.21 portd setting commands Chapter 4 Setting commands set portd tty cmdchar [Administrator] Function Set a substitute character code to go to the port server menu. set portd tty ttylist cmdchar { none | char number } Format Parameters tty ttylist Specify the tty number corresponding to the serial port in the 1 to 48 range.
  • Page 174: Set Portd Tty Label

    4.21 portd setting commands Chapter 4 Setting commands set portd tty label [Administrator] Function Set serial port labels. Format set portd tty ttylist label ”string” Parameters ttylist 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 175: Set Portd Tty Timeout

    4.21 portd setting commands Chapter 4 Setting commands 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. set portd tty ttylist timeout { on | off } Format Parameters tty ttylist...
  • Page 176: Unset Portd Tty Label

    4.21 portd setting commands Chapter 4 Setting commands unset portd tty label [Administrator] Function Remove serial port label settings. Format unset portd tty ttylist label Parameters tty ttylist 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 177: Console Setting Commands

    4.22 Console setting commands Chapter 4 Setting commands 4.22 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 } | flow { xon | rs | none } }...
  • Page 178: Telnet Command Setting Commands

    4.23 Telnet command setting commands Chapter 4 Setting commands 4.23 Telnet command setting commands set telnet cmdchar [Administrator] Function Set the character code to transit to the command mode while executing the telnet command. set telnet cmdchar { none | char number } Format cmdchar { none | char number } Parameters...
  • Page 179: Telnetd Setting Commands

    4.24 Telnetd setting commands Chapter 4 Setting commands 4.24 Telnetd setting commands These are objects managing NS-2250 Telnet server function. set telnetd port [Administrator] Function Set the Telnet server port number. set telnetd port { port number | default } Format port { port number | default } Parameters...
  • Page 180: Enable Telnetd

    4.24 Telnetd setting commands Chapter 4 Setting commands enable telnetd [Administrator] Function Enable the Telnet server. Format enable telnetd Parameters None Note The Telnet server is enabled by default. Usage example enable telnetd...
  • Page 181: Disable Telnetd

    4.24 Telnetd setting commands Chapter 4 Setting commands disable telnetd [Administrator] Function Disable the Telnet server. Format disable telnetd Parameters None Usage example disable telnetd...
  • Page 182: Sshd Setting Commands

    4.25 sshd setting commands Chapter 4 Setting commands 4.25 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. set sshd auth { basic | public } Format auth { basic | public } Parameters...
  • Page 183: Set Sshd Port

    4.25 sshd setting commands Chapter 4 Setting commands set sshd port [Administrator] Function Set the SSH server port number. set sshd port { port number | default } Format 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 184: Set Sshd Host Key

    4.25 sshd setting commands Chapter 4 Setting commands set sshd host key [Administrator] Function Set the SSH server host key. set sshd host key { number | device depend } Format host key { number | device depend } Parameters number Specify the seed of server host key.
  • Page 185: Enable Sshd

    4.25 sshd setting commands Chapter 4 Setting commands enable sshd [Administrator] Function Enable the SSH server. Format enable sshd Parameters None Note (1) Both SSH access and SFTP access to the NS-2250 are made possible. (2) The SSH server is disabled by default. Usage example enable sshd...
  • Page 186: Disable Sshd

    4.25 sshd setting commands Chapter 4 Setting commands disable sshd [Administrator] Function Disable the SSH server. Format disable sshd Parameters None Usage example disable sshd...
  • Page 187: Ftpd Setting Commands

    4.26 ftpd setting commands Chapter 4 Setting commands 4.26 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 Note The FTP server is disabled by default. Usage example enable ftpd...
  • Page 188: Disable Ftpd

    4.26 ftpd setting commands Chapter 4 Setting commands disable ftpd [Administrator] Function Disable the FTP server. Format disable ftpd Parameters None Usage example disable ftpd...
  • Page 189: Security Setting Commands

    4.27 Security setting commands Chapter 4 Setting commands 4.27 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. create allowhost { all | ipaddr/mask | ip6addr/mask } Format service { all | telnetd | sshd | ftpd | portd { telrw | telro | sshrw | sshro } { all | ttylist } }...
  • Page 190 4.27 Security setting commands Chapter 4 Setting commands sshrw Specify ”sshrw” to authorize connection in SSH Normal mode to the spec- ified serial ports. sshro Specify ”sshro” to authorize connection in SSH Monitoring mode to the specified serial ports. Specify ”all” to authorize connection with all serial ports. ttylist Specify the tty number corresponding to the serial port in the 1 to 48 range.
  • Page 191: Delete Allowhost

    4.27 Security setting commands Chapter 4 Setting commands delete allowhost [Administrator] Function Delete a list of hosts and services authorized for connection. delete allowhost { Format { all | ipaddr/mask | ip6addr/mask } service { all | telnetd | sshd | ftpd | portd { telrw | telro | sshrw | sshro } { ttylist | all } } | allentry } { all | ipaddr/mask | ip6addr/mask } service { all | telnetd | sshd | ftpd |...
  • Page 192: Authentication Setting Commands

    4.28 Authentication setting commands Chapter 4 Setting commands 4.28 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.
  • Page 193 4.28 Authentication setting commands Chapter 4 Setting commands 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. You can specify from 1 through 32 characters for string.
  • Page 194 4.28 Authentication setting commands Chapter 4 Setting commands user1 Password = "user1" Filter-Id = "admin" Filter-Id = "general" Filter-Id = "grp1" (3) If you use this command together with the ”set auth radius server { root | normal | portusr } filter id head” command, with which you can specify roles and access privileges for RADIUS users individually, all the settings are handled with the ”or”...
  • Page 195: Set Auth Mode

    4.28 Authentication setting commands Chapter 4 Setting commands set auth mode [Administrator] Function Set the user authentication method. set auth mode { local | radius | tacacs } Format { local | radius | tacacs } Parameters This parameter is set to ”local” by default. local Specify ”local”...
  • Page 196: Set Auth Su Cmd Username

    4.28 Authentication setting commands Chapter 4 Setting commands 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 username user In the RADIUS authentication or TACACS+ authentication/approval function,...
  • Page 197: Set Auth Radius Retry

    4.28 Authentication setting commands Chapter 4 Setting commands 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 retry number Set the number of times the authentication request packet is resent to the RADIUS authentication server.
  • Page 198: Set Auth Radius Server Addr

    4.28 Authentication setting commands Chapter 4 Setting commands set auth radius server addr [Administrator] Function Set the IP address of the RADIUS authentication server. set auth radius server { 1 | 2 } addr ipaddr Format server { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 199: Set Auth Radius Server Port

    4.28 Authentication setting commands Chapter 4 Setting commands set auth radius server port [Administrator] Function Set the authentication port number of the RADIUS authentication server. set auth radius server { 1 | 2 } port { 1812 | 1645 } Format server { 1 | 2 } Parameters...
  • Page 200: Set Auth Radius Server Key

    4.28 Authentication setting commands Chapter 4 Setting commands set auth radius server key [Administrator] Function Set the secret key of the RADIUS authentication server. set auth radius server { 1 | 2 } key { password | encrypt string } Format server { 1 | 2 } Parameters...
  • Page 201: Set Auth Radius Server Timeout

    4.28 Authentication setting commands Chapter 4 Setting commands set auth radius server timeout [Administrator] Function Set the timeout time for the response packet sent back from the RADIUS authentication server. set auth radius server { 1 | 2 } timeout time Format { 1 | 2 } Parameters...
  • Page 202: Set Auth Radius Server Portusr

    4.28 Authentication setting commands Chapter 4 Setting commands set auth radius server portusr [Administrator] Function Set the port user identifier used with RADIUS authentication. set auth radius server { 1 | 2 } portusr filter id head string Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 203 4.28 Authentication setting commands Chapter 4 Setting commands (RADIUS authentication server settings) user1 Password = "user1" Filter-Id = "NS2250_ROOT" Filter-Id = "NS2250_NORMAL" Filter-Id = "NS2250_PORT1-24" (4) If you use the ”set auth radius server { root | normal | portusr } filter id head” command together with the ”create auth access group”...
  • Page 204: Set Auth Radius Server Normal

    4.28 Authentication setting commands Chapter 4 Setting commands set auth radius server normal [Administrator] Function Set the normal user identifier used with RADIUS authentication. set auth radius server { 1 | 2 } normal filter id head string Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 205 4.28 Authentication setting commands Chapter 4 Setting commands (RADIUS authentication server settings) user1 Password = "user1" Filter-Id = "NS2250_ROOT" Filter-Id = "NS2250_NORMAL" Filter-Id = "NS2250_PORT1-24" (4) If you use the ”set auth radius server { root | normal | portusr } filter id head” command together with the ”create auth access group”...
  • Page 206: Set Auth Radius Server Root

    4.28 Authentication setting commands Chapter 4 Setting commands set auth radius server root [Administrator] Function Set the device management user identifier used with RADIUS authentication. set auth radius server { 1 | 2 } root filter id head string Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 207 4.28 Authentication setting commands Chapter 4 Setting commands (RADIUS authentication server settings) user1 Password = "user1" Filter-Id = "NS2250_ROOT" Filter-Id = "NS2250_NORMAL" Filter-Id = "NS2250_PORT1-24" (4) If you use the ”set auth radius server { root | normal | portusr } filter id head” command together with the ”create auth access group”...
  • Page 208: Set Auth Radius Server Nas Id

    4.28 Authentication setting commands Chapter 4 Setting commands set auth radius server nas id [Administrator] Function Register the NAS-ID attribute notified to the RADIUS authentication server. set auth radius server { 1 | 2 } nas id string Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 209: Set Auth Radius Server Def User

    4.28 Authentication setting commands Chapter 4 Setting commands set auth radius server def user [Administrator] Function Configure access methods for users for which a user group cannot be identified. set auth radius def user { portusr | none } Format { portusr | none } Parameters This parameter is set to ”portusr”...
  • Page 210: Set Auth Tacacs Server Addr

    4.28 Authentication setting commands Chapter 4 Setting commands set auth tacacs server addr [Administrator] Function Set the IP address of the TACACS+ server (authentication/approval). set auth tacacs server { 1 | 2 } addr ipaddr Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the TACACS+ server.
  • Page 211: Set Auth Tacacs Server Key

    4.28 Authentication setting commands Chapter 4 Setting commands set auth tacacs server key [Administrator] Function Set the secret key of the TACACS+ server (authentication/approval). set auth tacacs server { 1 | 2 } key { password | encrypt string } Format { 1 | 2 } Parameters...
  • Page 212: Set Auth Tacacs Server Timeout

    4.28 Authentication setting commands Chapter 4 Setting commands set auth tacacs server timeout [Administrator] Function Set the timeout time for the response packet sent back from the TACACS+ server (authentication/approval). set auth tacacs server { 1 | 2 } timeout time Format { 1 | 2 } Parameters...
  • Page 213: Set Auth Tacacs Def User

    4.28 Authentication setting commands Chapter 4 Setting commands 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. set auth tacacs def user { portusr | normal | none } Format { portusr | normal | none } Parameters...
  • Page 214: Unset Auth Radius Server Addr

    4.28 Authentication setting commands Chapter 4 Setting commands unset auth radius server addr [Administrator] Function Remove the IP address of the RADIUS authentication server. unset auth radius server { 1 | 2 } addr Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 215: Unset Auth Radius Server Portusr

    4.28 Authentication setting commands Chapter 4 Setting commands unset auth radius server portusr [Administrator] Function To remove the port user identifier when using RADIUS authentication. unset auth radius server { 1 | 2 } portusr Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 216: Unset Auth Radius Server Normal

    4.28 Authentication setting commands Chapter 4 Setting commands unset auth radius server normal [Administrator] Function To remove the normal user identifier when using RADIUS authentication. unset auth radius server { 1 | 2 } normal Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 217: Unset Auth Radius Server Root

    4.28 Authentication setting commands Chapter 4 Setting commands unset auth radius server root [Administrator] Function To remove the device management user identifier when using RADIUS authentication. unset auth radius server { 1 | 2 } root Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 218: Unset Auth Radius Server Nas Id

    4.28 Authentication setting commands Chapter 4 Setting commands unset auth radius server nas id [Administrator] Function Remove the NAS-ID attribute notified to the RADIUS authentication server. unset auth radius server { 1 | 2 } nas id Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the RADIUS authentication server.
  • Page 219: Unset Auth Tacacs Server Addr

    4.28 Authentication setting commands Chapter 4 Setting commands unset auth tacacs server addr [Administrator] Function Remove the IP address of the TACACS+ server (authentication/approval). unset auth tacacs server { 1 | 2 } addr Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the TACACS+ server.
  • Page 220: Delete Auth Access Group

    4.28 Authentication setting commands Chapter 4 Setting commands delete auth access group [Administrator] Function Delete access groups and serial port access privileges. delete auth access group { root | normal | portusr port disable port list } Format { all | radius filter id string | tacacs attr string val value } { root | normal | portusr port disable port list } Parameters root...
  • Page 221 4.28 Authentication setting commands Chapter 4 Setting commands (4) To delete all port user access groups with access privileges for serial ports 1 to 32 (RADIUS). delete auth access group portusr port 1-32 all (5) To delete the user definition attribute and value pair ”grp2=tech1” registered for the access group of port users with access to serial ports 1 to 5 (TACACS+).
  • Page 222: Accounting Setting Commands

    4.29 Accounting setting commands Chapter 4 Setting commands 4.29 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. set acct mode { local | radius | tacacs } Format { local | radius | tacacs }...
  • Page 223: Set Acct Radius Retry

    4.29 Accounting setting commands Chapter 4 Setting commands 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 retry number Specify the number of times accounting packets are resent to the RADIUS ac- counting server.
  • Page 224: Set Acct Radius Auth Deny Stop

    4.29 Accounting setting commands Chapter 4 Setting commands set acct radius auth deny stop [Administrator] Function Set the sending method of accounting STOP packets when user authentication has failed. set acct radius auth deny stop { off | remote | local | all } Format { off...
  • Page 225: Set Acct Radius Server Addr

    4.29 Accounting setting commands Chapter 4 Setting commands set acct radius server addr [Administrator] Function Set the IP address of the RADIUS accounting server. set acct radius server { 1 | 2 } addr ipaddr Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the RADIUS accounting server.
  • Page 226: Set Acct Radius Server Port

    4.29 Accounting setting commands Chapter 4 Setting commands set acct radius server port [Administrator] Function Set the accounting port number of the RADIUS accounting server. set acct radius server { 1 | 2 } port { 1813 | 1646 } Format { 1 | 2 } Parameters...
  • Page 227: Set Acct Radius Server Key

    4.29 Accounting setting commands Chapter 4 Setting commands set acct radius server key [Administrator] Function Set the secret key of the RADIUS accounting server. set acct radius server { 1 | 2 } key { password | encrypt string } Format { 1 | 2 } Parameters...
  • Page 228: Set Acct Radius Server Timeout

    4.29 Accounting setting commands Chapter 4 Setting commands set acct radius server timeout [Administrator] Function Set the timeout time for the response packet sent back from the RADIUS accounting server. set acct radius server { 1 | 2 } timeout time Format { 1 | 2 } Parameters...
  • Page 229: Set Acct Radius Server Nas Id

    4.29 Accounting setting commands Chapter 4 Setting commands set acct radius server nas id [Administrator] Function Register the NAS-ID attribute notified to the RADIUS accounting server. set acct radius server { 1 | 2 } nas id string Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the RADIUS accounting server.
  • Page 230: Set Acct Tacacs Auth Deny Stop

    4.29 Accounting setting commands Chapter 4 Setting commands set acct tacacs auth deny stop [Administrator] Function Set the sending method of accounting STOP packets when TACACS+ authentication or approval has failed. set acct tacacs auth deny stop { off | remote | local | all } Format { off...
  • Page 231: Set Acct Tacacs Server Addr

    4.29 Accounting setting commands Chapter 4 Setting commands set acct tacacs server addr [Administrator] Function Set the IP address of the TACACS+ server (accounting). set acct tacacs server { 1 | 2 } addr ipaddr Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the TACACS+ server.
  • Page 232: Set Acct Tacacs Server Key

    4.29 Accounting setting commands Chapter 4 Setting commands set acct tacacs server key [Administrator] Function Set the secret key of the TACACS+ server (accounting). set acct tacacs server { 1 | 2 } key { password | encrypt string } Format { 1 | 2 } Parameters...
  • Page 233: Set Acct Tacacs Server Timeout

    4.29 Accounting setting commands Chapter 4 Setting commands set acct tacacs server timeout [Administrator] Function Set the timeout time for the response packet sent back from the TACACS+ server (accounting). set acct tacacs server { 1 | 2 } timeout time Format { 1 | 2 } Parameters...
  • Page 234: Unset Acct Radius Server Addr

    4.29 Accounting setting commands Chapter 4 Setting commands unset acct radius server addr [Administrator] Function Remove the IP address of the RADIUS accounting server. unset acct radius server { 1 | 2 } addr Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the RADIUS accounting server.
  • Page 235: Unset Acct Radius Server Nas Id

    4.29 Accounting setting commands Chapter 4 Setting commands unset acct radius server nas id [Administrator] Function Remove the NAS-ID attribute notified to the RADIUS accounting server. unset acct radius server { 1 | 2 } nas id Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the RADIUS accounting server.
  • Page 236: Unset Acct Tacacs Server Addr

    4.29 Accounting setting commands Chapter 4 Setting commands unset acct tacacs server addr [Administrator] Function Remove the IP address of the TACACS+ server (accounting). unset acct tacacs server { 1 | 2 } addr Format { 1 | 2 } Parameters Specify 1 or 2 for the identification number of the TACACS+ server (accounting).
  • Page 237: Terminal Output Control Setting Commands

    4.30 terminal output control setting commands Chapter 4 Setting commands 4.30 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. set terminal default editing { enable | disable } Format { enable | disable }...
  • Page 238: Set Terminal Default Height

    4.30 terminal output control setting commands Chapter 4 Setting commands 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 239: Set Terminal Default Width

    4.30 terminal output control setting commands Chapter 4 Setting commands 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 240: Set Terminal Default Page

    4.30 terminal output control setting commands Chapter 4 Setting commands set terminal default page [Administrator] Function Set the default setting for enabling or disabling the terminal paging function. set terminal default page { enable | disable } Format { enable | disable } Parameters 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 241: Set Terminal Default Prompt

    4.30 terminal output control setting commands Chapter 4 Setting commands set terminal default prompt [Administrator] Function Set the default setting for the display format of the terminal prompt. set terminal default prompt { device { on | off } | hostname { on | off } | time { on | off } } Format { device { on | off...
  • Page 242: Set Terminal Default Redisp

    4.30 terminal output control setting commands Chapter 4 Setting commands 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. set terminal default redisp { on | off...
  • Page 243: Set Terminal Default Timeout

    4.30 terminal output control setting commands Chapter 4 Setting commands set terminal default timeout [Administrator] Function Set the default value for the terminal automatic logout time. set terminal default timeout { on time | off } Format { on time | off } Parameters Specify the default value for the terminal automatic logout time.
  • Page 244: Time Zone Setting Commands

    4.31 Time zone setting commands Chapter 4 Setting commands 4.31 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 245: Temperature Sensor Setting Commands

    4.32 Temperature sensor setting commands Chapter 4 Setting commands 4.32 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.
  • Page 246: Status Display Commands

    Chapter5 Status display commands Chapter 5 describes the status and statistics display commands that can be used on the NS-2250.
  • Page 247: System Status Display Commands

    5.1 System status display commands Chapter 5 Status display commands 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 Usage example show version Execution example (c)NS-2250>...
  • Page 248 5.1 System status display commands Chapter 5 Status display commands Boot Config Displays the startup file imported at startup. Main System Displays the system software version of the main system. Backup System Displays the system software version of the backup system.
  • Page 249: Show Environment

    5.1 System status display commands Chapter 5 Status display commands show environment [Normal user][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...
  • Page 250: Show Slot

    5.1 System status display commands Chapter 5 Status display commands show slot [Administrator] Function Display the USB port information. Format show slot Parameters None Usage example show slot Execution example (c)NS-2250# show slot external slot information device : exist type : setup Explanation device...
  • Page 251: Show Cpu

    5.1 System status display commands Chapter 5 Status display commands 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.
  • Page 252: Show Memory

    5.1 System status display commands Chapter 5 Status display commands 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.
  • Page 253: Show Log

    5.1 System status display commands Chapter 5 Status display commands show log [Administrator] Function Display the console log or the command execution log. show log { console | command } [ { lines | detail } ] Format log { console | command } Parameters Specify the log to display.
  • Page 254: Show Support

    5.1 System status display commands Chapter 5 Status display commands show support [Administrator] Function Command used to display support information. show support [ { detail | file { write | info | delete } } ] Format [ { detail | file { write | info | delete } } ] Parameters detail Displays more detailed information than with the ”show support”...
  • Page 255 5.1 System status display commands Chapter 5 Status display commands ===== Host information ===== Hostname :NS-2250 IPaddress :192.0.2.1/24 TcpKeepAlive :180 ===== end of show support ==== (c)NS-2250# Explanation The following is displayed with this command. • Version information • SYSTEM information •...
  • Page 256 5.1 System status display commands Chapter 5 Status display commands • Console information • Console stats information • Service information • Allowhost information • Startup config information • Running configuration • system information • network information • i2c information • system profile •...
  • Page 257: Bonding Display Commands

    5.2 Bonding display commands Chapter 5 Status display commands Bonding 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...
  • Page 258 5.2 Bonding display commands Chapter 5 Status display commands Up Delay Time(sec) Displays linkup wait timer. <slave information> Displays the physical interface information which belong to master interface. interface Name of slave interface. active Displays the slave interface which is used in transmission and reception. status status of slave interface.
  • Page 259: Network Information Display Commands

    5.3 Network information display commands Chapter 5 Status display commands Network information display commands show ether [Normal user][Administrator] Function Display information about the NS-2250 LAN port. show ether [ { eth1 | eth2 | bond1 } ] Format { eth1 | eth2 | bond1 } Parameters Specify the interface of the NS-2250.
  • Page 260 5.3 Network information display commands Chapter 5 Status display commands The link is down. Displays the connection mode. Operates in mdi mode. mdix Operates in mdix mode. The link is down. Execution example (c)NS-2250> show ether eth1 Link Status : UP Negotiation Mode : enable Speed : 1000Mb/s...
  • Page 261 5.3 Network information display commands Chapter 5 Status display commands The link is down. MDI Status Displays the connection mode. Operates in mdi mode. mdix Operates in mdix mode. The link is down. Hardware Address Displays the hardware address.
  • Page 262: Show Stats Ether

    5.3 Network information display commands Chapter 5 Status display commands show stats ether [Normal user][Administrator] Function Display statistical information about the NS-2250 LAN port. show stats ether [ { eth1 | eth2 | bond1 } ] Format { eth1 | eth2 | bond1 } Parameters Specify the interface of the NS-2250.
  • Page 263 5.3 Network information display commands Chapter 5 Status display commands 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 transmit data Frames Number of transmission frames Bytes...
  • Page 264: Show Ipinterface

    5.3 Network information display commands Chapter 5 Status display commands show ipinterface [Normal user][Administrator] Function Display information about the NS-2250 IP interface. Format show ipinterface Parameters None Execution example (c)NS-2250> show ipinterface ifname state mtu attr address/mask -------------------------------------------------------------------------- 65536 static 127.0.0.1/8 static ::1/128 eth1 1500 static 172.31.8.20/16...
  • Page 265: Show Ip

    5.3 Network information display commands Chapter 5 Status display commands 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>...
  • Page 266: Show Ip6

    5.3 Network information display commands Chapter 5 Status display commands show ip6 [Normal user][Administrator] Function Display the NS-2250 IPv6 address. Format show ip6 Parameters None Execution example If the bonding function is disabled. (c)NS-2250> show ip6 IPaddress(eth1) : 2001:db8::100/64 IPaddress(eth2) : 3fff:ffff:ffff:ffff:ffff:ffff:ffff:100/96 If the bonding function is enabled.
  • Page 267: Show Ip Host

    5.3 Network information display commands Chapter 5 Status display commands 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...
  • Page 268: Show Ip Route

    5.3 Network information display commands Chapter 5 Status display commands 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...
  • Page 269: Show Ip6Route

    5.3 Network information display commands Chapter 5 Status display commands show ip6route [Normal user][Administrator] Function Display static routes of IPv6 registered in NS-2250. Format show ip6route Parameters None Execution example (c)NS-2250> show ip6route destination gateway met iface status -------------------------------------------------------------------------------- 2001:db8::/64 0 eth1 - 3fff:ffff:ffff:ffff::/64 --- 0 eth2 -...
  • Page 270: Show Tcp

    5.3 Network information display commands Chapter 5 Status display commands show tcp [Normal user][Administrator] Function Display the status of the TCP session. Format show tcp Parameters None Execution example When setting ”delete ip6” (c)NS-2250> show tcp State SQ RQ LocalAddress RemoteAddress ------------------------------------------------------------------------------ LISTEN...
  • Page 271: Show Udp

    5.3 Network information display commands Chapter 5 Status display commands show udp [Normal user][Administrator] Function Display the status of UDP. Format show udp Parameters None Execution example (c)NS-2250> show udp SQ RQ LocalAddress RemoteAddress ----------------------------------------------------------------------- 0.0.0.0:161 0.0.0.0:* 0.0.0.0:65514 0.0.0.0:* Explanation Displays the number of datagrams saved in the transmission queue.
  • Page 272: Show Stats Ip

    5.3 Network information display commands Chapter 5 Status display commands 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...
  • Page 273 5.3 Network information display commands Chapter 5 Status display commands Echo Reply Displays the number of sent and received echo response messages. Destination Unreachable Displays the number of sent and received messages that do not reach the destination. Source Quench Displays the number of sent and received messages that have been suppressed.
  • Page 274: Show Stats Ip6

    5.3 Network information display commands Chapter 5 Status display commands show stats ip6 [Normal user][Administrator] Function Display the IPv6 statistical information. Format show stats ip6 Parameters None Execution example (c)NS-2250> show stats ip6 <IPv6 statistics information> input output ---------------------------------------- Packets Multicast Packets Delivers Header Errors...
  • Page 275 5.3 Network information display commands Chapter 5 Status display commands Reassemble Reqds Displays the number of fragments that require reassembly processing. Reassemble OKs Displays the number of IPv6 packets successfully reassembled. Reassemble Fails Displays the number of failed reassembly processes. Reassemble Timeout Displays the number of times the reassembly process failed due to timeout.
  • Page 276: Show Stats Icmp6

    5.3 Network information display commands Chapter 5 Status display commands show stats icmp6 [Normal user][Administrator] Function Display the ICMPv6 statistical information. Format show stats icmp6 Parameters None Execution example (c)NS-2250> show stats icmp6 <ICMPv6 statistics information> message type input output -------------------------------------------------- Messages Destination Unreachables...
  • Page 277 5.3 Network information display commands Chapter 5 Status display commands Group Member Reductions Displays the number of sent and received Group Member Reductions messages. Router Solicitations Displays the number of sent and received Router Solicitation messages. Router Advertisements Displays the number of sent and received Router Advertisement messages. Neighbor Solicitations Displays the number of sent and received Neighbor Solicitation messages.
  • Page 278: Show Arp

    5.3 Network information display commands Chapter 5 Status display commands 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...
  • Page 279: Show Ndp

    5.3 Network information display commands Chapter 5 Status display commands show ndp [Normal user][Administrator] Function Display the contents the address mapping table used in Neighbor Discovery Proto- col(NDP). Format show ndp Parameters None Execution example (c)NS-2250> show ndp ip6address mac-address iface ---------------------------------------------------------------- 3fff:ffff:ffff:ffff::116...
  • Page 280: Show Stats Tcp

    5.3 Network information display commands Chapter 5 Status display commands 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 1107 Input Errors Input CSumErrors...
  • Page 281: Show Stats Udp

    5.3 Network information display commands Chapter 5 Status display commands 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...
  • Page 282: Show Dns

    5.3 Network information display commands Chapter 5 Status display commands 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:example.co.jp DNS Server -------------------- 192.168.0.100 3fff:ffff:ffff:ffff::1000 Explanation...
  • Page 283: Ipfilter Status Display Commands

    5.4 Ipfilter status display commands Chapter 5 Status display commands Ipfilter status display commands show ipfilter [Normal user][Administrator] Function Display the registration status of the ipfilter. Format show ipfilter input Parameters input Display the filter condition registered for received packets. Execution example (c)NS-2250>...
  • Page 284 5.4 Ipfilter status display commands Chapter 5 Status display commands eth2 Packets which passed through eth2 is specified as a filter condition. bond1 Packets which passed through bond1 is specified as a filter condition. No interface is specified as a filter condition. destination Display the registered destination IP address.
  • Page 285: Show Stats Ipfilter

    5.4 Ipfilter status display commands Chapter 5 Status display commands show stats ipfilter [Normal user][Administrator] Function Display the statistics information of the ipfilter. Format show stats ipfilter input Parameters input Display the statistics information of the filter condition registered for received packets.
  • Page 286 5.4 Ipfilter status display commands Chapter 5 Status display commands No interface is specified as a filter condition. destination Display the registered destination IP address. source Display the registered source IP address. prot Display the registered upper protocol than IP. esp(protocol number = 50) is specified to the upper protocol than IP as a filter condition.
  • Page 287: Ipsec Status Display Commands

    5.5 Ipsec status display commands Chapter 5 Status display commands Ipsec status display commands show ipsec secret [Normal user][Administrator] Function Display the registration list of apre-shared key used in the IKE. Format show ipsec secret Parameters None Execution example (c)NS-2250> show ipsec secret <secret psk>...
  • Page 288: Show Ipsec Conn

    5.5 Ipsec status display commands Chapter 5 Status display commands show ipsec conn [Normal user][Administrator] Function Display the information of the connection setting. Format show ipsec conn [connlist] Parameters conn [connlist] Display the information of the connection setting. [connlist] Specify the number of a connection in the range of 1 to 8. You can execute a setting of some connections in one command if specifying the number of a connection in the list using a hyphen ”-”...
  • Page 289 5.5 Ipsec status display commands Chapter 5 Status display commands right The IP address of the security gateway of the opposite side is displayed. leftsubnet The network address of own side which communicates under encrypted by using IPsec is displayed. rightsubnet The network address of the opposite side which communicates under encrypted by using IPsec is displayed.
  • Page 290 5.5 Ipsec status display commands Chapter 5 Status display commands leftsourceip The source IP address of own side which communicates in the IPsec tunnel is displayed. rightsourceip The source IP address of the opposite side which communicates in the IPsec tunnel is displayed.
  • Page 291: Show Ipsec Status

    5.5 Ipsec status display commands Chapter 5 Status display commands show ipsec status [Normal user][Administrator] Function Display the information of ISAKMP-SA/IPSEC-SA. Format show ipsec status [detail] Parameters status [detail] The information of ISAKMP-SA/IPSEC-SA is displayed. [detail] The detail information of ISAKMP-SA / IPSEC-SA is displayed. If you omit this parameter, the summary of it is displayed.
  • Page 292 5.5 Ipsec status display commands Chapter 5 Status display commands 128772 bytes_o (1533 pkts, 1s ago), rekeying in 17 minutes conn_04{155}: 192.168.1.0/24 === 172.31.0.0/16 Explanation Connections The setting information of the enabled connection is displayed. conn XX conn XX The setting information of the connection number(XX) is displayed. In the line 1, the address of the security gateway of own side, the one of the opposite side and the version of IKE protocol are displayed.
  • Page 293: Show Ipsec Spd

    5.5 Ipsec status display commands Chapter 5 Status display commands show ipsec spd [Normal user][Administrator] Function Display the information of the security policy database. Format show ipsec spd Parameters None Execution example (c)NS-2250> show ipsec spd src 192.168.1.0/24 dst 172.31.0.0/16 dir fwd priority 289760 src 172.31.0.0/16 dst 192.168.1.0/24 dir fwd priority 189760...
  • Page 294: Show Ipsec Sad

    5.5 Ipsec status display commands Chapter 5 Status display commands show ipsec sad [Normal user][Administrator] Function Display the information of the security association database. Format show ipsec sad Parameters None Execution example (c)NS-2250> show ipsec sad src 200.1.0.3 dst 200.0.0.104 proto esp spi 0xdf27799d reqid 1 mode tunnel replay-window 0 flag af-unspec auth-trunc hmac(sha1) 96...
  • Page 295: User Status Display Commands

    5.6 User status display commands Chapter 5 Status display commands User status display commands show user [Normal user][Administrator] Function Display a list of created users. Format show user [ user name ] Parameters None Execution example (c)NS-2250> show user User-Name Category(Uid) Public-Key Port-Access-List --------------------------------------------------------------...
  • Page 296: Show User Login

    5.6 User status display commands Chapter 5 Status display commands 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 Dev Login-Time Idle Remote-Host ------------------------------------------------------------------------------ somebody cons Feb 16 14:17:18 00:03...
  • Page 297: Snmp Status Display Command

    5.7 SNMP status display command Chapter 5 Status display commands 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 : Tokyo xxx contact : xxx@example.com...
  • Page 298 5.7 SNMP status display command Chapter 5 Status display commands dsrtrap Displays the setting for the sending of DSR signal traps for each serial port. trap configurations manager address Displays the IP address of the trap destination SNMP server. commutity Displays the community name of the trap destination.
  • Page 299: Sntp Status Display Command

    5.8 SNTP status display command Chapter 5 Status display commands 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...
  • Page 300: Syslog Status Display Command

    5.9 Syslog status display command Chapter 5 Status display commands 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.31.1.197...
  • Page 301: Nfs Status Display Command

    5.10 NFS status display command Chapter 5 Status display commands 5.10 NFS status display command show nfs [Normal user][Administrator] Function Display the status of the NFS client function. Format show nfs Parameters None Usage example show nfs Execution example (c)NS-2240> show nfs <NFS information>...
  • Page 302 5.10 NFS status display command Chapter 5 Status display commands If an error occurs resulting in the unmount status, the reason is displays in the parentheses.
  • Page 303: Port Server Status Display Commands

    5.11 Port server status display commands Chapter 5 Status display commands 5.11 Port server status display commands show portd [Normal user][Administrator] Function Display the port server status. Format show portd Parameters None Usage example show portd Execution example (c)NS-2250> show portd auth status : basic connect status : direct...
  • Page 304 5.11 Port server status display commands Chapter 5 Status display commands 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. When it is disabled, the port server menu is not displayed.
  • Page 305: Show Portd Tty

    5.11 Port server status display commands Chapter 5 Status display commands 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 cmd ------------------------------------------------------------------------ 1 TS-2910...
  • Page 306 5.11 Port server status display commands Chapter 5 Status display commands Displayed when Normal mode(rw) are authorized. 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. off...
  • Page 307: Show Portd Session

    5.11 Port server status display commands Chapter 5 Status display commands 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 308 5.11 Port server status display commands Chapter 5 Status display commands Login-User Displays the names of the port users accessing the NS-2250 port server. Local Displays the connection protocol (Telnet/SSH) and the client port number Remote Displays the IP address of the client and the destination port number.
  • Page 309: Show Tty

    5.11 Port server status display commands Chapter 5 Status display commands show tty [Normal user][Administrator] Function Displays the status of the serial ports. Format show tty [ ttylist ] Parameters tty [ ttylist ] Specify the tty number corresponding to the serial ports to display in the 1 to 48 range.
  • Page 310 5.11 Port server status display commands Chapter 5 Status display commands flow : none detect_dsr : on Explanation Displays the serial port number. baud Displays the transfer speed of the serial port. bitchar Displays the data bit length for the serial port. parity Displays the serial port parity.
  • Page 311: Show Stats Tty

    5.11 Port server status display commands Chapter 5 Status display commands show stats tty [Normal user][Administrator] Function Displays the serial ports statistical information. Format show stats tty [ ttylist ] Parameters tty [ ttylist ] [ ttylist ] 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 312 5.11 Port server status display commands Chapter 5 Status display commands RX Octets Displays the number of received octets. Error Parity Displays the number of reception parity errors. Error Framing Displays the number of reception framing errors. Error Overrun Displays the number of reception overrun errors. Break Count Displays the number of received reception breaks.
  • Page 313: Show Logd

    5.11 Port server status display commands Chapter 5 Status display commands show logd [Normal user][Administrator] Function Display the port log status of each serial port. Format show logd [ tty [ ttylist ] ] Parameters [ tty [ ttylist ] ] [ ttylist ] Specify the tty number corresponding to the serial ports to display in the 1 to 48 range.
  • Page 314 5.11 Port server status display commands Chapter 5 Status display commands syslog Displays the syslog output setting of the port log. Displays the NFS storage setting of the port log. intvl Displays the interval setting of the port log. ratio Displays the ratio setting of the port log.
  • Page 315 5.11 Port server status display commands Chapter 5 Status display commands Trigger Displays the condition of port log output to an external server. Interval Displays the interval setting of the port log. Ratio Displays the ratio setting of the port log. SendLog Displays the port log transfer method.
  • Page 316: Show Stats Logd Tty

    5.11 Port server status display commands Chapter 5 Status display commands show stats logd tty [Normal user][Administrator] Function Display the port log statistical information of each serial port. Format show stats logd tty [ ttylist ] Parameters tty [ ttylist ] [ ttylist ] Specify the tty number corresponding to the serial ports to display in the 1 to 48 range.
  • Page 317 5.11 Port server status display commands Chapter 5 Status display commands FTP/MAIL : 0 byte Save : 0 byte Log ratio : 0 % Interval rest : 18 min FTP/MAIL exec : 0, Last return : - (c)NS-2250> Explanation Displays the port number of the serial port. Overflow Display Displays the number of overflow bytes in screen display.
  • Page 318: Console Port Status Display Command

    5.12 CONSOLE port status display command Chapter 5 Status display commands 5.12 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...
  • Page 319: Show Stats Console

    5.12 CONSOLE port status display command Chapter 5 Status display commands 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 2056 Transmit Bytes 89715...
  • Page 320: Display Command For The Internal Management Servers

    5.13 Display command for the internal management servers Chapter 5 Status display commands 5.13 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>...
  • Page 321: Display Command For The List Of Hosts And Services Authorized For Connection

    5.14 Display command for the list of hosts and services authorized for connection Chapter 5 Status display commands 5.14 Display command for the list of hosts and services autho- rized 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.
  • Page 322: Setting File Display Commands

    5.15 Setting file display commands Chapter 5 Status display commands 5.15 Setting file display commands show config [Administrator] Function Display the NS-2250 current settings. Format show config [ running [ { all | acct | auth | bonding | console | dns | ether | ip [ { host | route } ] | ip6 | ip6route | ipinterface | ipfilter | ipsec | logd | maintenance | nfs | portd | service | snmp | sntp | syslog | system | temperature | terminal | tty | user } ] ]...
  • Page 323 5.15 Setting file display commands Chapter 5 Status display commands ipfilter Display the IP filter settings. ipsec Display the configuration of the IPsec. logd Display the port log settings. maintenance Display the configuration of the maintenance function. Display the NFS settings. portd Display the port server settings.
  • Page 324: Show Config Startup

    5.15 Setting file display commands Chapter 5 Status display commands show config startup [Administrator] Function Display the content of the startup files. show config startup [ config number [ { internal | external } ] ] Format [ config number [ { internal | external } ] ] Parameters The content of the startup file selected when the NS-2250 starts is displayed if this parameter is omitted.
  • Page 325: Show Config Info

    5.15 Setting file display commands Chapter 5 Status display commands 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...
  • Page 326: Terminal Setting Information Display Command

    5.16 Terminal setting information display command Chapter 5 Status display commands 5.16 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...
  • Page 327: Authentication/Accounting Function Display Commands

    5.17 Authentication/accounting function display commands Chapter 5 Status display commands 5.17 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...
  • Page 328: Show Auth Radius

    5.17 Authentication/accounting function display commands Chapter 5 Status display commands show auth radius [Normal user][Administrator] Function Display the RADIUS authentication client settings. Format show auth radius Parameters None Usage example show auth radius Execution example (c)NS-2250> show auth radius <auth radius information> Retry Default User : portusr <radius server 1>...
  • Page 329 5.17 Authentication/accounting function display commands Chapter 5 Status display commands NAS ID This is the NAS-ID attribute notified to the RADIUS authentication server. When ”---” is displayed, the NS-2250 host name is automatically saved in the NAS-ID attribute. Attribute of portusr Displays the attribute identifier for port users.
  • Page 330: Show Auth Tacacs

    5.17 Authentication/accounting function display commands Chapter 5 Status display commands show auth tacacs [Normal user][Administrator] Function Display the settings for TACACS+ authentication and approval. Format show auth tacacs Parameters None Usage example show auth tacacs Execution example (c)NS-2250> show auth tacacs <auth tacacs+ information>...
  • Page 331: Show Auth Access Group

    5.17 Authentication/accounting function display commands Chapter 5 Status display commands 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 } ] [ { root | normal | portusr [ port [ enable port list ] ] | attr string } ] Parameters The settings of all access groups (normal users, device management users, and...
  • Page 332 5.17 Authentication/accounting function display commands Chapter 5 Status display commands [When using TACACS+] (c)NS-2250> show auth access_group Protocol : Tacacs+ Attribute : UserSpecific --------------------------------------------------------------------------- <root> attr_val : grp=admin attr_val : grp=manager --------------------------------------------------------------------------- <normal> attr_val : grp=general --------------------------------------------------------------------------- <portusr> attr_val : grp=grp1 port : 1-10 attr_val : grp=grp2 port : 21-32...
  • Page 333 5.17 Authentication/accounting function display commands Chapter 5 Status display commands Attribute : Filter-ID Category : portusr --------------------------------------------------------------------------- port : 1 attr : portusr attr : smartcs [When using TACACS+] (c)NS-2250> show auth access_group portusr port 1 Protocol :Tacacs+ Attribute : UserSpecific (Attribute Value Pair) Category :portusr ---------------------------------------------------------------------- port : 1...
  • Page 334 5.17 Authentication/accounting function display commands Chapter 5 Status display commands 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> attr_val : grp=grp1 port : 1-10 Explanation...
  • Page 335: Show Stats Auth Radius

    5.17 Authentication/accounting function display commands Chapter 5 Status display commands 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...
  • Page 336: Show Stats Auth Tacacs

    5.17 Authentication/accounting function display commands Chapter 5 Status display commands 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 337 5.17 Authentication/accounting function display commands Chapter 5 Status display commands IP address 10.1.1.1 --------------------------------------------------- Connection_OK Connection_NG Send_Start Send_Start_NG Send_Continue Send_Continue_NG Recv_Pass Recv_GetUser Recv_GetPass Recv_Fail Recv_GetData Recv_Restart Recv_Error Recv_Follow Recv_LengthErr Recv_SeqNoErr Recv_SeqNoLimit Recv_Illegal Timeout <authorization tacacs+ statistics> IP address 10.1.1.1 --------------------------------------------------- Connection_OK Connection_NG Send_Request...
  • Page 338 5.17 Authentication/accounting function display commands Chapter 5 Status display commands Send Continue Number of times SEND CONTINUE has been sent. Send Continue NG Number of SEND CONTINUE transmission failures. Recv Pass Number of times the TAC PLUS AUTHEN STATUS PASS AUTHEN REPLY packet has been received.
  • Page 339 5.17 Authentication/accounting function display commands Chapter 5 Status display commands Recv PassAdd Number of times the TAC PLUS AUTHOR STATUS PASS ADD AUTHOR RESPONSE packet has been received The approval is successful when you received this packet. Recv PassReplace Number of times the TAC PLUS AUTHOR STATUS PASS REPL AUTHOR RESPONSE packet has been received Recv Fail Number of times the TAC PLUS AUTHOR STATUS FAIL...
  • Page 340: Show Acct

    5.17 Authentication/accounting function display commands Chapter 5 Status display commands show acct [Normal user][Administrator] Function Display the account saving method. Format show acct Parameters None Usage example show acct Execution example (c)NS-2250> show acct <acct information> Mode : radius Explanation Mode local Accounts are not sent.
  • Page 341: Show Acct Radius

    5.17 Authentication/accounting function display commands Chapter 5 Status display commands show acct radius [Normal user][Administrator] Function Display the RADIUS accounting client settings. Format show acct radius Parameters None Usage example show acct radius Execution example (c)NS-2250> show acct radius <acct radius information> Retry Auth_deny_stop : remote Session_id...
  • Page 342: Show Acct Tacacs

    5.17 Authentication/accounting function display commands Chapter 5 Status display commands show acct tacacs [Normal user][Administrator] Function Display the settings for TACACS+ accounting. Format show acct tacacs Parameters None Usage example show acct tacacs Execution example (c)NS-2250> show acct tacacs <acct tacacs+ information> Auth_deny_stop : remote Task_id <tacacs+ server 1>...
  • Page 343: Show Stats Acct Radius

    5.17 Authentication/accounting function display commands Chapter 5 Status display commands show stats acct radius [Normal user][Administrator] Function Display statistical information of the RADIUS accounting client. Format show stats acct radius Parameters None Usage example show stats acct radius Execution example (c)NS-2250>...
  • Page 344: Show Stats Acct Tacacs

    5.17 Authentication/accounting function display commands Chapter 5 Status display commands 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 345 5.17 Authentication/accounting function display commands Chapter 5 Status display commands Recv_Illegal Timeout Explanation Display the detailed statistical information for each TACACS+ server. Connection OK Number of successfully established connections. Connection NG Number of connection failures. Send Start Number of sent TAC PLUS ACCT FLAG START packets. Send Stop Number of sent TAC PLUS ACCT FLAG STOP packets.
  • Page 346: Time Zone Display Command

    5.18 Time zone display command Chapter 5 Status display commands 5.18 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 347: Maintenance Commands

    Chapter6 Maintenance commands Chapter 6 describes the maintenance commands that can be used on the NS-2250.
  • Page 348: Basic Maintenance Commands

    6.1 Basic maintenance commands Chapter 6 Maintenance commands Basic maintenance commands date [Normal user][Administrator] Function Set and display the NS-2250 date and time. date [ YYYY/MM/DD hh:mm:ss | ntp { ipaddr | host } ] Format [ YYYY/MM/DD hh:mm:ss | ntp { ipaddr | host } ] Parameters This command displays the current date and time saved in the NS-2250 if this parameter is omitted.
  • Page 349: Engineering

    6.1 Basic maintenance commands Chapter 6 Maintenance commands engineering [Administrator] Function Switch the NS-2250 operating mode to engineering mode. Format engineering [ password ] Parameters [ password ] When the command is executed with this parameter specified, a message prompt- ing you to enter a password is displayed.
  • Page 350: Exit

    6.1 Basic maintenance commands Chapter 6 Maintenance commands exit [Normal user][Administrator] Function This command is alias of logout...
  • Page 351: Logout

    6.1 Basic maintenance commands Chapter 6 Maintenance commands logout [Normal user][Administrator] Function Log out from the NS-2250. Format logout Parameters None Usage example logout 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 352: Ping

    6.1 Basic maintenance commands Chapter 6 Maintenance commands ping [Normal user][Administrator] Function Confirm the communication with the connected host on an IP network. ping [ count number ] [ length len ] [ interval sec ] { dstaddr | host } Format Parameters [ count number ]...
  • Page 353: Ping6

    6.1 Basic maintenance commands Chapter 6 Maintenance commands ping6 [Normal user][Administrator] Function Confirm IPv6 communication with the connected host on the IP network. ping6 [ count number ] [ length len ] [ interval sec ] { ip6addr[%if ] | host } Format Parameters [ count number ]...
  • Page 354: Reboot

    6.1 Basic maintenance commands Chapter 6 Maintenance commands reboot [Administrator] Function Reboot the NS-2250. reboot [ { main | backup } ] Format [ startup config number [ { internal | external } ] ] [ { main | backup } ] Parameters Select the system software to reboot.
  • Page 355: Shutdown

    6.1 Basic maintenance commands Chapter 6 Maintenance commands 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 •...
  • Page 356 6.1 Basic maintenance commands Chapter 6 Maintenance commands [Normal user] Function Log in as a device management user. Format Parameters None Usage example...
  • Page 357: Telnet

    6.1 Basic maintenance commands Chapter 6 Maintenance commands telnet [Normal user][Administrator] Function Log in to a connected host via a Telnet client. telnet { ipaddr | ip6addr[%if ] | host } [ tcpport ] Format { ipaddr | ip6addr[%if ] | host } Parameters Specify the IP address or host name of the connected host to which you want to log in.
  • Page 358: Traceroute

    6.1 Basic maintenance commands Chapter 6 Maintenance commands traceroute [Normal user][Administrator] Function Examine the information of the route to the specified host. traceroute [ udp udpport ] { dstaddr | host } Format Parameters [ udp udpport ] Set the number of the UDP port to examine. This parameter is set to ”33434”...
  • Page 359: Traceroute6

    6.1 Basic maintenance commands Chapter 6 Maintenance commands traceroute6 [Normal user][Administrator] Function Examine the information of the route to the specified host traceroute6 [ udp udpport ] { ip6addr[%if ] | host } Format Parameters [ udp udpport ] Set the number of the UDP port to examine. This parameter is set to ”33434”...
  • Page 360: Switch Bonding

    6.1 Basic maintenance commands Chapter 6 Maintenance commands switch bonding [Administrator] Function Switch the active port. switch bonding { eth1 | eth2 } Format { eth1 | eth2 } Parameters 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 361: Hangup

    6.1 Basic maintenance commands Chapter 6 Maintenance commands hangup [Administrator] Function Reset the service of a specific serial port. Format hangup tty ttylist Parameters tty ttylist 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 362: History

    6.1 Basic maintenance commands Chapter 6 Maintenance commands history [Normal user][Administrator] Function Display the command execution history. Format history Parameters None Note The last 20 commands are displayed. Execution example (c)NS-2250> history history date ping 192.168.1.1 telnet 192.168.1.1 history...
  • Page 363: Logsave

    6.1 Basic maintenance commands Chapter 6 Maintenance commands logsave [Administrator] Function Save the port logs of serial ports. Format logsave tty ttylist Parameters tty ttylist 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 364: Loginfo

    6.1 Basic maintenance commands Chapter 6 Maintenance commands 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% ---------------------------------------------...
  • Page 365: Clear Arp

    6.1 Basic maintenance commands Chapter 6 Maintenance commands 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 366: Trace

    6.1 Basic maintenance commands Chapter 6 Maintenance commands trace [Administrator] Function Perform tracing of the packets sent and received by the NS-2250 for each protocol. trace { eth1 | eth2 | bond1 } { icmp | icmp6 | ipsec | radius | tacacs } Format [ count count ] [ level level ] { eth1 | eth2 | bond1 }...
  • Page 367: Disconnect

    6.1 Basic maintenance commands Chapter 6 Maintenance commands disconnect [Administrator] Function Disconnect the TCP session connected to the specified service. disconnect { ftp | ftpd | sftpd | portd tty ttylist } Format [ { all | rw { all | session id } | ro { all | session id } } ] { ftp | ftpd | sftpd | portd tty ttylist } Parameters Specify the service of the connected TCP session.
  • Page 368: Tftp Setup

    6.1 Basic maintenance commands Chapter 6 Maintenance commands tftp setup [Administrator] Function Send and receive the startup files by TFTP. tftp { get | put } setup startup { 1 | 2 | 3 | 4 | number } Format { internal | external } [ bsize size ] [ remote ”remote file”...
  • Page 369: Tftp Verup

    6.1 Basic maintenance commands Chapter 6 Maintenance commands tftp verup [Administrator] Function Send and receive the upgrade files for system by TFTP. tftp { get | put } verup { system | system-image } Format [ bsize size ] [ remote ”remote file” ] ipaddr { get | put } Parameters Send and receive the upgrade files for system by TFTP.
  • Page 370: Tftp Log

    6.1 Basic maintenance commands Chapter 6 Maintenance commands 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 371: Tftp Support

    6.1 Basic maintenance commands Chapter 6 Maintenance commands 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. [ bsize size ] Specify the block size forwarded in TFTP.
  • Page 372: Ftp

    6.1 Basic maintenance commands Chapter 6 Maintenance commands [Administrator] Function Various files is sent and received between the FTP server. ftp { setup { internal | external } | verup | support | log } ftp server Format { setup { internal | external } | verup | support | log } Parameters Various files is sent and received between the TFTP server.
  • Page 373 6.1 Basic maintenance commands Chapter 6 Maintenance commands [ <remote> ] The remote filename <local> is set if this parameter is omitted. mget Received the files on the server. mput Send the files to a server. prompt Switched the interactive mode. hash Switched the hash indication function when send and received data.
  • Page 374: Management Commands For Settings Files

    6.2 Management commands for settings files Chapter 6 Maintenance commands Management commands for settings files write [Administrator] Function Save the NS-2250 current settings in the specified startup file. write [ startup config number [ { internal | external } ] ] Format [ startup config number [ { internal | external } ] ] Parameters...
  • Page 375: Clear Startup

    6.2 Management commands for settings files Chapter 6 Maintenance commands clear startup [Administrator] Function Return the specified startup file to the default settings. clear startup { config number | all } [ { internal | external } ] Format { config number | all } Parameters config number Specify the number (1 to 4) of the startup file to return to the default settings...
  • Page 376: Default Startup

    6.2 Management commands for settings files Chapter 6 Maintenance commands default startup [Administrator] Function Specify the startup file to be imported at startup. default startup config number [ { inernal | external } ] Format Parameters startup config number Specify the number (1 to 4) of the startup file to set as the default startup file. [ { internal | external } ] internal Specify ”internal”...
  • Page 377: Copy Startup

    6.2 Management commands for settings files Chapter 6 Maintenance commands copy startup [Administrator] Function Copy a startup file. copy startup config number1 { internal | external } Format to startup config number2 { internal | external } Parameters startup config number1 Specify the number (1 to 4) of the startup file to copy.
  • Page 378: Echo

    6.2 Management commands for settings files Chapter 6 Maintenance commands 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 char- acters. Enter the character strings within double quotation marks (””) to display multiple strings.
  • Page 379: Management Command For The System Software

    6.3 Management command for the system software Chapter 6 Maintenance commands Management command for the system software copy system [Administrator] Function Copy the system software image. copy system { main | backup } to { main | backup } Format system { main | backup } Parameters Specify ”main”...
  • Page 380: Verup Execute

    6.3 Management command for the system software Chapter 6 Maintenance commands verup execute [Administrator] Function Upgrade or downgrade the system software using a file sent via FTP or SFTP. verup execute [ { main | backup } ] Format Parameters execute [ { main | backup } ] main...
  • Page 381: Verup Cleanup

    6.3 Management command for the system software Chapter 6 Maintenance commands verup cleanup [Administrator] Function Delete the system software upgrade or downgrade file sent via FTP or SFTP. Format verup cleanup Parameters None Execution example (c)NS-2250# verup cleanup clean up successful (c)NS-2250#...
  • Page 382: Backup System-Image

    6.3 Management command for the system software Chapter 6 Maintenance commands backup system-image [Administrator] Function Made the backup of system software. Backup file is made on the RAM. backup system-image { main | backup } Format { main | backup } Parameters Specify the system software which makes a backup.
  • Page 383: Restore System-Image

    6.3 Management command for the system software Chapter 6 Maintenance commands restore system-image [Administrator] Function Restore the backup of system software. restore system-image to { main | backup } Format to { main | backup } Parameters Specify the system software which restores a backup. main Restore the main system software.
  • Page 384: Clear System-Image

    6.3 Management command for the system software Chapter 6 Maintenance commands clear system-image [Administrator] Function Delete the backup file of system software. Format clear system-image Parameters None • This commands are the backup file made by the backup command and the com- Note mand from which forwarded backup file is send by TFTP/SFTP/FTP.
  • Page 385: Show System-Image

    6.3 Management command for the system software Chapter 6 Maintenance commands show system-image [Administrator] Function Displays the backup file and restore file of system software. Format show system-image Parameters None Execution example (c)NS-2250> show system-image System Image Name : NS-2250.sys Product : NS-2250 Version...
  • Page 386: Console Output Control Commands

    6.4 Console output control commands Chapter 6 Maintenance commands Console output control commands console [Administrator] Function The output destination of a console message is controlled. console [ { on | off } ] Format [ { on | off } ] Parameters Displays the status of system image.
  • Page 387: Loglevel

    6.4 Console output control commands Chapter 6 Maintenance commands loglevel [Administrator] Function Change the output level of the console messages. Format loglevel ipsec level Parameters ipsec Change the output level of the console messages the ipsec object outputs. level Specify the output level in the range from 0 to 3. If you specify as ”3”, it is the most detail level.
  • Page 388: Terminal Output Control Commands

    6.5 Terminal output control commands Chapter 6 Maintenance commands Terminal output control commands terminal timeout [Normal user][Administrator] Function Set the terminal automatic logout time. terminal timeout { on time | off } Format { on time | off } Parameters Specify the time for automatic logout timeout of the user that executed the com- mand on the terminal.
  • Page 389: Terminal Editing

    6.5 Terminal output control commands Chapter 6 Maintenance commands terminal editing [Normal user][Administrator] Function Enable or disable the terminal line editing function. terminal editing { enable | disable } Format { enable | disable } Parameters Set to enable or disable the editing of command lines using the terminal delete and arrow keys.
  • Page 390: Terminal Page

    6.5 Terminal output control commands Chapter 6 Maintenance commands terminal page [Normal user][Administrator] Function Enable or disable the terminal paging function. terminal page { enable | disable } Format { enable | disable } Parameters 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 391: Terminal Height

    6.5 Terminal output control commands Chapter 6 Maintenance commands 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”...
  • Page 392: Terminal Width

    6.5 Terminal output control commands Chapter 6 Maintenance commands 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”...
  • Page 393: Terminal Prompt

    6.5 Terminal output control commands Chapter 6 Maintenance commands terminal prompt [Normal user][Administrator] Function Specify the display format of the terminal prompt. terminal prompt { device { on | off } | hostname { on | off } | time { on | off } } Format { device { on | off...
  • Page 394: Terminal Redisp

    6.5 Terminal output control commands Chapter 6 Maintenance commands 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. terminal redisp { on | off } Format { on | off...
  • Page 395: Other Commands

    Chapter7 Other commands Chapter 7 describes the other setting commands that can be used on the NS-2250.
  • Page 396: Port Server Menu Commands

    7.1 Port server menu commands Chapter 7 Other commands 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)) •...
  • Page 397 7.1 Port server menu commands Chapter 7 Other commands 5 : show all commands tty-1:rw> 0 return Port Select Menu Host : "NS-2250-1 " login from 192.168.1.1 user (user1) Access TTY List ======================================================================= tty : Label RW RO ----------------------------------------------------------------------- 1 : EXAtrax-Tokyo-6F-00001 1 0 2 : EXAtrax-II 2 1 3 : BlueBrick-Makuhari-7F-00001 0 N/A 4 : BlueBrick-Makuhari-7F-00002 0 N/A...
  • Page 398: Display Port Log)

    7.1 Port server menu commands Chapter 7 Other commands 1 (display Port Log) 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 399: Display Port Log (Last))

    7.1 Port server menu commands Chapter 7 Other commands 2 (display Port Log (LAST)) 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 400: Start Tty Connection)

    7.1 Port server menu commands Chapter 7 Other commands 3 (start tty connection) 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: Note See the description of the ”set portd tty cmdchar” command for details on how to set ”cmdchar”.
  • Page 401: Close Telnet/Ssh Session)

    7.1 Port server menu commands Chapter 7 Other commands 4 (close telnet/ssh session) Function Close the session of the currently connected serial port. Note Only the session in which the command has been entered is closed. The other connected sessions do not change.
  • Page 402: Show All Commands)

    7.1 Port server menu commands Chapter 7 Other commands 5 (show all commands) 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...
  • Page 403: Display & Erase Port Log)

    7.1 Port server menu commands Chapter 7 Other commands 6 (display & erase Port Log) Function Display and delete the port log of the currently connected serial port. Note When this command is executed, port logs saved in the USB memory or NS-2250 internal memory are not actually deleted.
  • Page 404: Erase Port Log)

    7.1 Port server menu commands Chapter 7 Other commands 7 (erase Port Log) Function Delete the port log of the currently connected serial port. Note 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 405: Send Port Log)

    7.1 Port server menu commands Chapter 7 Other commands 8 (send Port Log) Function Forcibly send the port log of the currently connected serial port to the external FTP/email server that has been set. • If no destination server (FTP or email) has be set for the port logs, nothing Note happens when you execute this command.
  • Page 406: Show Port Log Configuration)

    7.1 Port server menu commands Chapter 7 Other commands 9 (show Port Log configuration) Function Display setting information, such as the save space, transfer interval, and transfer des- tination server of the port log of the currently connected serial port. Execution example tty-1:rw>9 tty : 1...
  • Page 407: Send Break To Tty)

    7.1 Port server menu commands Chapter 7 Other commands 10 (send break to tty) 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”...
  • Page 408: Port Selection Menu Commands

    7.2 Port selection menu commands Chapter 7 Other commands Port selection menu commands Commands of the port selection menu displayed in the port server when in Select mode. • ttyno • ttynor • l • lttyno-ttyno • d • dttyno-ttyno •...
  • Page 409: Ttynor

    7.2 Port selection menu commands Chapter 7 Other commands ttynor Function Connect to the specified serial ports in Normal mode. Execution example To connect to the serial port 7 in Monitoring mode.
  • Page 410 7.2 Port selection menu commands Chapter 7 Other commands Function Refresh the list of ports to which connection is possible.
  • Page 411: Lttyno-Ttyno

    7.2 Port selection menu commands Chapter 7 Other commands lttyno-ttyno 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.
  • Page 412 7.2 Port selection menu commands Chapter 7 Other commands Function Refresh detailed information of the user connected to the serial port (port number, user name, and IP address of Telnet/SSH client).
  • Page 413: Dttyno-Ttyno

    7.2 Port selection menu commands Chapter 7 Other commands dttyno-ttyno 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.
  • Page 414 7.2 Port selection menu commands Chapter 7 Other commands Function Display a list of port selection menu commands. Note You can also press ”?” or ”TAB” to display the port server menu list.
  • Page 415 7.2 Port selection menu commands Chapter 7 Other commands Function Close the port selection menu and disconnect the Telnet/SSH session.
  • Page 416: Index

    Index Index Index Symbols delete ip6route ....... ttyno ........delete ipfilter .
  • Page 417 Index Index set ipsec conn leftid ......ping ........set ipsec conn leftsourceip .
  • Page 418 Index Index set terminal default editing ....show slot ........set terminal default height .
  • Page 419 Index Index unset auth radius server root....217 unset auth tacacs server addr ....unset community .
  • Page 420 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