08-03-2011 06:14 PM - edited 03-07-2019 01:32 AM
i'm a bit novice at Cisco IOS so pls help.
My ideal definition is like: # show interfaces 0/9 thru 0/16 on SW or Router assembled with many interfaces.
I couldn't find any discussion concerning this theme in CSC, If it already has been in somewhere else, excuse me.
Solved! Go to Solution.
08-04-2011 02:46 PM
Beside the command that has been provided by leolaohoo I would recommend trying
sh ip interfsce brief or sh ip interfaces with the proper output modifier ( | inclue / | exclude / | begin)
Cheers
Fabio
08-03-2011 07:04 PM
My ideal definition is like: # show interfaces 0/9 thru 0/16 on SW or Router assembled with many interfaces.
Depends on the model of your appliance and the IOS version running, try the "begin" switch command:
sh interface | begin 0/9
08-05-2011 09:37 PM
thank you leolaohoo!! I found that pipe | commannd is very useful
08-04-2011 02:46 PM
Beside the command that has been provided by leolaohoo I would recommend trying
sh ip interfsce brief or sh ip interfaces with the proper output modifier ( | inclue / | exclude / | begin)
Cheers
Fabio
08-05-2011 09:38 PM
thanks for the awesome answer fabios!! that's exacltly what I wanted
08-07-2011 09:13 PM
Hi,
i have mentioned below some useful commands which will be used during Troubleshooting
interface range gigabitethernet 1/1 -2,fastethernet 4/1 -24
show trunk
show trunk mod
show int trunk
show inter trunk module ?
show inter fa 4/1 trunk
show int status
show inter fa4/1 status
show inter gig 1/1 pruning
sh ip int vlan 10
sh interfaces | i line | rate
Hope this helps.
Cheers
Somu
Rate this answer if you found the content was useful
08-08-2011 09:40 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Since you found the posts useful about pipe and include, exclude, etc., if you're not already aware, thought you might want to know you can use regular expressions too. See http://www.cisco.com/en/US/docs/ios/12_2/termserv/configuration/guide/tcfaapre_ps1835_TSD_Products_Configuration_Guide_Chapter.html for more info.
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