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

Multiple show commands

pgamage
Level 1
Level 1

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)

 

2 Replies 2

dmantilal
Level 1
Level 1

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. ;)

Thank you for your reply.

My IOS version is 12.4.

shell term needs 15.1(4) 

Any other way to do this?

Review Cisco Networking products for a $25 gift card