Hello Dear, I need the command used (including any parameters on the command lin
ID: 3686767 • Letter: H
Question
Hello Dear, I need
the command used (including any parameters on the command line)
the screen capture of the output ..
for this lab
SNMP Tools
This lab is designed to learn the SNMP-testing tools. Many tools are available on public domain.
The SNMP test tool is an interactive tool to obtain values of several managed objects, one at a time.
Get, Get-next, and Set are the SNMP commands that we learned under SNMP architecture/messages. Execution of these will return an SNMP Response message. Pay particular attention to index and instance in this exercise.
SNMPWalk uses snmpgetnext to trace the entire MIB. A network status command is used to test the status of network connections of a host.
SNMP is included in most Linux distributions or can be downloaded for Windows.
2 Lab Tasks
Exercise the following test tools. Use several combinations of parameters for each command.
snmptest
snmpget
snmpgetnext
snmpset
snmptrap
snmpwalk
snmpnetstat
thank you
Explanation / Answer
1) snmptest -v 2c -c public testhost:9999
2) snmpget -c public zeus system.sysDescr.0
will retrieve the variable system.sysDescr.0 from the host zeus using the community string public :
system.sysDescr.0 = "SunOS zeus.net.cmu.edu 4.1.3_U1 1 sun4m"
.4) snmpset -c private -v 1 test-hub system.sysContact.0 s dpz@noc.rutgers.edu ip.ipforwarding.0 = 2
will set the variables sysContact.0 and ipForwarding.0:
system.sysContact.0 = STRING: "dpz@noc.rutgers.edu"
ip.ipForwarding.0 = INTEGER: not-forwarding(2)
5) snmptrap -v 1 -c public manager enterprises.spider test-hub 3 0 '' interfaces.iftable.ifentry.ifindex.1 i 1
will send a generic linkUp trap to manager, for interface 1.
6) snmpwalk -Os -c public -v 1 zeus system
7) snmpnetstat -v 2c -c public -Ca testhost
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.