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

HJ1506230027_[C7609-S][15.1(2)S] EEM Script working make sure and verification

Hongju Jung
Beginner
Beginner

Device Platform: C7609-S (RSP720-3CXL)

IOS: 15.1(2)S

 

I have some question as a below EEM script working behavior

[Topology]

as a attachment file

[EEM Script]

track 1 interface TenGigabitEthernet7/1 line-protocol

track 2 interface TenGigabitEthernet7/2 line-protocol

track 3 interface TenGigabitEthernet7/4 line-protocol

   

track 110 list threshold percentage

 object 1

 object 2

 object 3

 

event manager applet downlink_down_track

 event track 110 state down

 action 1.0 cli command "enable"

 action 2.0 cli command "conf t"

 action 3.0 cli command "int te 7/3"

 action 4.0 cli command "shutdown "

 action 5.0 syslog msg "[[ EEM Notification ]] Because all the incoming interfaces went down, down-link interface is now shutting down"

 

[expected EEM working Behavior]

1, MBB#41 have two uplink which ten 7/1 and ten 7/2

2, If MBB#41 have all line protocol down which ten7/1, 7/2, 7/4 (interlink)

3, ten 7/3 which is down link will be shutdown by EEM working

 

Anybody know about above configuration and anyone have make sure working behavior such as how to wokring which pattern reference item or something else ?

I have some issue EEM script as a below one that is something different above structure

 

track 1 interface TenGigabitEthernet7/1 line-protocol
track 2 interface TenGigabitEthernet9/1 line-protocol
track 3 interface TenGigabitEthernet7/4 line-protocol

event manager session cli username "eem"
event manager applet downlink_down_track
 event tag 200 track 1 state down
 event tag 201 track 2 state down
 event tag 202 track 3 state down
 trigger
  correlate event 200 and event 201 and event 202

 action 1.0 cli command "enable"
 action 2.0 cli command "conf t"
 action 3.0 cli command "int  Te 9/3"
 action 4.0 cli command "shutdown "
 action 5.0 syslog msg "[[ EEM Notification ]] Because all the incoming interfaces went down, down-link(MCOT) interface is now shutting down"
 action 6.0 cli command "end"

 

Actually, above configuration, we are alos expectation all interface down which is two uplink (7/1, 9/1) and one interlink (7/4) and should be working EEM script that's why will be shutdown automatically when there detected all interface down

However, Our cusotmer experience below issue

 

1, they have ten7/1 down/up occured by Jun.01.2015

2, also have ten 9/1 down/up occured by May.03.2014

3, and last one have 7/4 down/up occured by Jun,22,2015

4, EEM worked when detected ten 7/4 down  and make shut it down down link interface that is ten 9/3  ( still alive the two up link ten 7/1, ten 9/1)

 

Question

1, above EEM script how to wokring such as how to recongnized line protocol down status

2, this EEM which line-protocol status refer and make working

3, Why EEM worked with still alive the other uplink  inteface ?

 

Anyone have any Idea how to fixed it about this matter  and how to wokring logic

 

thanks.

 

 

 

 

 

 

 

 

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: