05-07-2007 10:59 PM - edited 03-03-2019 04:52 PM
teach me how to configure snmp on a router...thanks
05-07-2007 11:04 PM
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.
05-08-2007 12:25 AM
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
05-08-2007 01:48 AM
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
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.
05-08-2007 06:53 PM
thansk! I already send my rate...
05-08-2007 06:29 AM
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.
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