XPort Pro Lx6 Embedded Device Server Command Reference Part Number 900-689-R Revision A December 2013
Copyright and Trademark © 2013 Lantronix, Inc. 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. Lantronix and XPort are registered trademarks of Lantronix, Inc. in the United States and other countries. DeviceInstaller is a trademark of Lantronix, Inc. U.S. Patents 6,881,096; 7,018,242. Additional patents pending.
Table of Contents Copyright and Trademark ____________________________________________________ 2 Contacts _________________________________________________________________ 2 Disclaimer ________________________________________________________________ 2 Revision History ___________________________________________________________ 2 List of Figures _____________________________________________________________ 4 List of Tables ______________________________________________________________ 5 1: About This Guide
List of Figures Figure 3-2 CLI Level Hierarchy ______________________________________________________ 12 Figure 3-3 Login Level Commands ___________________________________________________ 12 Figure 3-4 Enable Level Commands__________________________________________________ 13 Figure 4-1 DTD for XCRs __________________________________________________________ 14 Figure 4-2 XML Example __________________________________________________________ 15 Figure 4-3 XML Example ________________________________________
List of Tables Table 3-1 Keyboard Shortcuts ______________________________________________________ 11 Table 4-7 XCR Groups ____________________________________________________________ 20 Table 4-8 XSR Group and Items ____________________________________________________ 28 Table 5-1 Commands and Levels ____________________________________________________ 39 XPort® Pro Lx6 Embedded Device Server Command Reference 5
1: About This Guide This guide describes how to configure the XPort® Pro Lx6 embedded device server using the Command Line Interface (CLI) and/or Extensible Markup Language (XML). CLI provides an interactive mode for accessing the device configuration and management interface. It is most suited for system and network administrators comfortable with using similar interfaces on Enterprise IT and Networking products.
1: About This Guide Additional Documentation Visit the Lantronix website at www.lantronix.com/support/documentation for the latest documentation and the following additional documentation. Document Description XPort® Pro Lx6 Embedded Device Server User Guide Describes how to configure and use the XPort Pro Lx6 embedded device server. XPort® Pro Embedded Device Server Integration Guide Contains information about the hardware and integrating the XPort Pro Lx6 into your product.
2: Overview XPort Pro Lx6 embedded device server 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 Lx6 Embedded Device Server User Guide on 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 Lx6 embedded device server by using Telnet or serial ports to configure the device, 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: 1. Connect a terminal or a PC running a terminal emulation program to one of the device server's serial ports. 2. Configure the terminal to the following settings: 9600 baud 8-bit No parity 1 stop bit No flow control. 3. Power off the device. 4. Press and hold down the exclamation point (!) key. 5. Power on the device.
3: Command Line Interface Using Keyboard Shortcuts and CLI One useful shortcut built into XPort Pro Lx6 embedded device server 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 using the Tab and Enter keys on the keyboard.
3: Command Line Interface An overview of the levels in the XPort Pro Lx6 embedded device server is presented in Figure 3-2 CLI Level Hierarchy below.
3: Command Line Interface Figure 3-4 Enable Level Commands > >enable (enable)#? auto show interfaces clrscrn connect cpm disable email filesystem kill telnet ping ping ping6 reload show show interfaces show processes telnet trace route tunnel xml auto show processes configure connect line device dns exit iperf line ping ping6 ping6 reload factory def
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 Note: 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 Lx6 Embedded Device Server User Guide for more information about the 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,
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 0 Figure 4-5 XML Example of Multiple Items disable enable
4: Configuration Using XML 0 input enable disable Importing and Exporting an XML Configuration File An XCR can be imported or exported using the following methods: Filesystem-XCRs can be saved to the device server file system and imported or
4: Configuration Using XML Importing The following syntax can be used to import configurations from a file: xcr import xcr import The first line imports all groups specified in the XML config record named in . Any filename is valid, and the file name and extension are not important. In the second line: Instance follows group with a colon (see the third example on the next page). Multiple groups are separated with a comma.
4: Configuration Using XML XML Configuration Groups Table 4-7 lists the XPort Pro Lx6 embedded device server XCR groups in alphabetical order. This table indicates the various group items, as well as some possible value names and options. Note: Any instance of < in the table may be read as "less than" and any instance of > may be read as "greater than".
4: Configuration Using XML Group Name (continued) Group Item Value Name cp group cp (Attribute of an instance is “2”) assert low (Attribute of an instance is “Line1_RS485_TxE nable”) cp group (Attribute of an instance is “Line1_RTS_CTS”) Value Options Additional Information enable, disable Default: disable enable, disable Default: disable bit type state cp (Attribute of an instance is “1) assert low bit type cp (Attribute of an instance is “3”) assert low bit type state device firmware v
4: Configuration Using XML Group Name (continued) Group Item http authentication uri realm Value Name Value Options Additional Information disable, enable Default: enable type http server user delete name user (Attribute of an instance is “admin”) password authentication timeout log format logging state max bytes max log entries max timeout port state icmp state interface (Attribute of an instance is “eth0”) state bootp default gateway dhcp client id dhcp dhcpv6 domain hostname ip addres
4: Configuration Using XML Group Name (continued) Group Item line name (Attribute of Value Options Additional Information interface rs232, rs485 halfduplex, rs485 fullduplex, usb-cdc-acm Default: termination enable, disable Default: disable state enable, disable Default: depends on instance protocol none, tunnel Default: “instance” is a number.
4: Configuration Using XML Group Name (continued) Group Item serial command mode (Attribute of Value Options Additional Information mode always, serial string, disable Default: disable “instance” is a echo serial string enable, disable Default: enable number.) serial string Sets a string that can be entered at boot time to enter command mode. This text may specify binary characters. Within [] use binary decimal up to 255 or hex up to 0xFF. Within {} specify decimal milliseconds time delay.
4: Configuration Using XML Group Name (continued) Group Item terminal terminal type (Attribute of login connect menu enable, disable Default: disable “instance” is a exit connect menu enable, disable Default: disable number or “network”) Value Name Value Options Additional Information Default: UNKNOWN send break Accepts a control character, for example, <control>A represents control-A break duration Default: 500 milliseconds echo enable, disable Default: enable tunnel accept
4: Configuration Using XML Group Name (continued) Group Item tunnel connect connect mode Value Name (Attribute of “instance” is a number.) Value Options Additional Information disable, always, any character, start character, modem control asserted, modem emulation Default: disable start character Accepts a control character, for example, <control>A represents control-A Default: B flush start character enable, disable Default: enable local port <Random>, ...
4: Configuration Using XML Group Name (continued) Group Item tunnel modem (Attribute of “instance” is a number.
4: Configuration Using XML XML Status Record Groups and Items Table 4-8 lists the supported XML Status Record (XSR) groups and items. These groups and items show the status of the device in XML form and can only be exported. The XSR schema differs slightly from the XCR groups and items in that the XSR allows groups within groups. Note: The Valid Values column of Table 4-8 indicates the default value.
4: Configuration Using XML Group Name (continued) Item Name Value Name Valid Values icmp InMsgs decimal number InErrors decimal number InDestUnreachs decimal number InTimeExcds decimal number InParmProbs decimal number InSrcQuenchs decimal number InRedirects decimal number InEchos decimal number InEchoReps decimal number InTimestamps decimal number InTimestampReps decimal number InAddrMasks decimal number InAddrMaskReps decimal number OutMsgs decimal number OutErrors decima
4: Configuration Using XML Group Name (continued) Item Name interface (Attribute of "instance" is "eth0") Value Name Valid Values default gateway dotted notation ip address dotted notation ipv6 addresses ip source ipv6 default gateway ip source generic status network mask receive transmit linkup dotted notation bytes decimal number packets decimal number errs decimal number drop decimal number fifo decimal number frame decimal number compressed decimal number multicast decima
4: Configuration Using XML Group Name (continued) Item Name ip snmp netstat ip sockets ip socket Value Name Valid Values Forwarding decimal number DefaultTTL decimal number InReceives decimal number InHdrErrors decimal number InAddrErrors decimal number ForwDatagrams decimal number InUnknownProtos decimal number InDiscards decimal number InDelivers decimal number OutRequests decimal number OutDiscards decimal number OutNoRoutes decimal number ReasmTimeout decimal number Rea
4: Configuration Using XML Group Name (continued) Item Name Value Name Valid Values line (Attribute of "instance" receiver is "") bytes decimal number breaks decimal number parity errors decimal number framing errors decimal number transmitter line levels line (group nested within line above) memory processes overrun errors decimal number no receive buffer errors decimal number queued bytes decimal number flow control go, stop, or n/a bytes decimal number breaks decimal
4: Configuration Using XML Group Name (continued) Item Name query port last connection in out Value Name Valid Values ip address ip address in format nnn.nnn.nnn.
4: Configuration Using XML Group Name (continued) Item Name tcp snmp netstat Value Name Valid Values RtoAlgorithm decimal number RtoMin decimal number RtoMax decimal number MaxConn decimal number ActiveOpens decimal number PassiveOpens decimal number AttemptFails decimal number EstabResets decimal number CurrEstab decimal number InSegs decimal number OutSegs decimal number RetransSegs decimal number InErrs decimal number OutRsts decimal number SyncookiesSent decimal number
4: Configuration Using XML Group Name (continued) Item Name Value Name Valid Values tcp (continued) TCPHPHitsToUser decimal number TCPPureAcks decimal number TCPHPAcks decimal number TCPRenoRecovery decimal number TCPSackRecovery decimal number TCPSACKReneging decimal number TCPFACKReorder decimal number TCPSACKReorder decimal number netstat (continued) TCPRenoReorder decimal number TCPTSReorder decimal number TCPFullUndo decimal number TCPPartialUndo decimal number TCPDSACKUnd
4: Configuration Using XML Group Name (continued) Item Name Value Name Valid Values tcp (continued) TCPSpuriousRTOs decimal number TCPMD5NotFound decimal number TCPMD5Unexpected decimal number TCPSackShifted decimal number tunnel netstat (continued) aggregate TCPSackMerged decimal number TCPSackShiftFallback decimal number TCPBacklogDrop decimal number TCPMinTTLDrop decimal number TCPDeferAcceptDrop decimal number IPReversePathFilter decimal number TCPTimeWaitOverflow decimal nu
4: Configuration Using XML Group Name (continued) Item Name Value Name Valid Values tunnel connect 13 connection time elapsed time in format d days hh:mm:ss connect 14 connection time elapsed time in format d days hh:mm:ss connect 15 connection time elapsed time in format d days hh:mm:ss accept connection time elapsed time in format d days hh:mm:ss connect dns address changes decimal number connect dns address invalids decimal number InDatagrams decimal number NoPorts decimal number agg
5: Commands and Levels 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 • • host 10 (tunnel-connect-host:1:10) • host 11 (tunnel-connect-host:1:11) • host 12 (tunnel-connect-host:1:12) • host 13 (tunnel-connect-host:1:13) • host 14 (tunnel-connect-host:1:14) • host 15 (tunnel-connect-host:1:15) • host 16 (tunnel-connect-host:1:16) • disconnect (tunnel-disconnect:1) • modem (tunnel-modem:1) • packing (tunnel-packing:1) • serial (tunnel-serial:1) xml (xml) Table 5-1 Commands and Levels accept (tunnel-accept:1) level commands accept mode always Enables t
5: Commands and Levels Each byte is represented by a single character. Note that quotes must enclose the value if it contains spaces. block network disable Forwards (tunnels) network data in accept mode tunneling. block network enable Discards all data coming in from the accept mode tunnel before forwarding it to the serial interface (generally used for debugging). block serial disable Restores the default priority for the interface. block serial enable Sets the priority for interface.
5: Commands and Levels password Enters the next lower level. protocol tcp Uses TCP protocol for accept mode tunneling. protocol tcp aes Uses TCP protocol with AES encryption for accept mode tunneling. protocol telnet Uses Telnet protocol (with IAC) for accept mode tunneling. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. show status Displays tunnel accept status.
5: Commands and Levels quit connect line Sets the string used to quit the "connect line", "telnet", and "ssh" commands. The characters may be input as text or control. A control character has the form C. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. telnet Change to menu level for Telnet configuration and status. write Stores the current configuration in permanent memory.
5: Commands and Levels clrscrn Clears the screen. connect mode always Enables the tunneling server to always establish tunneling connections. connect mode any character Enables the tunneling server to establish a tunneling connection when a character is received on the corresponding line (serial port). connect mode disable Disables connect mode tunneling. connect mode modem control asserted Enables the tunneling server to make tunneling connections when the modem control pin is asserted.
5: Commands and Levels local port Sets a specific port for use as the local port. = the number of the port to use. no email connect Discontinues sending email alerts upon establishing a connect mode tunnel. no email disconnect Discontinues sending email alerts upon closing a connect mode tunnel. promote host Promotes the identified host, exchanging it place with the host above it, to adjust the order of the defined hosts.
5: Commands and Levels = numeric value to watch for from the CP group. Can be specified as hex if prepended with “0x”. write Stores the current configuration in permanent memory. cp (email-cp:2) 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.
5: Commands and Levels = CP Group. no group Removes the CP Set Group for connect mode. show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory. cp output (tunnel-accept-cp_output:1) level commands clrscrn Clears the screen. connection value Sets the value to output to the CP Group upon accept mode connection. = binary to output (typically 1 or 0).
5: Commands and Levels enable Enables a disabled group. = the name of the group. exit Exits to the enable level. get Displays the value of the specified group. = the name of the group. set as input Configures a CP as an asserted high input. = configurable pin. set as input assert low Configures a CP as an asserted low input. = configurable pin. set as output Configures a CP as an asserted high output. = configurable pin.
5: Commands and Levels flush serial disable Does not flush serial data upon closing a tunneling connection. flush serial enable Flushes serial data buffer when a tunneling connection is closed. flush stop character disable Forwards the stop character from the Line to the network. flush stop character enable Prevents the stop character from the Line from being forwarded to the network. modem control disable Does not watch the modem control pin to disconnect.
5: Commands and Levels CLI session. show status Show DNS status. write Stores the current configuration in permanent memory. email 1 (email:1) 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.
5: Commands and Levels = 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. = port used for SMTP on the server side. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. show log Displays the email log. show statistics Displays email statistics.
5: Commands and Levels no to Removes the To addresses for email alerts. overriding domain Sets a domain name that will be used when connecting to an SMTP server to send an email alert instead of the device’s domain name in EHLO. = domain name to override the current domain name in EHLO. priority high Sets X-Priority for email alerts to 2 (high). priority low Sets X-Priority for email alerts to 4 (low). priority normal Sets X-Priority for email alerts to 3 (normal).
5: Commands and Levels message file Specifies a text file, the contents of which will be the message 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.
5: Commands and Levels cp Enters the next lower level. default local port Sets the local port (used to send email alerts) to random. 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.
5: Commands and Levels to Sets To addresses for email alerts. = a quoted, semicolon separated list of email addresses. write Stores the current configuration in permanent memory. enable (enable) level commands auto show interfaces Show interface statistics auto show processes Continuously show thread runtime information clrscrn Clears the screen. configure Enters the configuration level. connect Show name and number for lines. connect line Begin session on serial port.
5: Commands and Levels write Stores the current configuration in permanent memory. xml Enters the XML level. filesystem (filesystem) level commands cat Show the contents of a file cd Change the current directory to the specified directory clrscrn Clears the screen. cp Copy an existing file dump Show contents of a file as a hex dump exit Exits to the enable level.
5: Commands and Levels 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. Note that quotes must enclose the value if it contains spaces. aes encrypt key Sets the connect tunnel AES encrypt key with up to 16 bytes. Each byte is represented by two adjacent hex digits.
5: Commands and Levels host 10 (tunnel-connect-host:1:10) 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 show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session. show statistics show connection statistics tcp keep alive Enables TCP keep alive for connect mode tunneling and sets the timer. = timer value, in milliseconds. write Stores the current configuration in permanent memory.
5: Commands and Levels 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 neling 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 tcp keep alive Disables the connect mode TCP keep alive timeout. port Sets the remote port to use for connect mode tunneling. = number of the port to use. protocol tcp Uses TCP protocol for connect mode tunneling.
5: Commands and Levels 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 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 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.
5: Commands and Levels 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. Note that quotes must enclose the value if it contains spaces. aes encrypt key Sets the connect tunnel AES encrypt key with up to 16 bytes. Each byte is represented by two adjacent hex digits.
5: Commands and Levels write Stores the current configuration in permanent memory. host 16 (tunnel-connect-host:1:16) 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 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 tcp keep alive Enables TCP keep alive for connect mode tunneling and sets the timer. = timer value, in milliseconds. write Stores the current configuration in permanent memory.
5: Commands and Levels port Sets the remote port to use for connect mode tunneling. = number of the port to use. 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.
5: Commands and Levels 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 tcp keep alive Disables the connect mode TCP keep alive timeout. port Sets the remote port to use for connect mode tunneling.
5: Commands and Levels 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. no address Removes the remote host address used to establish tunneling connections.
5: Commands and Levels spaces. aes encrypt key Sets the connect tunnel AES encrypt 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 encrypt key text Sets the connect tunnel AES encrypt key with up to 16 bytes. Each byte is represented by a single character.
5: Commands and Levels 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. Note that quotes must enclose the value if it contains spaces.
5: Commands and Levels sets the timer. = timer value, in milliseconds. 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.
5: Commands and Levels 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. show statistics show connection statistics tcp keep alive Enables TCP keep alive for connect mode tunneling and sets the timer. = timer value, in milliseconds.
5: Commands and Levels no tcp keep alive Disables the connect mode TCP keep alive timeout. port Sets the remote port to use for connect mode tunneling. = number of the port to use. 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 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 tcp keep alive Disables the connect mode TCP keep alive timeout. port Sets the remote port to use for connect mode tunneling.
5: Commands and Levels log entries. default max timeout Resets the timeout to its default value. default port Resets the HTTP Server port to its default value. delete auth Deletes an existing HTTP Server authentication directive. = URI of the server. exit Returns to the config level.
5: Commands and Levels show history Displays the last 20 commands entered during the current CLI session. 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. icmpv6 (config-icmpv6) level commands clrscrn Clears the screen. exit Exits to the configuration level. show history Displays the last 20 commands entered during the current CLI session.
5: Commands and Levels no ip address Clears the IP address. no ipv6 address Clears the IPv6 address. no ipv6 default gateway Clears the IPv6 default gateway. no primary dns Clears the name of the primary DNS server. no secondary dns Clears the name of the secondary DNS server. primary dns Sets the IP address of the primary DNS server. secondary dns Sets the IP address of the secondary DNS server. show Displays the current configuration.
5: Commands and Levels command mode signon message Sets a sign-on message that is sent from the serial port when the device boots and when the line is in command mode. = text with possible binary characters. Within [] use binary decimal up to 255 or hex up to 0xFF. command mode wait time Sets boot-up wait time for command mode serial string. = wait time. configure current settings Configures line with the current value of settings.
5: Commands and Levels protocol tunnel Applies tunnel protocol on the line. reassert Asserts line status with current configured values. show Displays the current status. show command mode Shows the command mode settings for the current line. show history Displays the last 20 commands entered during the current CLI session. show line Displays the current configuration. show statistics Shows the line statistics. state disable Disables the line so data cannot be sent/received.
5: Commands and Levels show history Displays the last 20 commands entered during the current CLI session. speed 10 Sets the speed of the Ethernet link to 10 Mbps. speed 100 Sets the speed of the Ethernet link to 100 Mbps. speed auto Sets the speed of the Ethernet link to auto-negotiate. write Stores the current configuration in permanent memory. log (config-diagnostics-log) level commands clrscrn Clears the screen. default max length Restores the factory default maximum Log file size.
5: Commands and Levels response type text Uses text type responses. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. show status Displays tunnel modem status. verbose response disable Does not send Modem Response Codes. verbose response enable Sends Modem Response Codes out on the Serial Line. write Stores the current configuration in permanent memory.
5: Commands and Levels unchallenged. password Sets the password required on the network side of the tunnel to begin a connection. prompt disable Inhibits any prompting for password on the network side of the tunnel. prompt enable Sets up so a user on the network side of the tunnel will be prompted for a password. show Shows the current configuration. show history Displays the last 20 commands entered during the current CLI session.
5: Commands and Levels exit Exits to the configuration level. no relay address Removes the SMTP relay address. relay address Sets an SMTP relay address to direct all outbound email messages through a mail server. relay port Sets the SMTP relay port. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory.
5: Commands and Levels sessions. = number of sessions. port Sets the local port that the Telnet server uses. = local port number. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. show statistics Displays the Telnet statistics. state disable Disables the Telnet Server. state enable Enables the Telnet Server. write Stores the current configuration in permanent memory.
5: Commands and Levels = number of the terminal line (serial port) to be configured. terminal network Enters the configure-terminal level for the network. terminal type Sets the terminal type. tunnel Enters the tunnel level. = number of the tunnel line (serial port) to be configured. write Stores the current configuration in permanent memory.
5: Commands and Levels terminal type Sets the terminal type. tunnel Enters the tunnel level. = number of the tunnel line (serial port) to be configured. write Stores the current configuration in permanent memory. tunnel 1 (tunnel:1) level commands accept Enters the accept level for this tunnel. auto show statistics show connection statistics clear counters Zeros all tunnel counters clrscrn Clears the screen. connect Enters the connect level for this tunnel.
5: Commands and Levels xcr import Load XML configuration from a local file xcr import Load specified XML configuration from a local file xcr list List XML Configuration Record groups to the console xsr dump Dump XML Status Records to the console xsr dump Dump specified XML Status Records to the console xsr export Save XML Status Record to a file xsr export Save specified XML Status Record to a local file xsr list List XML Sta