Moxa V2403-C7-W-T [29/90] Example

Moxa V2403-C7-W-T [29/90] Example
V2403 Series Linux Software Managing Communications
3-14
2. Establish a mount point on the NFS Client site:
#mkdir p /home/nfs/public
3. Mount the remote directory to a local directory:
# mount -t nfs -o nolock 192.168.3.100:/home/public /home/nfs/public
(This is where 192.168.3.100 is the example IP address of the NFS server.)
SNMP
The V2403-LX comes with the SNMP (Simple Network Management Protocol) agent software pre-installed. It
supports RFC 1213 MIB-II.
By default, snmpd listens for connections from the local system. To prevent listening, remove the configuration
text agentAddress udp:127.0.0.1:161 from the system file: /etc/snmp/snmpd.conf.
Example:
root@Moxa:~# vi /etc/snmp/snmpd.conf
###############################################################################
#
# EXAMPLE.conf:
# An example configuration file for configuring the Net-SNMP agent ('snmpd')
# See the 'snmpd.conf(5)' man page for details
#
# Some entries are deliberately commented out, and will need to be explicitly activated
#
###############################################################################
#
# AGENT BEHAVIOUR
#
# Listen for connections from the local system only
# agentAddress udp:127.0.0.1:161
# Listen for connections on all interfaces (both IPv4 *and* Ipv6)
agentAddress udp:161,udp6:[::1]:161
……
After editing the config file, restart the snmpd daemon.
root@Moxa:~# /etc/init.d/snmpd restart
The following example shows an SNMP agent responding to a query from the SNMP browser on the host site:
root@Moxa:~# snmpwalk -v 1 -c public 192.168.3.127
iso.3.6.1.2.1.1.1.0 = STRING: "Linux Moxa 3.16.0-0.bpo.4-amd64 #1 SMP Debian
3.16.7-ckt4-3~bpo70+1 (2015-02-12) x86_64"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8691.12.2400
iso.3.6.1.2.1.1.3.0 = Timeticks: (400) 0:00:04.00
iso.3.6.1.2.1.1.4.0 = STRING: "Moxa Inc., Embedded Computing Business.
<www.moxa.com>"
iso.3.6.1.2.1.1.5.0 = STRING: "Moxa"
iso.3.6.1.2.1.1.6.0 = STRING: "Fl.4, No.135, Lane 235, Baoquao Rd., Xindian Dist.,
New Taipei City, Taiwan, R.O.C.\""
iso.3.6.1.2.1.1.7.0 = INTEGER: 72
iso.3.6.1.2.1.1.8.0 = Timeticks: (1) 0:00:00.01
iso.3.6.1.2.1.1.9.1.2.1 = OID: iso.3.6.1.6.3.10.3.1.1
iso.3.6.1.2.1.1.9.1.2.2 = OID: iso.3.6.1.6.3.11.3.1.1

Содержание

Похожие устройства

Скачать