run muliple commands at once?

Answered Question
Dec 9th, 2009

I would like to check certain part of sh run configration of Cisco Ap.s . currently I am inter one by one to check sh run, I am wondering if I can run all together without writing a script. or if some one has a script and willing to share it. here my commands I am using now,

sh run | section channel ------>>

sh run | section include wlcp ----->>

sh run | section include wds ------>>

sh run | section include wnm ------->>

sh run | section include username  ------->>

Thanks in Advance.

I have this problem too.
0 votes
Correct Answer by Joe Clarke about 7 years 1 day ago

You could do this with two commands:

show run | section channel

show run | section include (wlcp|wds|wnm|username)

Or, try the one command:

show run | section (channel|wlcp|wds|wnm|username)
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Joe Clarke Wed, 12/09/2009 - 20:45

You could do this with two commands:

show run | section channel

show run | section include (wlcp|wds|wnm|username)

Or, try the one command:

show run | section (channel|wlcp|wds|wnm|username)
raindrop18 Thu, 12/10/2009 - 07:45

Thank you so much Mr. Clarke, this is exactly

I am looking for!!!

Actions

This Discussion