Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

SNMP Question

The following command snmp-server host means that it will send the traps to NMS only

Should i use the following too for more security

access-list 50 permit

access-list 50 deny any log

snmp-server community CISCORO RO 50

Cisco Employee

Re: SNMP Question

It is always good to add that means that only will be able to poll the RO community string of the device.

If you have a RW string I would suggest an ACL on that as well.

New Member

Re: SNMP Question

But with this command snmp-server host I ensure that the traps will go to that host only so why should i use the ACL with community command and what does Poll the communlty mean?

Cisco Employee

Re: SNMP Question

The host command ensures that traps goes to this IP only, but an NMS station can still query the router via the RO comm string.

Any NMS that knows the RO community string can query the device for information. This is why you want an ACL on your RO comm string to limit who can query your router.

Traps are different as they are set from the router...polls are snmpgets and snmpwalks looking for response.