11-19-2012 11:42 PM - edited 03-07-2019 10:08 AM
Dear All,
below is the SNMP configuration, but I am little bit of confused. Like how does it work?
Can anyone explain??? Also, i want to know the difference between SNMP and RMON. How can I use RMON here effectively?
snmp-server community chas_ro RO
snmp-server community chas_rw RW
snmp-server community tt1 RO
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps transceiver all
snmp-server enable traps call-home message-send-fail server-fail
snmp-server enable traps tty
snmp-server enable traps eigrp
snmp-server enable traps flex-links status
snmp-server enable traps fru-ctrl
snmp-server enable traps entity
snmp-server enable traps ether-oam
snmp-server enable traps flash insertion removal
snmp-server enable traps l2tc threshold sys-threshold
snmp-server enable traps power-ethernet police
snmp-server enable traps cpu threshold
snmp-server enable traps rep
snmp-server enable traps vtp
snmp-server enable traps vlancreate
snmp-server enable traps vlandelete
snmp-server enable traps auth-framework sec-violation
snmp-server enable traps dot1x auth-fail-vlan guest-vlan no-auth-fail-vlan no-guest-vlan
snmp-server enable traps envmon fan shutdown supply temperature status
snmp-server enable traps entity-diag boot-up-fail hm-test-recover hm-thresh-reached scheduled-test-fail
snmp-server enable traps port-security
snmp-server enable traps ethernet cfm cc mep-up mep-down cross-connect loop config
snmp-server enable traps ethernet cfm crosscheck mep-missing mep-unknown service-up
snmp-server enable traps ethernet cfm alarm
snmp-server enable traps ethernet evc status create delete
snmp-server enable traps event-manager
snmp-server enable traps rf
snmp-server enable traps cef resource-failure peer-state-change peer-fib-state-change inconsistency
snmp-server enable traps config-copy
snmp-server enable traps config
snmp-server enable traps config-ctid
snmp-server enable traps hsrp
snmp-server enable traps ipmulticast
snmp-server enable traps pim neighbor-change rp-mapping-change invalid-pim-message
snmp-server enable traps energywise
snmp-server enable traps bridge newroot topologychange
snmp-server enable traps stpx inconsistency root-inconsistency loop-inconsistency
snmp-server enable traps syslog
snmp-server enable traps rtr
snmp-server enable traps errdisable
snmp-server enable traps vlan-membership
snmp-server enable traps mac-notification change move threshold
snmp-server host 192.168.100.253 version 2c chas_ro
Solved! Go to Solution.
11-20-2012 12:23 AM
Hi,
snmp-server community chas_ro RO:
this is a read-only community with password chas_ro
snmp-server community chas_rw RW:
this is a read-write community with password chas_rw
So when NMS wants to read MIB values it will use the password for RO community and when it wants to read or write(change) MIB values it will use the password for RW community.
snmp-server host 192.168.100.253 version 2c chas_ro:
you define the IP address of the NMS where you will be sending V2c traps( unsolicited infos pushed to NMS)
snmp-server enable traps:
you enable the sending of traps for all the following events.
Now concerning RMON: it is used for monitoring MIB values when they attain some threshold or a threshold change
has been crossed then it will trigger an event: sending a SNMP trap and/or syslog message
Regards.
Alain
Don't forget to rate helpful posts.
11-20-2012 01:13 AM
Hi,
OID is Object Identifier which uniquely identifies a managed object in the MIB.
The MIB must be known by both the SNMP agent( the end device) and the NMS( the machine which receives traps or send
GET or SET queries to the agent).
Regards.
Alain
Don't forget to rate helpful posts.
11-20-2012 12:23 AM
Hi,
snmp-server community chas_ro RO:
this is a read-only community with password chas_ro
snmp-server community chas_rw RW:
this is a read-write community with password chas_rw
So when NMS wants to read MIB values it will use the password for RO community and when it wants to read or write(change) MIB values it will use the password for RW community.
snmp-server host 192.168.100.253 version 2c chas_ro:
you define the IP address of the NMS where you will be sending V2c traps( unsolicited infos pushed to NMS)
snmp-server enable traps:
you enable the sending of traps for all the following events.
Now concerning RMON: it is used for monitoring MIB values when they attain some threshold or a threshold change
has been crossed then it will trigger an event: sending a SNMP trap and/or syslog message
Regards.
Alain
Don't forget to rate helpful posts.
11-20-2012 12:39 AM
Hi Alain,
Thanks for the reply... But where does the MIB value reside? In switch or managed device?
And what is OID?
11-20-2012 01:13 AM
Hi,
OID is Object Identifier which uniquely identifies a managed object in the MIB.
The MIB must be known by both the SNMP agent( the end device) and the NMS( the machine which receives traps or send
GET or SET queries to the agent).
Regards.
Alain
Don't forget to rate helpful posts.
11-20-2012 01:27 AM
thanks alain...
I have the core switch 4506e in which above SNMP is configured. 4506e is connected to 6 different 2960 switches to which end users are connected. I want to know bandwidth utilization per port.
How can I achieve this?
Please help
07-21-2016 06:33 AM
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