Lantronix 900-558 manual Configure config level commands

Page 52

5: Commands and Levels

delete all known hosts

Remove all hnown hosts

delete all users

Remove all users

delete known host <server>

Remove known host

delete user <username>

Delete the named user

exit

Exits to the ssh level.

known host <server>

Set known host RSA or DSA key

no known host <server> dsa

Remove known host DSA key

no known host <server> rsa

Remove known host RSA key

no user <username> dsa

Remove user DSA key

no user <username> rsa

Remove user RSA key

show

Show SSH Client settings

show history

Displays the last 20 commands entered during the current

 

CLI session.

show known host <server>

Show known host RSA and DSA keys

show user <username>

Show information for a user

user <username>

Set username and RSA or DSA keys

user <username> command <command>

Customizes the user command

user <username> generate dsa 1024

Generate DSA public and private keys

user <username> generate dsa 512

Generate DSA public and private keys

user <username> generate dsa 768

Generate DSA public and private keys

user <username> generate rsa 1024

Generate RSA public and private keys

user <username> generate rsa 512

Generate RSA public and private keys

user <username> generate rsa 768

Generate RSA public and private keys

user <username> password <password>

Set username with password and optional RSA or DSA

 

keys

write

Stores the current configuration in permanent memory.

configure (config) level commands

 

arp

Changes to the command level for ARP configuration and

 

status.

cli

Change to menu level for CLI configuration and status

clrscrn

Clears the screen.

diagnostics

Enters the diagnostics level.

exit

Exits to the enable level.

ftp

Enters the ftp level.

host <number>

Change to config host level

http

Enters the http level.

icmp

Changes to the command level for ICMP configuration and

 

status.

if <instance>

Changes to the interface configuration level.

ip

Changes to the command level for IP configuration and

 

status.

ip filter

Enters the config-filter level.

kill ssh <session>

Kills SSH session with index from "show sessions"

kill telnet <session>

Kills Telnet session with index from "show sessions"

lpd <line>

Enters the configure lpd level.

 

<line> = number of the line (lpd serial port) to be confi-

 

gured.

modbus

Changes to the modbus configuration level.

XPort Pro Command Reference

52

Image 52
Contents Command Reference Copyright and Trademark Table of Contents Command Line InterfaceConfiguration Using XML Commands and LevelsList of Figures CLI Level HierarchyList of Tables Chapter Summaries ConventionsAdditional Documentation Document DescriptionOverview XML Architecture and Device ControlConfiguration Using Telnet Configuration Using Serial PortsCommand Line Interface Navigating the CLI HierarchyUsing Keyboard Shortcuts and CLI Understanding the CLI Level HierarchyCLI Level Hierarchy Login Level Commands Configuration Using XML XML Configuration Record Document Type DefinitionQuick Tour of XML Syntax DeclarationRecord, Group, Item, and Value Tags XML Group ExampleImporting and Exporting an XML Configuration File XML Example of Multiple ItemsBest Practices ImportingExporting XML Configuration Groups XCR GroupsRandom URI Cidr Configuration Using XML Configuration Using XML Configuration Using XML Cidr Configuration Using XML Configuration Using XML Unknown Aes encrypt key Aes decrypt key Host mode Configuration Using XML XML Status Record Groups and Items 9XSR Groups and Items Configuration Using XML Configuration Using XML Configuration Using XML Arpa Configuration Using XML UDP Configuration Using XML Configuration Using XML Configuration Using XML Configuration Using XML Configuration Using XML Configuration Using XML Commands and Levels Commands and Levels Commands and Levels Accept tunnel-accept1 level commandsMode tunneling Cli config-cli level commands Arp config-arp level commandsClient ssh-client level commands Configure config level commands Connect tunnel-connect1 level commands FiguredHost instance Cp email-cp4 level commands Cp email-cp3 level commandsCp email-cp2 level commands Cp email-cp1 level commandsCp output tunnel-connect-cpoutput1 level commands Cp output tunnel-accept-cpoutput1 level commandsCpm cpm level commands Device device level commandsDiagnostics config-diagnostics level commands Disconnect tunnel-disconnect1 level commandsDns dns level commands Email 1 email1 level commandsEmail 2 email2 level commands To textCommands and Levels Email 3 email3 level commands Email 4 email4 level commands Enable enable level commands Filesystem filesystem level commands Ftp config-ftp level commands Host 1 tunnel-connect-host11 level commandsHost 1 config-host1 level commands Port numberHost 10 tunnel-connect-host110 level commands Name textHost 10 config-host10 level commands Host 11 tunnel-connect-host111 level commands Host 11 config-host11 level commands Host 12 tunnel-connect-host112 level commands Host 12 config-host12 level commands Host 13 tunnel-connect-host113 level commands Host 13 config-host13 level commands Host 14 tunnel-connect-host114 level commands Host 14 config-host14 level commands Host 15 tunnel-connect-host115 level commands Host 15 config-host15 level commands Host 16 tunnel-connect-host116 level commands Host 16 config-host16 level commands Host 2 tunnel-connect-host12 level commands Host 2 config-host2 level commands Host 3 tunnel-connect-host13 level commands Host 3 config-host3 level commands Host 4 tunnel-connect-host14 level commands Host 4 config-host4 level commands Host 5 tunnel-connect-host15 level commands Host 5 config-host5 level commands Host 6 tunnel-connect-host16 level commands Host 6 config-host6 level commands Host 7 tunnel-connect-host17 level commands Host 7 config-host7 level commands Host 8 tunnel-connect-host18 level commandsCommands and Levels Host 8 config-host8 level commands Host 9 tunnel-connect-host19 level commandsCommands and Levels Http config-http level commands Host 9 config-host9 level commandsAuth uri realm Auth user uri user password Icmp config-icmp level commands If 1 config-ifeth0 level commands Ip config-ip level commandsIp address ip address/cidr Mtu bytesIp filter config-filter level commands Line 1 line1 level commandsGap timer milliseconds XPort Pro Command Reference 103 Link config-etherneteth0 level commands Log config-diagnostics-log level commandsLpd lpd level commands Kill lineLpd 1 config-lpd1 level commands Modem tunnel-modem1 level commands Modbus modbus level commandsTest print number of lines Packing tunnel-packing1 level commands Ppp 1 ppp1 level commands Password tunnel-accept-password1 level commandsLocal ip ip address/cidr Query port config-queryport level commands Root level commandsRss config-rss level commands Peer ip ip addressRss modbus-rss level commands Serial tunnel-serial1 level commandsServer ssh-server level commands Authorized user username passwordSmtp config-smtp level commands Snmp config-snmp level commandsSsh config-cli-ssh level commands Ssh ssh level commandsSsl ssl level commands Tcp config-tcp level commands Syslog config-syslog level commandsHost text Telnet config-cli-telnet level commands Terminal 1 config-terminal1 level commandsTerminal network config-terminalnetwork level commands Tftp config-tftp level commands Traps config-snmp-traps level commands Tunnel 1 tunnel1 level commandsUdp config-udp level commands Vip config-vip level commandsXml xml level commands Secret xcr export file group listXcr dump group list Xcr export file group listXcr import file group list Xsr dump group list