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
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).
***** Rate All Helpful Responses *****
How to Ask The Cisco Community for Help
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: