Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Modify SNMP Community Strings

Complete these steps in order to modify SNMP community strings. 1. Telnet to the router:
2. prompt# telnet 172.16.99.20

3. Enter the enable password at the prompt in order to enter the enable mode:
4. Router>enable 5. Password: Router#

6. Display the running configuration and look for the SNMP information:
7. Router#show running-config 8. 9. Building configuration... 10. ... 11. ... 12. snmp-server community public RO 13. snmp-server community private RW 14. .... 15. ....

16. Go into the configuration mode:


17. Router#configure terminal 18. Enter configuration commands, one per line. Router(config)# o End with CNTL/Z.

In order to modify the current Read-only (RO) community string: a. Delete the current Read-only (RO) community string with this command:  Router(config)#no snmp-server community public RO (where "public" is the Read-only community string) b. Enter the new Read-only (RO) community string with this command:  Router(config)#snmp-server community XXXX RO (where "XXXX" is the Read-only community string) o In order to modify the current Read-write (RW) community string: a. Delete the current Read-write (RW) community string with this command:  Router(config)#no snmp-server community private RW (where "private" is the Read-write community string) b. Enter the new Read-write (RW) community string with this command:  Router(config)#snmp-server community YYYY RW (where "YYYY" is the Read-write community string) 19. Exit out of the configuration mode and return to the main prompt:
20. Router(config)#exit Router#

21. Write the modified configuration to nonvolatile RAM (NVRAM) to save the settings:
22. 23. Router#write memory Building configuration...

24. [OK] Router#

Disable/Remove SNMP Community Strings


Complete these steps in order to disable or remove SMMP community strings. 1. Telnet to the router:
2. prompt# telnet 172.16.99.20

3. Enter the enable password at the prompt in order to enter the enable mode:
4. Router>enable 5. Password: Router#

6. Display the running configuration and look for the SNMP information:
7. Router#show running-config 8. 9. Building configuration... 10. ... 11. ... 12. snmp-server community public RO 13. snmp-server community private RW 14. .... 15. ....

16. Go into the configuration mode:


17. Router#configure terminal 18. Enter configuration commands, one per line. Router(config)# End with CNTL/Z.

19. In order to disable/remove the current Read-only (RO) community string, use this command:
20. Router(config)#no snmp-server community public RO

where "public" is the Read-only community string 21. In order to disable/remove the current Read-write (RW) community string, use this command:
22. Router(config)#no snmp-server community private RW

where "private" is the Read-write community string 23. Exit out of the configuration mode and return to the main prompt:
24. Router(config)#exit Router#

25. Write the modified configuration to nonvolatile RAM (NVRAM) to save the settings:
26. Router#write memory 27. Building configuration... 28. [OK] Router#

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094aa4.shtml#mo difysnmp

http://winadminnotes.wordpress.com/2011/08/22/how-to-install-snmp-on-esx-host-v4-x/

How to Install SNMP on ESX Host v4.x (this is important)

http://blog.cosmicegg.net/2010/02/get-vmware-configuration-info-from-snmp.html http://viadmin.com/pages/VMWare-FREE-Training-Videos.html# imp http://blog.cosmicegg.net/2010/02/get-vmware-configuration-info-from-snmp.html file:///C:/Documents%20and%20Settings/Bvrmnoc/Desktop/kiran/Enabling%20SSH%20and%20SNMP% 20on%20your%20ESXI%204,%20Vsphere%20%20Scandals%20of%20an%20ITian%20_%20Scandals%20of%20an%20ITian.htm file:///C:/Documents%20and%20Settings/Bvrmnoc/Desktop/kiran/HowTo%20%20Setup%20SNMP%20on%20ESX%203.5%20Servers%20%C2%AB%20Lewan%20&%20Associate s%20IT%20Solutions%20Technical%20Blog.htm file:///C:/Documents%20and%20Settings/Bvrmnoc/Desktop/kiran/How%20to%20Install%20SNMP%20o n%20ESX%20Host%20v4.x%20%C2%AB%20Notes%20of%20Windows%20Admin.htm

You might also like