XPort Pro Command Reference Part Number 900-558 Revision C March 2012
Copyright and Trademark © 2012 Lantronix. All rights reserved. No part of the contents of this book may be transmitted or reproduced in any form or by any means without the written permission of Lantronix. Printed in the United States of America. Ethernet is a trademark of XEROX Corporation. UNIX is a registered trademark of The Open Group. Windows is a trademark of Microsoft Corporation.
Table of Contents List of Figures _____________________________________________________________ 4 List of Tables ______________________________________________________________ 5 1: About This Guide 6 Chapter Summaries ________________________________________________________ 6 Conventions ______________________________________________________________6 Additional Documentation ____________________________________________________ 7 2: Overview 8 XML Architecture and Device Control _______________________
List of Figures Figure 3-1 CLI Level Hierarchy ______________________________________________________ 12 Figure 3-2 Login Level Commands ___________________________________________________13 Figure 3-3 Enable Level Commands__________________________________________________ 13 Figure 4-1 DTD for XCRs __________________________________________________________ 14 Figure 4-2 XML Example __________________________________________________________ 15 Figure 4-3 XML Group Example ___________________________________
List of Tables Table 4-8 XCR Groups ____________________________________________________________ 20 Table 4-9 XSR Groups and Items ____________________________________________________ 34 Table 5-1 Commands and Levels ____________________________________________________49 XPort Pro Command Reference 5
1: About This Guide This guide describes how to configure the XPort Pro using the Command Line Interface (CLI) and/ or Extensible Markup Language (XML). It is written for software developers and system integrators. Chapter Summaries This table lists and summarizes each chapter and appendix. Chapter Summary Chapter 2: Overview Gives an overview of CLI and XML. Chapter 3: Command Line Interface Lists commands and describes how to use CLI to configure the XPort Pro.
1: About This Guide Additional Documentation Visit the Lantronix web site at www.lantronix.com/support/documentation for the latest documentation and the following additional documentation. Document Description XPort Pro Integration Guide Information about the XPort Pro hardware, testing the XPort Pro using the demonstration board, and integrating the XPort Pro into your product. XPort Pro User Guide Instructions for how to install, configure and use the XPort Pro.
2: Overview Evolution OS™ is the Lantronix cutting-edge operating system that supports three convenient configuration methods: Web Manager, Command Line Interface (CLI), and Extensible Markup Language (XML). For more information about the Web Manager, see the XPort Pro User Guide at the Lantronix website. XML Architecture and Device Control XML is a fundamental building block for the future growth of Machine-to-Machine (M2M) networks.
3: Command Line Interface This chapter describes accessing the XPort Pro by using Telnet, SSH, or serial ports to configure the XPort Pro, navigating the Command Line Interface (CLI), typing keyboard shortcuts, and moving between the levels.
3: Command Line Interface To configure the Lantronix device server locally using a serial port, connect a terminal or a PC running a terminal emulation program to one of the device server's serial ports. Configure the terminal for 9600 baud, 8-bit, no parity, 1 stop bit, and no flow control. 1. Power off the device. 2. Press and hold down the exclamation point (!) key. 3. Power on the device. After about ten seconds, the exclamation point will display on the terminal or PC screen. 4.
3: Command Line Interface Using Keyboard Shortcuts and CLI One useful shortcut built into Evolution OS™ is that the complete text of a command does not have to be entered to issue a command. Typing just enough characters to uniquely identify a command, then hitting enter, can be used as a short cut for a command. For example, at the enable level, "sh" can be used for the "show" command. Tab Completion is also available.
3: Command Line Interface Figure 3-1 CLI Level Hierarchy (login) arp configure cpm enable device cli ssh diagnostics telnet ftp dns host email http Filesystem icmp line If 1 lpd ip ppp ip filter ssh lpd ssl modbus tunnel accept connect disconnect modem packing serial xml Ethernet link query port rss smtp snmp syslog tcp terminal terminal network tftp udp vip Commands at the login level, shown in Figure 3-2, do not affect current configuratio
3: Command Line Interface Figure 3-2 Login Level Commands >? clrscrn exit ping show show history > enable ping ping show xport_pro trace route To configure the XPort Pro, you must be in the enable level and any of its sub-levels. Figure 3-3 shows the enable level commands.
4: Configuration Using XML The device server provides an Extensible Markup Language (XML) interface that you can use to configure device server devices. Every configuration setting that can be issued from the device server Web Manager and CLI can be specified using XML. The device server can import and export configuration settings as an XML document known as an XML Configuration Record (XCR). An XCR can be imported or exported via the CLI, a Web browser, FTP, or the device server filesystem.
4: Configuration Using XML Notes: The name for each (specified with the name attribute) is the group name listed in the Web Manager XCR groups or with the “xcr list” CLI command. See the XPort Pro User Guide for more information about the Web Manager XCR groups. An empty or missing element in each present clears the setting to its default. Quick Tour of XML Syntax Declaration The first line, , is called the XML declaration.
4: Configuration Using XML Record, Group, Item, and Value Tags A is a logical grouping of configuration parameters and must contain one or more elements. It must have a name attribute and may have an instance attribute. A is a specific grouping of configuration parameters relevant to its parent group. An item takes the name attribute and must contain one or more value elements.
4: Configuration Using XML Figure 4-5 XML Example of Multiple Items john.doe@somewhere.com> evolution@xportpro.com> Figure 4-6 XML Example with Multiple Groups
4: Configuration Using XML allow for providing root and enable level passwords so that this can also be done at the password prompt. Web browser—Web Manager can be used to import and export an XCR to the device server file system. It can also be used to import an XCR from an external source such as your local hard drive. FTP—The device server FTP server can export and import XCRs when an FTP get or put command on the filename xport_pro.xcr is requested. On export (FTP get of xport_pro.
4: Configuration Using XML xcr export xcr export The same guidelines above regarding importing configurations also apply to exporting configurations. If no groups are specified, then the export command will export all configuration settings to the file. If instances are specified after the groups, only those group instances are written. If no instance is specified, all instances of that group are written.
4: Configuration Using XML The “xml paste passwords” name is used with the “passwords” name and “cli login” and “cli enable level” values to specify the passwords to use when the device has been configured with password protection. The password value is clear text. To protect the password, establish an SSH connection to the device server. Figure 4-7 shows an example.
4: Configuration Using XML Group Name Group Item cli (continued) quit connect line cp group (Attribute of “instance” is required for the group name.) Value Name Value Options Additional Information Accepts text containing control characters, for example, <control> A represents control-A Default: L inactivity timeout <None>, ... Default: 15 minutes state enable Changes state of the CP group. disable cp bit (Attribute of “instance is a number.
4: Configuration Using XML Group Name Group Item ethernet (Attribute of “instance” is “eth0”.) ftp server host (Attribute of “instance” is a number.) Value Name Value Options Additional Information speed auto, 10, 100 Default: auto duplex auto, half, full Default: auto state enable, disable Default: enable admin username Default: admin admin password Value is SECRET, hidden from user view.
4: Configuration Using XML Group Name Group Item icmp interface (Attribute of “instance” is eth0”) Value Name Value Options Additional Information state enable, disable Default: enable bootp enable, disable Default: disable dhcp enable, disable Default: enable ip address <None>, ... Accepts an IP address and mask as either: (1) IP address only (192.168.1.1) gets a default mask, (2) CIDR (192.168.1.1/24), or (3) Explicit mask (192.168.1.1 255.255.255.0).
4: Configuration Using XML Group Name Group Item ip filter delete entries filter delete filter entry line (Attribute of “instance” is a number.) Value Name Value Options Additional Information enable, disable If enabled, deletes any existing entries before adding “filter entry”. ip address Deletes a specific IP filter entry. net mask Deletes a specific IP filter entry. ip address If configured, is a specific IP address. net mask If configured, is a specific net mask.
4: Configuration Using XML Group Name Group Item line (Attribute of “instance” is a number.) (continued) xoff char gap timer Value Name Value Options Accepts a control character, for example, <control> A represents control-A Default: S <None>, ... threshold lpd (Attribute of “instance” is a number.
4: Configuration Using XML Group Name Group Item Value Name managelinx plaintext dsm credentials dna.xml.replication. protocol.version dna.capabilities.tcp. connect.fail encrypted dsm credentials Value Options Additional Information enable, disable Default: disable dna.dsc.auth. tunnel.username dna.dsc.auth.ssh. pub dna.dsc.auth.ssh. priv device.dna.dsc. tunnel.portlist.list device.dna.dsc. tunnel.ip.addr device.dna.dsc. tunnel.ip.list device.dna.dsc. tunnel.ssh.public device.dnaid device.dna.
4: Configuration Using XML Group Name Group Item modbus Value Name Value Options Additional Information tcp server state enable, disable Default: disable additional port <None>, ... Default: response timeout rss ppp (Attribute of “instance” is a number.) Default: 3000 milliseconds trace input enable, disable Default: disable local ip <None>), ... Accepts an IP address and mask as either: (1) IP address only (192.168.1.1) gets a default mask, (2) CIDR (192.168.1.
4: Configuration Using XML Group Name Group Item snmp state Value Name Value Options Additional Information enable, disable Default: enable read community Value is SECRET, hidden from user view. Default: public write community Value is SECRET, hidden from user view.
4: Configuration Using XML Group Name Group Item Value Name ssh server host rsa keys public key Value Options Additional Information private key host dsa keys public key private key delete authorized users ssl authorized user delete name authorized user (Attribute of “instance” is required for the authorized user name) password RSA certificate certificate Enter the text of the certificate. private key Enter the text of the private key.
4: Configuration Using XML Group Name Group Item telnet state terminal (Attribute of “instance” is either “network” or a number.) tftp server tunnel accept (Attribute of “instance” is a number.
4: Configuration Using XML Group Name Group Item tunnel accept (Attribute of “instance” is a number.) (continued) Value Options Additional Information block serial enable, disable Default: disable block network enable, disable Default: disable password Value Name password prompt tunnel connect Value is SECRET, hidden from user view. enable, disable Default: disable email connect <None>, ... Default: email disconnect <None>, ...
4: Configuration Using XML Group Name Group Item tunnel disconnect stop character Value Name Value Options Accepts a control character, for example, <control> A represents control-A (Attribute of “instance” is a number.) flush step character enable, disable Default: disable modem control enable, disable Default: disable timeout tunnel modem (Attribute of “instance” is a number.
4: Configuration Using XML Group Name Group Item tunnel start (Attribute of “instance is a number.” start character tunnel stop (Attribute of “instance is a number.” stop character vip state enable, disable monitor timeout <None>, ...
4: Configuration Using XML Table 4-9 XSR Groups and Items Group Name Item Name Value Name arp arp entry ip address (Attribute of “instance” is “eth0”.) Valid Values mac address age type dynamic static buffer pool this group contains other groups: ethernet driver, protocol stack cp group state disabled (Attribute of “instance” is required for the group name. disabled and locked enabled enabled and locked value cp value (Attribute of “instance” is a number.
4: Configuration Using XML Group Name Item Name Value Name email log entry time (Attribute of “instance” is a number.) ethernet driver Valid Values log buffer headers (Within group “buffer pool”.
4: Configuration Using XML Group Name Item Name ftp status Value Name Valid Values running inactive connections rejected accepted last client ip address port hardware cpu type speed memory flash size ram size http state enabled disabled logging entries bytes http log entry (Attribute of “instance” is a number.
4: Configuration Using XML Group Name Item Name Value Name icmp in messages Valid Values messages discarded errors destination unreachable time exceeded messages parameter problems source quench requests redirects ping requests ping replies timestamp requests timestamp replies address mask requests address mask replies out messages messages discarded errors destination unreachables time exceeded messages parameter problems source quench requests redirects ping requests ping replies timestamp reques
4: Configuration Using XML Group Name Item Name Value Name Valid Values interface generic status no link (Attribute of “instance” is “eth0”.) link up disabled unknown errors (error text) none ethernet (Present only for eth0.
4: Configuration Using XML Group Name Item Name Value Name interface transmit octets (Attribute of “instance” is “eth0”.) (Continued.
4: Configuration Using XML Group Name Item Name ip state Value Name Valid Values enabled disabled default ttl forwarded route discards in receives header errors address errors unknown protocols discarded delivered out requests discards discards no route reassembly timeout needed success failures fragments needed failures success ip sockets ip socket protocol UDP TCP rx queue tx queue local address local port remote address remote port state XPort Pro Command Reference 40
4: Configuration Using XML Group Name Item Name Value Name line receiver bytes (Attribute of “instance” is a number.) Valid Values breaks parity errors framing errors overrun errors no receive buffer errors queued bytes flow control n/a stop go transmitter bytes breaks queued bytes flow control n/a stop go line levels cts asserted not asserted rts asserted not asserted dsr asserted not asserted dtr asserted not asserted line (With no instance.) (Within group “line” with instance.
4: Configuration Using XML Group Name Item Name line (With no instance.) (Within group “line” with instance.) (continued) flow control Value Name Valid Values hardware none software xon char xoff char lpd jobs printed (Attribute of “instance” is a number.
4: Configuration Using XML Group Name Item Name Value Name modbus tcp server current connection ( remote port (Attribute of “instance” is “permanent” or “additional”.) (continued) Valid Values uptime pdus in pdus out processes process cpu % (Attribute of “instance” is a number.
4: Configuration Using XML Group Name Item Name Value Name Valid Values tcp retransmission algorithm vanj timeout minimum timeout maximum connections maximum open active open passive failed resets established errors in resets in out segments in out retransmitted telnet state active waiting disabled totals uptime bytes in bytes out tftp downloaded uploaded status running inactive not found errors read write unknown last client ip address port XPort Pro Command Reference 44
4: Configuration Using XML Group Name Item Name Value Name tunnel aggregate completed connects (Attribute of “instance” is a number.
4: Configuration Using XML Group Name Item Name vip conduit status Value Name Valid Values up down disabled idle negotiating closing conduit uptime config name current tunnel port dsm ip address list local dna id time of last replication tunnel user tunnel http port list data bytes receive transmit udp packet queue receive transmit udp packets receive transmit current dsm ip address tunnel proxy host tunnel proxy port vip pools xsr network interface (instance is a number.
5: Commands and Levels Click the level in the tree structure and it will take you to the command list for that level.
5: Commands and Levels • • • • • • • • • • • • • • device (device) dns (dns) email 1 (email:1) • cp (email-cp:1) email 2 (email:2) • cp (email-cp:2) email 3 (email:3) • cp (email-cp:3) email 4 (email:4) • cp (email-cp:4) filesystem (filesystem) line 1 (line:1) lpd (lpd) ppp 1 (ppp:1) ssh (ssh) • client (ssh-client) • server (ssh-server) ssl (ssl) tunnel 1 (tunnel:1) • accept (tunnel-accept:1) • cp output (tunnel-accept-cp_output:1) • password (tunnel-accept-password:1) • connect (tunnel-connect:1) • cp ou
5: Commands and Levels Table 5-1 Commands and Levels accept (tunnel-accept:1) level commands accept mode always Enables the tunneling server to always accept tunneling connections. accept mode any character Enables the tunneling server to accept tunneling connections only when a character is received through the corresponding line (serial port). accept mode disable Disables accept mode tunneling.
5: Commands and Levels default protocol Restores the default protocol as "TCP". default start character Defaults the accept mode start character. default tcp keep alive Restores the default 45 second accept mode TCP keep alive timeout. email connect Sets an email profile to use to send an email alert upon establishing an accept mode tunnel. = the number of the email profile to use.
5: Commands and Levels A decimal value character has the form \99. A hex value character has the form 0xFF. tcp keep alive Enables TCP keep alive for accept mode tunneling and sets the timer. = timer value, in milliseconds. write Stores the current configuration in permanent memory. arp (config-arp) level commands add Adds an entry to the ARP table, mapping an IP address to a MAC address. = IP address to be mapped.
5: Commands and Levels delete all known hosts Remove all hnown hosts delete all users Remove all users delete known host Remove known host delete user Delete the named user exit Exits to the ssh level.
5: Commands and Levels query port Enters the query port level. rss Change to menu level for RSS configuration and status show Displays system information. show history Displays the last 20 commands entered during the current CLI session. smtp Changes to the command level for SMTP configuration and status. snmp Enters the snmp level. syslog Enters the syslog level. tcp Changes to the command level for TCP configuration and status. terminal Enters the configure-terminal level.
5: Commands and Levels connections to other devices. default reconnect time Restores the default reconnect time value for connect mode tunneling. default start character Defaults the connect mode start character. email connect Sets an email profile to use to send an email alert upon establishing a connect mode tunnel. = the number of the email profile to use. email disconnect Sets an email profile to use to send an email alert upon closing a connect mode tunnel.
5: Commands and Levels write Stores the current configuration in permanent memory. cp (email-cp:4) level commands clrscrn Clears the screen. exit Exits to the next higher level. group Specify a CP group that shall trigger an email. = configurable pin group. no group Disables the trigger to send an email. no trigger value Clears the value that shall trigger an email. show Shows the current configuration.
5: Commands and Levels exit Exits to the next higher level. group Specify a CP group that shall trigger an email. = configurable pin group. no group Disables the trigger to send an email. no trigger value Clears the value that shall trigger an email. show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. trigger value Specify a value of the CP group that shall trigger an email.
5: Commands and Levels show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory. cpm (cpm) level commands add to Adds the specified CP to the specified group. = configurable pin. = the name of the group to which you want to add the CP. add to Adds a specified CP to a specified group at a specified bit position. = configurable pin.
5: Commands and Levels auto show tlog Continuously displays the internal trouble log. auto show upload Continuously displays the status of firmware upload. clrscrn Clears the screen. default long name Restores the default product long name. default short name Restores the default product short name. dhrystone Runs the Dhrystone benchmark program. exit Exit to the enable level. long name Sets the product long name, displayed in command mode and the Web interface.
5: Commands and Levels modem control disable Does not watch the modem control pin to disconnect. modem control enable Watches the modem control pin and disconnects if it is not asserted. no stop character Removes the stop character. no timeout Disables disconnect after timeout feature for tunneling sessions. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. stop character Sets the stop character.
5: Commands and Levels sage body of an email alert. = the name of a local file. no cc Removes the Cc addresses for email alerts. no clear mail counters Restores the email counters to the aggregate values. no from Removes the From address for email alerts. no message file Removes the file name, so the message body will be empty. no overriding domain Removes the overriding domain name option. no reply to Removes the Reply To address for email alerts.
5: Commands and Levels default priority Sets X-Priority for email alerts to 3 (normal). default server port Restores the factory default port for SMTP on the server side. email Enters the configure email level. exit Exits to the enable level. from Sets the From address for email alerts. = email address to place in the From field of the email alert. local port Sets the local port used to send email alerts. local port to use for email alerts.
5: Commands and Levels email 3 (email:3) level commands auto show statistics Continuously displays email statistics. cc Sets Cc addresses for email alerts. = a quoted, semicolon separated list of email addresses. clear log Clears all entries from the mail log. clear mail counters Sets the email counters to zero. clrscrn Clears the screen. cp Enters the next lower level. default local port Sets the local port (used to send email alerts) to random.
5: Commands and Levels show history Displays the last 20 commands entered during the current CLI session. show log Displays the email log. show statistics Displays email statistics. subject Sets the Subject for email alerts. = text to placed as the subject. to Sets To addresses for email alerts. = a quoted, semicolon separated list of email addresses. write Stores the current configuration in permanent memory.
5: Commands and Levels priority normal Sets X-Priority for email alerts to 3 (normal). priority urgent Sets X-Priority for email alerts to 1 (urgent). priority very low Sets X-Priority for email alerts to 5 (very low). reply to Sets the Reply To address for email alerts. = email address to place in the Reply To field of the email alert. send Sends an email using the current settings. server port Sets the port used by the SMTP server.
5: Commands and Levels show history Displays the last 20 commands entered during the current CLI session. show interfaces Show interface statistics show ip sockets Show UDP/TCP state information show processes Show thread runtime information show sessions Show active Telnet and SSH Sessions show xport_pro Show system information ssh Enters the SSH configuration level. ssh Begin SSH session on network .
5: Commands and Levels tftp get binary Get a binary file using TFTP tftp get binary Get a binary file using TFTP tftp put ascii Put an ascii file using TFTP tftp put ascii Put an ascii file using TFTP tftp put binary Put a binary file using TFTP tftp put binary
5: Commands and Levels aes encrypt key text Sets the connect tunnel AES encrypt key with up to 16 bytes. Each byte is represented by a single character. Note that quotes must enclose the value if it contains spaces. auto show statistics show connection statistics clrscrn Clears the screen. default protocol Restores the default protocol as "TCP". default tcp keep alive Restores the default 45 second connect mode TCP keep alive timeout. exit Exits to the next higher level.
5: Commands and Levels clrscrn Clears the screen. default protocol Restores the default value of the protocol (Telnet). default remote port Sets the remote port (used to connect to the host) to the default value, which depends on the selected protocol. exit Exits to the configuration level. host Change to config host level name Sets the name of the host. = name of the host. no name Clears the name of the host. no remote address Clears the remote address of the host.
5: Commands and Levels Note that quotes must enclose the value if it contains spaces. auto show statistics show connection statistics clrscrn Clears the screen. default protocol Restores the default protocol as "TCP". default tcp keep alive Restores the default 45 second connect mode TCP keep alive timeout. exit Exits to the next higher level. no address Removes the remote host address used to establish tunneling connections. no aes decrypt key Removes the connect tunnel AES decrypt key.
5: Commands and Levels default remote port Sets the remote port (used to connect to the host) to the default value, which depends on the selected protocol. exit Exits to the configuration level. host Change to config host level name Sets the name of the host. = name of the host. no name Clears the name of the host. no remote address Clears the remote address of the host. no ssh username Clears the SSH username associated with the host.
5: Commands and Levels auto show statistics show connection statistics clrscrn Clears the screen. default protocol Restores the default protocol as "TCP". default tcp keep alive Restores the default 45 second connect mode TCP keep alive timeout. exit Exits to the next higher level. no address Removes the remote host address used to establish tunneling connections. no aes decrypt key Removes the connect tunnel AES decrypt key. no aes encrypt key Removes the connect tunnel AES encrypt key.
5: Commands and Levels which depends on the selected protocol. exit Exits to the configuration level. host Change to config host level name Sets the name of the host. = name of the host. no name Clears the name of the host. no remote address Clears the remote address of the host. no ssh username Clears the SSH username associated with the host. protocol ssh Sets the protocol to SSH. protocol telnet Sets the protocol to Telnet.
5: Commands and Levels default protocol Restores the default protocol as "TCP". default tcp keep alive Restores the default 45 second connect mode TCP keep alive timeout. exit Exits to the next higher level. no address Removes the remote host address used to establish tunneling connections. no aes decrypt key Removes the connect tunnel AES decrypt key. no aes encrypt key Removes the connect tunnel AES encrypt key. no port Removes the remote port used to establish tunnel connections.
5: Commands and Levels host Change to config host level name Sets the name of the host. = name of the host. no name Clears the name of the host. no remote address Clears the remote address of the host. no ssh username Clears the SSH username associated with the host. protocol ssh Sets the protocol to SSH. protocol telnet Sets the protocol to Telnet.
5: Commands and Levels alive timeout. exit Exits to the next higher level. no address Removes the remote host address used to establish tunneling connections. no aes decrypt key Removes the connect tunnel AES decrypt key. no aes encrypt key Removes the connect tunnel AES encrypt key. no port Removes the remote port used to establish tunnel connections. no ssh username Removes the SSH user name. no tcp keep alive Disables the connect mode TCP keep alive timeout.
5: Commands and Levels = name of the host. no name Clears the name of the host. no remote address Clears the remote address of the host. no ssh username Clears the SSH username associated with the host. protocol ssh Sets the protocol to SSH. protocol telnet Sets the protocol to Telnet. remote address Sets the IP address of the remote host to connect to when this host is selected on the login connect menu. = IP address.
5: Commands and Levels no address Removes the remote host address used to establish tunneling connections. no aes decrypt key Removes the connect tunnel AES decrypt key. no aes encrypt key Removes the connect tunnel AES encrypt key. no port Removes the remote port used to establish tunnel connections. no ssh username Removes the SSH user name. no tcp keep alive Disables the connect mode TCP keep alive timeout. no vip name Removes the VIP name.
5: Commands and Levels no remote address Clears the remote address of the host. no ssh username Clears the SSH username associated with the host. protocol ssh Sets the protocol to SSH. protocol telnet Sets the protocol to Telnet. remote address Sets the IP address of the remote host to connect to when this host is selected on the login connect menu. = IP address. remote port Sets the remote port used to connect to the host. = port to be used.
5: Commands and Levels no aes decrypt key Removes the connect tunnel AES decrypt key. no aes encrypt key Removes the connect tunnel AES encrypt key. no port Removes the remote port used to establish tunnel connections. no ssh username Removes the SSH user name. no tcp keep alive Disables the connect mode TCP keep alive timeout. no vip name Removes the VIP name. port Sets the remote port to use for connect mode tunneling. = number of the port to use.
5: Commands and Levels protocol ssh Sets the protocol to SSH. protocol telnet Sets the protocol to Telnet. remote address Sets the IP address of the remote host to connect to when this host is selected on the login connect menu. = IP address. remote port Sets the remote port used to connect to the host. = port to be used. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session.
5: Commands and Levels no port Removes the remote port used to establish tunnel connections. no ssh username Removes the SSH user name. no tcp keep alive Disables the connect mode TCP keep alive timeout. no vip name Removes the VIP name. port Sets the remote port to use for connect mode tunneling. = number of the port to use. protocol ssh Uses SSH protocol for connect mode tunneling. protocol ssl Uses SSL protocol for connect mode tunneling.
5: Commands and Levels remote address Sets the IP address of the remote host to connect to when this host is selected on the login connect menu. = IP address. remote port Sets the remote port used to connect to the host. = port to be used. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. ssh username Sets the username for logging into the host via SSH. = username.
5: Commands and Levels no ssh username Removes the SSH user name. no tcp keep alive Disables the connect mode TCP keep alive timeout. no vip name Removes the VIP name. port Sets the remote port to use for connect mode tunneling. = number of the port to use. protocol ssh Uses SSH protocol for connect mode tunneling. protocol ssl Uses SSL protocol for connect mode tunneling. protocol tcp Uses TCP protocol for connect mode tunneling.
5: Commands and Levels selected on the login connect menu. = IP address. remote port Sets the remote port used to connect to the host. = port to be used. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. ssh username Sets the username for logging into the host via SSH. = username. write Stores the current configuration in permanent memory.
5: Commands and Levels no vip name Removes the VIP name. port Sets the remote port to use for connect mode tunneling. = number of the port to use. protocol ssh Uses SSH protocol for connect mode tunneling. protocol ssl Uses SSL protocol for connect mode tunneling. protocol tcp Uses TCP protocol for connect mode tunneling. protocol tcp aes Uses TCP protocol with AES encryption for connect mode tunneling.
5: Commands and Levels remote port Sets the remote port used to connect to the host. = port to be used. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. ssh username Sets the username for logging into the host via SSH. = username. write Stores the current configuration in permanent memory.
5: Commands and Levels = number of the port to use. protocol ssh Uses SSH protocol for connect mode tunneling. protocol ssl Uses SSL protocol for connect mode tunneling. protocol tcp Uses TCP protocol for connect mode tunneling. protocol tcp aes Uses TCP protocol with AES encryption for connect mode tunneling. protocol telnet Uses Telnet protocol (with IAC) for connect mode tunneling. protocol udp Uses UDP protocol for connect mode tunneling.
5: Commands and Levels show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. ssh username Sets the username for logging into the host via SSH. = username. write Stores the current configuration in permanent memory. host 5 (tunnel-connect-host:1:5) level commands address Sets the remote host to establish tunneling connections with. = IP address or host name of the remote host.
5: Commands and Levels protocol ssl Uses SSL protocol for connect mode tunneling. protocol tcp Uses TCP protocol for connect mode tunneling. protocol tcp aes Uses TCP protocol with AES encryption for connect mode tunneling. protocol telnet Uses Telnet protocol (with IAC) for connect mode tunneling. protocol udp Uses UDP protocol for connect mode tunneling. protocol udp aes Uses UDP protocol with AES encryption for connect mode tunneling. show Shows the current configuration.
5: Commands and Levels ssh username Sets the username for logging into the host via SSH. = username. write Stores the current configuration in permanent memory. host 6 (tunnel-connect-host:1:6) level commands address Sets the remote host to establish tunneling connections with. = IP address or host name of the remote host. aes decrypt key Sets the connect tunnel AES decrypt key with up to 16 bytes. Each byte is represented by two adjacent hex digits.
5: Commands and Levels protocol tcp aes Uses TCP protocol with AES encryption for connect mode tunneling. protocol telnet Uses Telnet protocol (with IAC) for connect mode tunneling. protocol udp Uses UDP protocol for connect mode tunneling. protocol udp aes Uses UDP protocol with AES encryption for connect mode tunneling. show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session.
5: Commands and Levels write Stores the current configuration in permanent memory. host 7 (tunnel-connect-host:1:7) level commands address Sets the remote host to establish tunneling connections with. = IP address or host name of the remote host. aes decrypt key Sets the connect tunnel AES decrypt key with up to 16 bytes. Each byte is represented by two adjacent hex digits. Bytes may run together or be separated by optional punctuation: 123ABC "12 3A BC" 12,3A,BC 12.3a.
5: Commands and Levels protocol telnet Uses Telnet protocol (with IAC) for connect mode tunneling. protocol udp Uses UDP protocol for connect mode tunneling. protocol udp aes Uses UDP protocol with AES encryption for connect mode tunneling. show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session.
5: Commands and Levels address Sets the remote host to establish tunneling connections with. = IP address or host name of the remote host. aes decrypt key Sets the connect tunnel AES decrypt key with up to 16 bytes. Each byte is represented by two adjacent hex digits. Bytes may run together or be separated by optional punctuation: 123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc Note that quotes must enclose the value if it contains spaces.
5: Commands and Levels protocol udp aes Uses UDP protocol with AES encryption for connect mode tunneling. show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. show statistics show connection statistics ssh username Sets the SSH user name for use when establishing tunneling connections with other devices. = SSH user name.
5: Commands and Levels aes decrypt key Sets the connect tunnel AES decrypt key with up to 16 bytes. Each byte is represented by two adjacent hex digits. Bytes may run together or be separated by optional punctuation: 123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc Note that quotes must enclose the value if it contains spaces. aes decrypt key text Sets the connect tunnel AES decrypt key with up to 16 bytes. Each byte is represented by a single character.
5: Commands and Levels show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. show statistics show connection statistics ssh username Sets the SSH user name for use when establishing tunneling connections with other devices. = SSH user name. tcp keep alive Enables TCP keep alive for connect mode tunneling and sets the timer. = timer value, in milliseconds.
5: Commands and Levels Authentication scheme. = URI of the server. auth type digest Sets an HTTP server authentication directive to the Digest Access Authentication scheme. = URI of the server. auth type none Sets the authentication type for an HTTP server authentication directive to none. = URI of the server. auth type ssl Sets the authentication type for an HTTP server authentication directive to SSL. = URI of the server.
5: Commands and Levels %B bytes sent excluding headers (0 = '-') %h remote host (same as %a) %{h}i header contents from request (h = header string) %m request method %p ephemeral local port value used for request %q query string (prepend with '?' or empty '-') %t timestamp HH:MM:SS (same as Apache '%(%H:%M:%S)t') %u remote user (could be bogus for 401 status) %U URL path info %r first line of request (same as '%m %U%q ') %s return status logging state disable Disables HTTP server logging.
5: Commands and Levels show history Displays the last 20 commands entered during the current CLI session. show statistics Shows ICMP statistics state disable Prevents ICMP packets from being sent or received. state enable Allows ICMP packets to be sent and received. write Stores the current configuration in permanent memory. if 1 (config-if:eth0) level commands bootp disable Disables BOOTP. bootp enable Enables BOOTP. clrscrn Clears the screen.
5: Commands and Levels clrscrn Clears the screen. default ip time to live Restores the default IP time to live. default multicast time to live Restores the default IP multicast time to live, which is one hop. exit Exits to the configuration level. ip time to live Sets the IP time to live, known by SNMP as "ipDefaultTTL". = number of hops that a typical IP packet is allowed to live. multicast time to live Sets the IP multicast time to live.
5: Commands and Levels = string that may contain binary characters. Within [] use binary decimal up to 255 or hex up to 0xFF. command mode signon message Sets an ASCII sign-on message that is sent from the serial port when the device boots and when the line is in command mode. = text. command mode signon message binary Sets a binary sign-on message that is sent from the serial port when the device boots and when the line is in command mode.
5: Commands and Levels no command mode signon message Clears the signon message displayed at boot time and when entering command mode. no gap timer Removes the gap timer, so forwarding depends on the line speed. no name Removes the name of this line. parity even Uses a parity bit on the line for even parity. parity none Does not use a parity bit on the line. parity odd Uses a parity bit on the line for odd parity. ppp Enters the serial line PPP level.
5: Commands and Levels A decimal value character has the form \99. A hex value character has the form 0xFF. link (config-ethernet:eth0) level commands clrscrn Clears the screen. default duplex Restores the default duplex setting, which is auto. default speed Restores the default speed setting, which is autonegotiate. duplex auto Sets duplex mode to auto. duplex full Sets duplex mode to full. duplex half Sets duplex mode to half.
5: Commands and Levels CLI session. write Stores the current configuration in permanent memory. lpd 1 (config-lpd:1) level commands banner disable Disables printing banner for all print jobs. Only print the banner when a job requests it. banner enable Enables printing banner for all print jobs. binary disable Treats print job as ascii text. Filters out all non-ascii characters and certain control characters. binary enable Treats print job as binary. Sends data byte-for-byte to the printer.
5: Commands and Levels show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. show statistics Displays statistics and status information for this lpd line. soj disable Disables sending the start-of-job string after each print job. soj enable Enables sending the start-of-job string after each print job. soj text binary Sets the start-of-job text allowing for binary characters.
5: Commands and Levels display remote ip enable The incoming RING is followed by the IP address of the caller. echo commands disable Does not echo modem commands. echo commands enable Echoes modem commands. echo pluses disable Does not echo the +++ characters when entering modem command mode. echo pluses enable Echoes the +++ characters when entering modem command mode. error unknown commands disable Returns OK on unknown AT commands.
5: Commands and Levels show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. threshold Sets the threshold (byte count). If the queued data reaches this threshold then the data will be sent. = number of bytes in the threshold. timeout Sets the timeout value for packing mode in milliseconds. = timeout value, in milliseconds.
5: Commands and Levels = number of the line (lpd serial port) to be configured. no local ip Removes the Local IP address. no password Removes the PPP authentication password. no peer ip Removes the peer IP address. no username Removes the PPP authentication username. password Sets the password for PPP authentication. peer ip Sets the IP Address assigned to the peer when requested during negotiation. IP address of the peer device.
5: Commands and Levels clrscrn Clears the screen. default max entries Restores the default number of RSS feed entries. exit Exits to the configuration level. feed disable Disables RSS feed. feed enable Enables RSS feed. max entries Sets the maximum number of RSS feed entries. persist disable Disables RSS feed data persistence. persist enable Enables RSS feed data persistence. show Displays the current configuration.
5: Commands and Levels host generate rsa 1024 Generate RSA public and private keys host generate rsa 512 Generate RSA public and private keys host generate rsa 768 Generate RSA public and private keys host keys Sets RSA or DSA public and/or private keys no host dsa Removes DSA public and private keys no host rsa Removes RSA public and private keys show Show SSH Server settings show authorized user Show information for an authorized user show history Displays the last 20 commands
5: Commands and Levels system location Sets the SNMP system location. = location of device. system name Sets the SNMP system name. = SNMP system name. traps Enters the next lower level. write Stores the current configuration in permanent memory. write community Sets the SNMP read-write community string. = name of the read-write community string to be set. ssh (ssh) level commands client Enters the SSH Client configuration level.
5: Commands and Levels show Displays Certificate Information. show authority Displays Authority Certificate Information. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory. syslog (config-syslog) level commands clrscrn Clears the screen. default local port Restores the default syslog local port. default remote port Restores the default syslog remote port. default severity log level No logging.
5: Commands and Levels default max timeout Restores the default Maximum Timeout between retransmissions. default send data Sets TCP to send data in accordance with standards. exit Exits to the configuration level. max retrans Sets the Maximum Retransmisssions. max retrans syn ack Sets the Maximum Retransmisssions for SYN/ACK. It is lower than "Max Retrans" to thwart denial-of-service attacks. max timeout Sets the Maximum Timeout between retransmisssions in seconds.
5: Commands and Levels echo enable Enables echoing of characters received on the line back to the line. exit Exits to the configuration level. exit connect menu disable On the login connect menu, removes the menu item allowing the user to exit to the CLI. exit connect menu enable On the login connect menu, inserts the menu item allowing the user to exit to the CLI. line Enters the line level. = number of the line (serial port) to be configured.
5: Commands and Levels the line. exit Exits to the configuration level. exit connect menu disable On the login connect menu, removes the menu item allowing the user to exit to the CLI. exit connect menu enable On the login connect menu, inserts the menu item allowing the user to exit to the CLI. line Enters the line level. = number of the line (serial port) to be configured.
5: Commands and Levels clear counters Sets the TFTP counters to zero. clrscrn Clears the screen. exit Returns to the config level. no clear counters Restores the TFTP counters to the aggregate values. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. show statistics Displays the TFTP statistics. state disable Disables the TFTP server. state enable Enables the TFTP server.
5: Commands and Levels = number of the terminal line (serial port) to be configured. terminal network Enters the configure-terminal level for the network. tunnel Enters the tunnel level. = number of the tunnel line (serial port) to be configured. write Stores the current configuration in permanent memory. udp (config-udp) level commands auto show statistics Continuously shows UDP statistics clear counters Zeros counters clrscrn Clears the screen.
5: Commands and Levels CLI session. show statistics Show XML statistics write Stores the current configuration in permanent memory.