cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1124
Views
0
Helpful
5
Replies

How can I set the SNMP on certain ports on 2950?

jin5
Level 1
Level 1

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

5 Replies 5

rmushtaq
Level 8
Level 8

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.

Thanks. How can I check to see if the commands are applied correctly?

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)?

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?

Review Cisco Networking for a $25 gift card