cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
607
Views
0
Helpful
2
Replies

Is there a way to receive a notice when an interface goes down?

Russell Pearson
Level 1
Level 1

Hey There,

Is there a way to receive a notice when an interface goes down?

Currently I have a kron policy sending my routers and switches sh run commands to a syslog server once a day.

If an important interface goes down, I would like to receive a notification email telling me that it's down.

Is this possible?

2 Replies 2

yjdabear
VIP Alumni
VIP Alumni

First ensure "logging event link-status" is configured globally or per-interface on the "interesting" interface. Then configure something similar to the following:

event manager environment _email_to recipient@domain.com
event manager environment _email_server smtp.domain.com
event manager environment _email_from sender@domain.com

event manager applet interfaceDown
event syslog pattern “.*UPDOWN.*TenGigabitEthernet1/0.*changed state to down”
action 1.0 mail server "$_email_server" to "$_email_to" from "$_email_from" subject "$_event_pub_time: TenGigabitEthernet1/0 interface down" body "$_event_pub_time: TenGigabitEthernet1/0 interface down"

I don't see the option for "event manager enviroment"....in the interface or config mode.

The interface does have the "logging event link-status"...

Review Cisco Networking for a $25 gift card