04-14-2017 01:20 AM - edited 03-08-2019 10:12 AM
Hi, I have below script:
snmp-server community test1 RO 11
snmp-server community test2 RO 22
snmp-server trap link ietf
snmp-server trap-source FastEthernet1
snmp-server location Japan- Rack AZ35
snmp-server ip dscp 18
snmp-server contact 0081-12345678
snmp-server enable traps eigrp
thus I have question, under which scenario, we need more than one community strings, in my access list 11 and 22, I permit 10.123.134.56, so only traffic coming from this ip will be catured? where is the snmp destination? I can't see any setting in configuration. after setting snmp, where can i see the result if i got eigrp error.
04-14-2017 02:03 AM
Hi think you should have a snmp-server host x.x.x.x as it snmpv2 your using there
http://www.cisco.com/c/en/us/td/docs/ios/12_2/configfun/configuration/guide/ffun_c/fcf014.html#wp1001599
The following example permits any SNMP to access all objects with read-only permission using the community string named public. The router also will send ISDN traps to the hosts 172.16.1.111 and 172.16.1.33 using SNMPv1 and to the host 172.16.1.27 using SNMPv2c. The community string named public is sent with the traps.
snmp-server community public
snmp-server enable traps isdn
snmp-server host 172.16.1.27 version 2c public
snmp-server host 172.16.1.111 version 1 public
snmp-server host 172.16.1.33 public
04-14-2017 02:50 AM
Hi Mark, you help on some points, my remaining questions:
(1) under which scenario, we need more than one community strings,
(2) in my access list 11 and 22, I permit 10.123.134.56, so only traffic coming from this ip will be catured?
(3) we have snmp-server host, but i go to internet explorer , i type host ip, i didn't see anything, do we need some specific software to view snmp-server result?
04-14-2017 05:45 AM
Hi
1 you could have multiple strings as one maybe Read Only while the other maybe RW write
2 that device will be able to see the snmp info only if that's all that's allowed
3 You need a snmp software , there are multiple freeware versions online
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide