Set SNMP V2 in cisco Device:
1 2 3 4 5 |
#conf t >snmp-server community MOHA RO do wri ^z |
1 |
# do sh run |s snmp |
- with this command we find interface index’s for monitoring.using this for monitoring Download/Upload parameter:
1 |
#show snmp mib ifmib ifindex |
- with this command send ping and size of packet to destination IP:
1 |
#ping 'IP' repeat 100 size 200 |
- In Linux distribute:
1 |
# ping 'ip' -s 2000 |
- snmpwalk command(in Linux):
we can get all of information about a device by snmpwalk in linux:
1 |
snmpwalk -v2c -c "community" clientIP |
for example :snmpwalk -v2c -c “MOHA” 192.168.10.15