Skip to content

Commit ba8f024

Browse files
committed
README file
1 parent 0f55bb6 commit ba8f024

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

PortFlap_email_alert/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# port_flap_email_alert script will send an email alert if an interface is flapping
2+
3+
If an interface has flapped 5 times in last 5 minutes this script will shutdown that interface. You can change the flapping count to whatever you want. Then the script will wait for 5 mins and enable the shutdown interface. If that interface still flapping at least once script will shutdown the interface and will send an email alert.
4+
5+
## Setup
6+
7+
This script requires the IOS-XE guestshell feature. To enable guestshell, configure
8+
9+
```
10+
iox
11+
```
12+
13+
Then type the following in EXEC mode:
14+
15+
```
16+
guestshell enable
17+
```
18+
19+
Save the script port_flap_email_alert.py in guestshell.
20+
21+
Next, configure the EEM environment using EEM_configuration file. Embedded Event Manager (EEM) is a distributed and customized approach to event detection and recovery. EEM offers the ability to monitor events and take informational, corrective, or any desired EEM action when the monitored events occur or when a threshold is reached.

0 commit comments

Comments
 (0)