07-23-2002 01:31 PM - edited 03-02-2019 12:06 AM
I want to monitor port 1 and 2 only on cisco 2950 switch through SNMP trap command. How can I set the SNMP only on the ports? Thanks...
Young
07-23-2002 01:37 PM
2950 runs IOS and the following two snmp traps can be configured on per interface basis:
Switch(config-if)#snmp trap ?
link-status Allow SNMP LINKUP and LINKDOWN traps
mac-notification MAC Address notification for the interface
Rest of the traps need are configured on global basis.
07-23-2002 02:21 PM
Thanks. How can I check to see if the commands are applied correctly?
07-23-2002 03:32 PM
I was able to input the commands successfully. However, the "SNMP global trap:" is "disabled" although I enabled the global snmp-service. Is it normal?
And "SNMP logging to 10.1.1.1.162". Why this host IP address has one more octet (162)?
07-23-2002 04:17 PM
See http://www.cisco.com/warp/public/477/SNMP/snmp_traps.html on how to setup traps.
07-23-2002 06:09 PM
I found what "162" was. It was UDP port number. Thank you.
However, I still see "SNMP global trap: DISABLED" after the "show snmp" command. Is it normal or my setup is still incorrect?
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