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

snmp

teach me how to configure snmp on a router...thanks

5 REPLIES

Re: snmp

hi,

Here you are this is one of the best in brief documents to learn SNMP:

http://www.netcraftsmen.net/welcher/papers/snmprouter.html

HTH, please do rate all helpful posts,

Mohammed Mahmoud.

Community Member

Re: snmp

1. What does the configuration mean?

2. Does the configuration "snmp-server host 150.40.0.30 CalyPSo" means i will get SNMP informations?

3. Do I still need to specify "snmp-server community CalyPSo RO 50" since I already have "snmp-server host 150.40.0.30 CalyPSo"?

access-list 50 permit 150.40.0.30

access-list 51 permit 150.40.0.31

!

!

snmp-server community CalyPSo RO 50

snmp-server community NewLife RO 50

snmp-server community Cr1ck3T RW 53

snmp-server community Beauty! RW 51

snmp-server community CSCON@Tkit RO 55

snmp-server enable traps tty

snmp-server enable traps rtr

!

!

snmp-server host 150.40.0.30 CalyPSo

snmp-server host 150.40.0.31 CalyPSo

Re: snmp

Hi,

In brief, community "CalyPSo" is a RO (Read Only) and only "150.40.0.30" can use it (50 in the end of the snmp command matches on ACL 50), the same goes for "NewLife", but for "Cr1ck3T" it is RW (read / write) and only addresses mathced by ACL 53 can use it (note that ACL 53 is not defined) and so on, the syntax is:

snmp-server community [ro | rw] [accesslist allowing access with this community string]

snmp-server host 150.40.0.30 CalyPSo --> This sends any and all SNMP traps the router sends to host 150.40.0.30 using the CalyPSo community.

Accordingly the 2 commands "snmp-server community CalyPSo RO 50" and "snmp-server host 150.40.0.30 CalyPSo" are independant, as the first sends snmp traps to "150.40.0.30", while the second enables the community "CalyPSo RO" to be used to grab snmp (and the 50 restricts that only "150.40.0.30" can use this community)

NOTE: Community strings act somewhat like passwords.

NOTE: There can be several community strings, and that each one may grant different forms of access

HTH, please do rate all helpful post,

Mohammed Mahmoud.

Community Member

Re: snmp

thansk! I already send my rate...

Bronze

Re: snmp

1. What does the configuration mean?

Mohammad answered this.

2. Does the configuration "snmp-server host 150.40.0.30 CalyPSo" means i will get SNMP informations?

yes.

3. Do I still need to specify "snmp-server community CalyPSo RO 50" since I already have "snmp-server host 150.40.0.30 CalyPSo"?

yes, if you want to poll the device with your snmp mgmt station.

220
Views
4
Helpful
5
Replies
CreatePlease to create content