04-07-2008 06:38 PM
I think maybe a trap will be sent when interface is administratively or operational down, but which and how to config. Gurus, any direction?
Solved! Go to Solution.
04-07-2008 07:29 PM
A linkDown trap will be sent when an interface transitions from up to another state, and a linkUp trap will be sent when the interface transitions back to up.
See http://www.cisco.com/en/US/docs/ios/12_1/configfun/configuration/guide/fcd301.html#wp1001347 on how to configure an IOS device for traps. For example:
snmp-server enable traps
snmp-server host 1.1.1.1 traps version 1 public
04-07-2008 07:29 PM
A linkDown trap will be sent when an interface transitions from up to another state, and a linkUp trap will be sent when the interface transitions back to up.
See http://www.cisco.com/en/US/docs/ios/12_1/configfun/configuration/guide/fcd301.html#wp1001347 on how to configure an IOS device for traps. For example:
snmp-server enable traps
snmp-server host 1.1.1.1 traps version 1 public
04-07-2008 09:15 PM
Hi Clarke
I wonder the status you mentioned is operational status , how about administratively status?
04-07-2008 09:49 PM
Simply setting an interface to admin status up may not generate a trap if the interface does not become operationally up. However, if you set an interface which is up/up to admin down, then you will get a linkDown trap.
04-08-2008 12:29 AM
Any syslog will send for admin shutdown?
04-08-2008 09:20 AM
Yes. If you perform a shutdown on an interface, you'll get a %LINK-5-CHANGED syslog message by default.
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