Moxa UC-8416-T-LX [43/90] Uc 8410 8416 8418 8430 managing communication

Moxa UC-8416-LX [43/90] Uc 8410 8416 8418 8430 managing communication
UC-8410/8416/8418/8430 Managing Communication
4-16
Example:
smtpclient s test f sender@company.com S IP_address receiver@company.com
< mail-body-message
-s: The mail subject.
-f: Senders mail address
-S: SMTP server IP address
The last mail address receiver@company.com is the receivers e-mail address.
mail-body-message is the mail content. The last line of the body of the message should contain ONLY the
period ‘.’ character.
You will need to add your hostname to the file /etc/hosts.
SNMP
The UC-8410/8416/8418/8430/8430 has the SNMP V1 (Simple Network Management Protocol) agent software
built in. It supports RFC1317 RS-232 like groups and RFC 1213 MIB-II.
The following simple example allows you to use an SNMP browser on the host site to query the
UC-8410/8416/8418/8430, which is the SNMP agent. The UC-8410/8416/8418/8430/8430 will respond.
debian:~# snmpwalk -v 1 -c public -Cc 192.168.30.127
SNMPv2-MIB::sysDescr.0 = STRING: Linux version 2.6.23.1 (root@UC8400) (gcc version 4.2.1) #1137 Wed
Sep 17 16:17:45 EDT 2008
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.8691.12.8410/8416/8418
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (239600) 0:39:56.00
SNMPv2-MIB::sysContact.0 = STRING: Moxa Systems Co., LDT.
SNMPv2-MIB::sysName.0 = STRING: (none)
SNMPv2-MIB::sysLocation.0 = STRING: Unknown
SNMPv2-MIB::sysServices.0 = INTEGER: 6
IF-MIB::ifNumber.0 = INTEGER: 11
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
IF-MIB::ifIndex.8 = INTEGER: 8
IF-MIB::ifIndex.9 = INTEGER: 9
IF-MIB::ifIndex.10 = INTEGER: 10
IF-MIB::ifIndex.11 = INTEGER: 11
IF-MIB::ifDescr.1 = STRING: eth0
IF-MIB::ifDescr.2 = STRING: eth1
IF-MIB::ifDescr.3 = STRING: eth2***** SNMP QUERY FINISHED *****
NOTE Click on the following links for more information about MIB II and RS-232 like groups:
http://www.faqs.org/rfcs/rfc1213.html
http://www.faqs.org/rfcs/rfc1317.html
The UC-8410/8416/8418/8430/8430 does NOT support SNMP trap.
The following tables list the variables supported by the UC-8410/8416/8418/8430.

Содержание

Скачать