11-02-2017 03:10 PM - edited 03-08-2019 12:36 PM
Hi, I configured Switch 3560 as below and try to see how long Solarwind NPM can see the interface status change after its interface is shutdown or up. Now it always need to take 3 min NPM to see the change. Is this normal? I doubt command work well -- "snmp-server enable trap snmp linkdown linkup. The switch and NPM can ping each other. I want to monitor its layer 2 interface. It can work well? Thank you
MySW(config)#do sh run | i snmp
snmp-server community TSHOOT RO
snmp-server location Amsterdam
snmp-server contact info@net.com
snmp-server enable traps snmp linkdown linkup
snmp-server host 10.0.0.123 version 2c TSHOOT
MySW(config)#do sh run int f0/3
interface FastEthernet0/3
switchport access vlan 10
snmp trap link-status ( by default)
degug snmp
03:05:16: SNMP: Packet sent via UDP to 10.0.0.123
03:06:16: SNMP: Packet received via UDP from 10.0.0.123 on Vlan10
03:06:16: SNMP: Get request, reqid 49218, errstat 0, erridx 0
ifInDiscards.10003 = NULL TYPE/VALUE
ifInErrors.10003 = NULL TYPE/VALUE
ifOutDiscards.10003 = NULL TYPE/VALUE
ifOutErrors.10003 = NULL TYPE/VALUE
dot3StatsEntry.8.10003 = NULL TYPE/VALUE
etherStatsEntry.8.10003 = NULL TYPE/VALUE
03:06:16: SNMP: Response, reqid 49218, errstat 0, erridx 0
ifInDiscards.10003 = 0
ifInErrors.10003 = 0
ifOutDiscards.10003 = 0
ifOutErrors.10003 = 0
dot3StatsEntry.8.10003 = 0
etherStatsEntry.8.10003 = NO_SUCH_INSTANCE_EXCEPTION
03:06:16: SNMP: Packet sent via UDP to 10.0.0.123
03:06:16: SNMP: Packet received via UDP from 10.0.0.123 on Vlan10
03:06:16: SNMP: Get request, reqid 49222, errstat 0, erridx 0
ifHCInOctets.10003 = NULL TYPE/VALUE
03:06:16: SNMP: Response, reqid 49222, errstat 0, erridx 0
ifHCInOctets.10003 = 0x00001903E
03:06:16: SNMP: Packet sent via UDP to 10.0.0.123
03:06:16: SNMP: Packet received via UDP from 10.0.0.123 on Vlan10
03:06:16: SNMP: Get request, reqid 49224, errstat 0, erridx 0
ifHCInUcastPkts.10003 = NULL TYPE/VALUE
ifHCInMulticastPkts.10003 = NULL TYPE/VALUE
ifHCOutOctets.10003 = NULL TYPE/VALUE
ifHCOutUcastPkts.10003 = NULL TYPE/VALUE
ifHCOutMulticastPkts.10003 = NULL TYPE/VALUE
sysUpTime.0 = NULL TYPE/VALUE
03:07:16: SNMP: Response, reqid 15845, errstat 0, erridx 0
sysUpTime.0 = 1123639
03:07:16: SNMP: Packet sent via UDP to 10.0.0.123
03:07:16: SNMP: Packet received via UDP from 10.0.0.123 on Vlan10
03:07:16: SNMP: Get request, reqid 49244, errstat 0, erridx 0
ifDescr.10003 = NULL TYPE/VALUE
11-02-2017 04:27 PM
Hi,
By default NPM polls the switch every 120 seconds (2 min). So, if you shut down a port on the switch, you should be able to see it after 2 minutes or so. You should also be able to see this interval on the summary page of the device..
HTH
11-02-2017 08:07 PM
Thank you Reza
After I put interface into List Resource in NPM, NPM can see the interface status of the switch( fixed it based your suggestion on last post)
Based on what you comment above, the configuration on poll in NPM and the switch should be correct, but it also means that "enable trap" has not started to work. Do not know if the switch can send the trap to NPM
11-02-2017 08:17 PM
Hi,
Your config below look correct. Can you ping NPM from the switch
MySW(config)#do sh run | i snmp
snmp-server community TSHOOT RO
snmp-server location Amsterdam
snmp-server contact info@net.com
snmp-server enable traps snmp linkdown linkup
snmp-server host 10.0.0.123 version 2c TSHOOT
for test you may want to change
snmp-server enable traps snmp linkdown linkup
to
snmp-server enable traps
and test again.
HTH
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