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

How to show what i need to see from show running-config

cre8toruk
Spotlight
Spotlight

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.

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

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)

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

lucasfreitas83
Level 1
Level 1

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