Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

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

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
Blue

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

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.

New Member

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

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

New Member

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

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

Blue

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

New Member

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

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?

157
Views
0
Helpful
5
Replies