diff options
author | Hideki Yamane <henrich@debian.org> | 2013-04-11 10:21:36 +0900 |
---|---|---|
committer | Hideki Yamane <henrich@debian.org> | 2013-04-11 10:21:36 +0900 |
commit | 9c3c74a98221880a5804fd58fe541c8b672995d2 (patch) | |
tree | 009bf8fd68af6bb1129e07dd8c1ed205010d81f8 /man/snmptest.1.def | |
parent | e30beeedd5cbe6f72008c32122b3b8b617fd5ab2 (diff) | |
download | pkg-net-snmp-9c3c74a98221880a5804fd58fe541c8b672995d2.tar.gz |
Imported Upstream version 5.7.2~dfsg
Diffstat (limited to 'man/snmptest.1.def')
-rw-r--r-- | man/snmptest.1.def | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/man/snmptest.1.def b/man/snmptest.1.def index 0092a7e..7874196 100644 --- a/man/snmptest.1.def +++ b/man/snmptest.1.def @@ -28,7 +28,6 @@ .\" distributed with the Net-SNMP package. .\" ******************************************************************/ .TH SNMPTEST 1 "25 Jul 2003" VVERSIONINFO "Net-SNMP" -.UC 4 .SH NAME snmptest - communicates with a network entity using SNMP requests .SH SYNOPSIS @@ -63,7 +62,7 @@ in the format specified in .IR variables(5) . For example: .PP -snmptest -c public -v 1 zeus +snmptest \-c public \-v 1 zeus .br .BR Variable: " system.sysDescr.0" .br @@ -176,7 +175,7 @@ manual page. .PP The following is an example of sending a GET request for two OIDs: .PP -% snmptest -v 2c -c public testhost:9999 +% snmptest \-v 2c \-c public testhost:9999 .PP .nf Variable: system.sysDescr.0 @@ -184,18 +183,18 @@ Variable: system.sysContact.0 Variable: Received Get Response from 128.2.56.220 requestid 0x7D9FCD63 errstat 0x0 errindex 0x0 -SNMPv2-MIB::sysDescr.0 = STRING: SunOS testhost 5.9 Generic_112233-02 sun4u -SNMPv2-MIB::sysContact.0 = STRING: x1111 +SNMPv2\-MIB::sysDescr.0 = STRING: SunOS testhost 5.9 Generic_112233\-02 sun4u +SNMPv2\-MIB::sysContact.0 = STRING: x1111 .fi .PP The following is an example of sending a GETNEXT request: .PP .nf -Variable: SNMPv2-MIB::sysORUpTime +Variable: SNMPv2\-MIB::sysORUpTime Variable: Received Get Response from 128.2.56.220 requestid 0x7D9FCD64 errstat 0x0 errindex 0x0 -SNMPv2-MIB::sysORUpTime.1 = Timeticks: (6) 0:00:00.06 +SNMPv2\-MIB::sysORUpTime.1 = Timeticks: (6) 0:00:00.06 Variable: .fi .PP @@ -210,7 +209,7 @@ Value: building 17 Variable: Received Get Response from 128.2.56.220 requestid 0x7D9FCD65 errstat 0x0 errindex 0x0 -SNMPv2-MIB::sysLocation.0 = STRING: building A +SNMPv2\-MIB::sysLocation.0 = STRING: building A Variable: .fi .PP @@ -229,17 +228,17 @@ Variable: What repeat count? 2 Received Get Response from 128.2.56.220 requestid 0x2EA7942A errstat 0x0 errindex 0x0 -SNMPv2-MIB::sysName.0 = STRING: testhost -SNMPv2-MIB::sysORLastChange.0 = Timeticks: (58) 0:00:00.58 -SNMPv2-MIB::sysLocation.0 = STRING: bldg A -SNMPv2-MIB::sysORID.1 = OID: IF-MIB::ifMIB +SNMPv2\-MIB::sysName.0 = STRING: testhost +SNMPv2\-MIB::sysORLastChange.0 = Timeticks: (58) 0:00:00.58 +SNMPv2\-MIB::sysLocation.0 = STRING: bldg A +SNMPv2\-MIB::sysORID.1 = OID: IF\-MIB::ifMIB Variable: .fi .PP The following is an example of sending an Inform request: .PP .nf -snmptest -v 2c -c public snmptrapd_host +snmptest \-v 2c \-c public snmptrapd_host Variable: $I Request type is Inform Request (Are you sending to the right port?) @@ -253,13 +252,13 @@ Variable: .PP The snmptrapd_host will show: .PP -snmptrapd_host [<ip address>]: Trap SNMPv2-MIB::sysContact.0 = STRING: +snmptrapd_host [<ip address>]: Trap SNMPv2\-MIB::sysContact.0 = STRING: x12345 .PP The following is an example of sending an SNMPv2 Trap request: .PP .nf -snmptest -v 2c -c public snmptrapd_host +snmptest \-v 2c \-c public snmptrapd_host Variable: $T Request type is SNMPv2 Trap Request (Are you sending to the right port?) @@ -272,7 +271,7 @@ Variable: The snmptrapd_host will show: .PP .nf -snmptrapd_host [<ip address>]: Trap SNMPv2-MIB::sys.0 = STRING: +snmptrapd_host [<ip address>]: Trap SNMPv2\-MIB::sys.0 = STRING: building a .fi .SH "SEE ALSO" |