01-15-2020 04:08 PM
Hi All,
probably a daft question but here goes... So I have a 4 switch 48 port edge stack... can anyone tell me if it's possible for me to show only a section of the running-config ? For example, I wanted to show the running-config for interface gigabitethernet4/0/8, but I didn't know it was 4/0/8 specifically... so i thought it would be nice to be able to show the running config for just the gigabitethernet4/0 ports../ a section of the config like the bottom 20 lines or the top half etc etc.... I tried include and begin etc but I either just got a long list of ethernet ports or got nothing at all...
I'm sure it must be possible... I can obviously export the config to a txt file and scroll through it like that but where's the fun in that, right?
Your assistance would be greatly appreciated.
kind regards,
Paul.
01-15-2020 05:07 PM
IOS has command syntax where section can be displayed like below example :
show run sec router OSPF - show OSPF config
if you like to show interface command, you need to use a specific command
or
show run | in ( you can have regex based)
01-16-2020 05:20 AM
Hi cre8toruk,
For to see interface terminology you can put command show interface status.
After you saw how interface you can put
show run interface gi4/0/48, for example.
Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future.
Best regards,
Lucas Freitas
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