sh "part of running config"

Many times I need to review the settings of a given interface, say fa

0/0 but I have to run "sh running-config" and look for that specific info among the long result of "sh running-config"

Is there any "sh" to show me only the part of fa 0/0 of "sh running-config" ?

Thanks,

DT

Reply to
dt1649651
Loading thread data ...

sh run in fa0/0

A lot of commands can be abbreviated.

big si.

Reply to
big si

Thank you very much. I didn't know of the "in" option. This saves me a lot of time.

DT

specific

Reply to
dt1649651

Showing just an interface config is best done as shown above. However, there are also some other nice options using the | symbol that you may want to use when not looking for the whole config.

This will do a show run, beginning with the line that contains router eigrp: show run | begin router eigrp

This will show all lines that contain nat statements: show run | include nat

Hope that helps,

Jim

Reply to
Scooby

sh ru | begin fa0/0

Reply to
J. Lanza

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.