cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1510
Views
10
Helpful
5
Replies

How to monitor interface administratively/operational down

ly633
Level 1
Level 1

I think maybe a trap will be sent when interface is administratively or operational down, but which and how to config. Gurus, any direction?

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

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

View solution in original post

5 Replies 5

Joe Clarke
Cisco Employee
Cisco Employee

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

Hi Clarke

I wonder the status you mentioned is operational status , how about administratively status?

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.

Any syslog will send for admin shutdown?

Yes. If you perform a shutdown on an interface, you'll get a %LINK-5-CHANGED syslog message by default.