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

EEM and sending syslog trap

bmlakar
Level 1
Level 1

When using EEM applet or even EEM Script I have noticed a behavior, when sending syslog message like this

action 30.1 syslog priority notifications msg "Usmerjevalnik $_info_routername: 1G LINK 2 UP (sla id = $sla_id) !!!"

 

message does not appear in switch buffer and is not sent to syslog server, except when using global logging level "debugging" like:

 

logging buffered 1024000 debugging
logging trap debugging

 

Is this normal behavior?

I'm using C6513/SUP720/ios 151-2.SY2 or 122-33.SXJ6

 

Regards,

Branko

2 Replies 2

AFROJ AHMAD
Cisco Employee
Cisco Employee

Hi Branko,

AFAIk, this is an expected behaviuor  , you need to have "logging trap debugging " command enabled to get the syslog traps.

 

Thanks-

Afroz

***Ratings Encourages Contributors ***

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

Hi Afroz,

 

thank you very much for feedback and info provided.

All the best,

Branko

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: