Instruction manual

Chapter 7: Using the cli Utility 161
network smtp Use the set command to configure email notifications to
be sent to root (set network smtp Tab Tab lists the
parameters to configure).
network st_routes After using the add command to add a static route to the
routing table, use the set command to configure the static
route (set network st_routes <IP_address> Tab Tab
shows the parameters to set).
notifications After using the add command to add a notification, use
the set command to specify a trigger using the format
used for triggers in the /etc/syslog.ng file [set notifications
<notification_name> trigger <trigger_string>]; a
notification type, one of SNMP, SMS or MAIL [type
<SNMP|SMS|MAIL>].
If MAIL is the notification type, use the set command to
set the recipient email address. [set notifications <name
to <email_address>]; sender email address [from
<email_address>]; Subject: line in quotes [subject
“<subject of the notification email>”]; email message body
in quotes [body “<body of the email message>”]; mail
server <IP_address> [<mail_server_IP_address>].
If SNMP is the notification type, use set notifications
snmptrap with an OID [oid <OID>]; trap number
[trapnumber <number>]; community name [community
<community_name>]; server IP address
[<server_IP_address>]; message body in quotes [body
body of the email message].
If SMS is the notification type, use set notifications pager
with a pager number [number pager_number], message
body in quotes [body body of the pager message];
username [user username]; server IP address [server
IPaddress]; port number [port number].
sensoralarm After using the add sensoralarm command to configure a
sensor alarm (add sensoralarm <alarm_ID>). use set
sensoralarm to configure the parameters (set
sensoralarm <alarm_ID> Tab Tab shows the parameters
to set). Enter the name of a sensor on the device in
quotes (such as Sys Fan 1) and set an appropriate range
if you specify inside or outside parameters.
service Use the set service command to enable or disable any
service (inetd, ssh, ntp, snmpd, ipsec, syslog, pmd,
pptpd, rpc, apache, dhcpd, adsap2, evtgen, logpipe). [set
service <service_name> <enable | disable>].
Table 7.3: Setting Top Level cli Parameters (Continued)
Parameter Command