cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
401
Views
0
Helpful
1
Replies
Highlighted
Beginner

How to send some text from command to syslog in router ?

Dear all ,

 

I would like to use command show interface in router and i like to capture some text from the result of command like

Router#show interface interface A is down interface B is UP interface A speed 100GB status stable interface B speed 10GB status unstable

i need to capture to send msg form this result to syslog like interface A is down speed 100GB status stable

How to do in cisco router (ios-xe) , or use python or EEM/TCL script in router ?

can i send log every 5mins.

in router can custom msg to syslog by command is "send log "text""

thank you for your help.

i can do only cisco command. i never know how to do it

Everyone's tags (3)
1 REPLY 1
VIP Advisor

Re: How to send some text from command to syslog in router ?

instead of router doing that work for you, why not syslog poll to router use snmpwalk and store the results.

based on the condition you have more options to send email, txt or alerts in your dashboads.

 

rather some limited usage on router scripting (this is not meant to be full fledge stack).

BB
*** Rate All Helpful Responses ***
CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards