One command for IP addresses and descriptions

Answered Question
Sep 21st, 2010

Hello all,

most of us use the following commands very often:

"show ip interface brief"

"show interface description"

Is there any command, which show interface IP addresses and descriptions?

Can I combine these commands somehow?

Regards

I have this problem too.
0 votes
Correct Answer by Jennifer Halim about 6 years 2 months ago

This command might be something you are looking for:

sh interface | i line protocol|Internet address|Description

Hope that helps.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Jennifer Halim Tue, 09/21/2010 - 05:14

This command might be something you are looking for:

sh interface | i line protocol|Internet address|Description

Hope that helps.

sebastian.lemke Tue, 09/21/2010 - 05:33

ahh, that's it, thanks a lot!

It's not as neat as the output of the other commands, but it works.

I didn't know, that you can combine the "| include" filters... Do you have a website, where this is documented?

Jennifer Halim Tue, 09/21/2010 - 05:47

I don't think we have a documentation that includes that specifically, however, I believe it uses the normal regular expression symbols for multiple matches.

Actions

This Discussion