07-29-2015 08:58 PM - edited 03-05-2019 01:58 AM
Hi Guys,
Can we do this? can we send multiple show commands together in the CLI?
something like this
#show ip int br , show cdp nei
#(out put of show ip int br)
#(out put of show cdp nei)
07-29-2015 11:11 PM
You could use IOS.sh shell functions. "term shell" to enable shell features. Now type the following or use it as a template;
function multi_cmd () {
show interfaces atm 0
show interfaces tunnel 0
}
Now multi_cmd will run the body of the above function when typed.
Check documentation for details as I have about 2 days experience with IOS. ;)
07-30-2015 12:44 AM
Thank you for your reply.
My IOS version is 12.4.
shell term needs 15.1(4)
Any other way to do this?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide