Hi
any TCL wizards out there may be able to help me with this script
We have huge menus running on our devices and I wanted to block the menu and alias syntax from the running config
I put this script together from bits on the forums and its working well , when you check sh run ... you don't see menu commands or alias
The issue is its not allowing the shortcut command anymore like sh run int g0/0/0 , instead it shows the whole sh run
I have tried a few things to alter it but getting no where
any help appreciated scripting's not my strong point thanks
This is what I have so far
event manager applet MenuBlock
event cli pattern "show run" sync yes
action 111 cli command "enable"
action 112 cli command "show run | excl menu|alias"
action 114 puts "$_cli_result"
action 115 set _exit_status "0"