Lantronix 900-558 manual Commands and Levels

Page 61

 

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 <number>

Enters the configure email level.

exit

Exits to the enable level.

from <text>

Sets the From address for email alerts.

 

<text> = email address to place in the From field of the

 

email alert.

local port <number>

Sets the local port used to send email alerts.

 

<number> local port to use for email alerts.

message file <text>

Specifies a text file, the contents of which will be the mes-

 

sage body

 

of an email alert.

 

<text> = 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 emp-

 

ty.

no overriding domain

Removes the overriding domain name option.

no reply to

Removes the Reply To address for email alerts.

no subject

Removes subject used for email alerts.

no to

Removes the To addresses for email alerts.

overriding domain <text>

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.

 

<text> = 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).

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 <text>

Sets the Reply To address for email alerts.

 

<text> = email address to place in the Reply To field of the

 

email alert.

send

Sends an email using the current settings.

server port <number>

Sets the port used by the SMTP server.

 

<number> = 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.

subject <text>

Sets the Subject for email alerts.

 

<text> = text to placed as the subject.

to <text>

Sets To addresses for email alerts.

 

<text> = a quoted, semicolon separated list of email ad-

 

dresses.

write

Stores the current configuration in permanent memory.

XPort Pro Command Reference

61

Image 61
Contents Command Reference Copyright and Trademark Command Line Interface Table of ContentsConfiguration Using XML Commands and LevelsCLI Level Hierarchy List of FiguresList of Tables Conventions Chapter SummariesDocument Description Additional DocumentationXML Architecture and Device Control OverviewConfiguration Using Serial Ports Configuration Using TelnetNavigating the CLI Hierarchy Command Line InterfaceUnderstanding the CLI Level Hierarchy Using Keyboard Shortcuts and CLICLI Level Hierarchy Login Level Commands XML Configuration Record Document Type Definition Configuration Using XMLDeclaration Quick Tour of XML SyntaxXML Group Example Record, Group, Item, and Value TagsXML Example of Multiple Items Importing and Exporting an XML Configuration FileImporting Best PracticesExporting XCR Groups XML Configuration 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 Accept tunnel-accept1 level commands Commands and LevelsMode tunneling Cli config-cli level commands Arp config-arp level commandsClient ssh-client level commands Configure config level commands Figured Connect tunnel-connect1 level commandsHost instance Cp email-cp3 level commands Cp email-cp4 level commandsCp email-cp2 level commands Cp email-cp1 level commandsCp output tunnel-accept-cpoutput1 level commands Cp output tunnel-connect-cpoutput1 level commandsDevice device level commands Cpm cpm level commandsDisconnect tunnel-disconnect1 level commands Diagnostics config-diagnostics level commandsEmail 1 email1 level commands Dns dns level commandsTo text Email 2 email2 level commandsCommands and Levels Email 3 email3 level commands Email 4 email4 level commands Enable enable level commands Filesystem filesystem level commands Host 1 tunnel-connect-host11 level commands Ftp config-ftp level commandsPort number Host 1 config-host1 level commandsName text Host 10 tunnel-connect-host110 level commandsHost 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 8 tunnel-connect-host18 level commands Host 7 config-host7 level commandsCommands and Levels Host 9 tunnel-connect-host19 level commands Host 8 config-host8 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 Ip config-ip level commands If 1 config-ifeth0 level commandsIp address ip address/cidr Mtu bytesLine 1 line1 level commands Ip filter config-filter level commandsGap timer milliseconds XPort Pro Command Reference 103 Log config-diagnostics-log level commands Link config-etherneteth0 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 Root level commands Query port config-queryport level commandsRss config-rss level commands Peer ip ip addressSerial tunnel-serial1 level commands Rss modbus-rss level commandsServer ssh-server level commands Authorized user username passwordSnmp config-snmp level commands Smtp config-smtp 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 Terminal 1 config-terminal1 level commands Telnet config-cli-telnet level commandsTerminal network config-terminalnetwork level commands Tftp config-tftp level commands Tunnel 1 tunnel1 level commands Traps config-snmp-traps level commandsVip config-vip level commands Udp config-udp level commandsXml xml level commands Secret xcr export file group listXcr export file group list Xcr dump group listXcr import file group list Xsr dump group list