Microsoft
Software
Hardware
Network
Question : Need help with SNMP Cisco 2924 Configuration
Hey All,
You guys are basically my bible; I have never had experience with snmp and I would like to monitor heartbeat, cpu util, vpn usage, and traffic via snmp on a cisco 2924 switch via Cacti/Nagios. I have almost no grasp of snmp because i've never used it. Can someone give me the cli required to get snmp up and running and abreak down of the cli required to configure snmp on switch? Please help!!!! The config i'm running is as follows:
SW1#sh conf
Using 3548 out of 32768 bytes
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname SW1
!
enable password cisco
!
username thomas privilege 15 password 0 cisco
!
!
!
!
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/3
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/4
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/5
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/6
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/7
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/8
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/9
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/10
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/11
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/12
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/13
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/14
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/15
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/16
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/17
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/18
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/19
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/20
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 5
spanning-tree portfast
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
description uplink_to_voice
switchport access vlan 5
!
interface FastEthernet0/24
description Uplink_FW
!
interface VLAN1
ip address 192.168.22.240 255.255.255.0
no ip directed-broadcast
no ip route-cache
!
interface VLAN5
no ip directed-broadcast
no ip route-cache
shutdown
!
ip default-gateway 192.168.22.1
!
!
end
Answer : Need help with SNMP Cisco 2924 Configuration
Much simpler than you might have imagined:
RO=Read Only
RW=Read Write
WORD=any text that conforms to good password rules "public" and "private" are well known defaults for most equipment
switch(config)#snmp-server
community WORD RO
switch(config)#snmp-server
community WORD RW
i.e.
snmp-server community N0TpuBl!c RO
snmp-server community N0TPr1v4t3 RW
Any reference to community 'string' is your password that you have set for RO and RW access. Set your Cacti to use this community string and you're good to go. If you want to enable snmp trap messages, just add the snmp-server host and snmp-server trap enable commands
Don't forget the inline help on Cisco products
snmp-server ?
snmp-server host ?
snmp-server enable trap ?
Random Solutions
HTTP Error 400 Bad request
Artisoft NIC
Trying to connect to GPRS using Seimens TC45
Networking by crossover (2 WinXPPro PCs)
WiFi Access Point & Domain Network
Member server on the DMZ
Deployment failed on cluster, please help
Use Dell PowerVault 770N as a Domain Controller
internal routing between exchange server with smart host
Problem importing Windows 2000 DHCP database into Windows 2008