Advertisement
tirabytes

Cisco IOS: SNMP Configuration

Jul 18th, 2011
490
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1.  
  2. 88 88
  3. ,d "" 88 ,d
  4. 88 88 88
  5. MM88MMM 88 8b,dPPYba, ,adPPYYba, 88,dPPYba, 8b d8 MM88MMM ,adPPYba, ,adPPYba,
  6. 88 88 88P' "Y8 "" `Y8 88P' "8a `8b d8' 88 a8P_____88 I8[ ""
  7. 88 88 88 ,adPPPPP88 88 d8 `8b d8' 88 8PP""""""" `"Y8ba,
  8. 88, 88 88 88, ,88 88b, ,a8" `8b,d8' 88, "8b, ,aa aa ]8I
  9. "Y888 88 88 `"8bbdP"Y8 8Y"Ybbd8"' Y88' "Y888 `"Ybbd8"' `"YbbdP"'
  10. d8'
  11. ################################################## d8' ##### http://www.tirabytes.com/ ##
  12. -----
  13. Platform: Cisco
  14. OS: IOS
  15. -----
  16.  
  17. ## Configure SNMP 'optional' details
  18.  
  19. snmp-server contact Support Number
  20. snmp-server location Auckland
  21. snmp-server chassis-id Cisco
  22.  
  23. ## Configure community name and trap settings
  24.  
  25. snmp-server community communityname RW SNMP-ACL
  26. snmp-server host 1.1.1.1 version 2c communityname
  27.  
  28. ## Restrict who can query SNMP
  29.  
  30. ip access-list extended SNMP-ACL
  31. permit ip host 1.1.1.1 any
  32. permi ip 192.168.1 0.0.0.255 any
  33.  
  34. Note: This will enable both v1, v2c and V3.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement