Basic SNMP Question
Basic SNMP Question
(OP)
Hi,
Pretty new to SNMP, the situation I have is a network of cisco catalyst 2950 switches, which I would like to know if a cable is disconnected from any of these.
Is it possible to use SNMP to report when a connection is lost on a port? And what software would you advise to do this?
Cheers
Pretty new to SNMP, the situation I have is a network of cisco catalyst 2950 switches, which I would like to know if a cable is disconnected from any of these.
Is it possible to use SNMP to report when a connection is lost on a port? And what software would you advise to do this?
Cheers
RE: Basic SNMP Question
Setting up logging on the switches is fairly simple, it's just a matter of what you want to see. For example, if you only want to monitor the uplinks/trunked ports on a 24 port switch and FA0/1 is the uplink:
CODE
Switch(config)#logging <IP address of syslog server>
Switch(config)#interface range fa0/2-24
Switch(config-if-range)#no logging event link-status
Alternatively, if you want the ability to query a device's port status from an application (like Orion from Solarwinds), then you would need to setup SNMP specific command lines:
CODE
Switch(config)#snmp-server host 192.168.0.50
Switch(config)#snmp-server community <unique string> 50 ro
Switch(config)#snmp-server enable traps snmp linkdown
Switch(config)#snmp-server enable traps snmp linkup
OR to only query uplinks/trunks
--------------------------------
Switch(config)#access-list 50 permit ip 192.168.0.50
Switch(config)#snmp-server host 192.168.0.50
Switch(config)#snmp-server community <unique string> 50 ro
Switch(config-if)#snmp trap link-status
Others might be able to point out better syslogging tools. You have plenty of options to say the least. Good luck!
Rich
Network Engineer - CCNA