Link to home
Start Free TrialLog in
Avatar of eemoon
eemoon

asked on

Command "snmp-server enable traps snmp linkdown linkup"

Hi, Anyone can take a look at the commands and snmp-server enable traps snmp linkdown linkup. I do not know why it cannot work. Do you think the configuration on it is correct? Please see the below

MySW(config)#do sh run | i snmp
snmp-server community TSHOOT RO
snmp-server location Amsterdam
snmp-server contact info@networ.com
snmp-server enable traps snmp linkdown linkup
snmp-server host 10.0.0.123 version 2c TSHOOT

The switch and PC(Solarwinds installed) can ping each other.  Ip address 10.0.0.123 is the PC ip address to connect to the switch. Solarwind can see the switch. But the issue is after several interfaces are shutdown in switch, why no any change can be seen on Solarwind side?
Avatar of max_the_king
max_the_king

Hi,
try and use this:

snmp-server trap link switchover

max
Avatar of eemoon

ASKER

Hi Max, Thank you for your reply. I am testing Catalyst3560. It does not have this command to enter for this switch. Please see picture attached
1.PNG
Hi,
yes sorry that command works on WLC but not switches ...

I have found this on cisco support:
https://supportforums.cisco.com/t5/network-management/catalyst-3560-quot-snmp-trap-link-status-quot/td-p/724940

what I believe you want to read is the following, interesting point of view which i agree totally (monitor specific ports, not everything) and wich might indirectly solve your issue:

If you would monitor particular interface link :

Command:

Router(config)# snmp-server trap-source ethernet 2/1

If you would monitor ROUTER..with only one interface than .. create one loopback

interface and monitor that.

hope this helps
max
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.