question on show command

Unanswered Question
Aug 17th, 2009

Hi,

Do we have any command which show the

Interface name,IP address & subnet info at a time.

Thanks in advanced

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Collin Clark Mon, 08/17/2009 - 12:34

show run | include interface | ip address

You might get some extra stuff though. There is no native command that I know of.

Hope that helps.

** you can add | exclude to remove the no ip address stuff-

show run | include interface | ip address | exclude no ip address

Jerry Ye Mon, 08/17/2009 - 12:35

You can try show protocol, here is an example of the output.

Rack1R2#show protocols

Global values:

Internet Protocol routing is enabled

FastEthernet0/0 is up, line protocol is up

Internet address is 10.23.1.2/24

FastEthernet0/1 is administratively down, line protocol is down

Serial0/0/0 is up, line protocol is up

Serial0/0/0.203 is up, line protocol is up

Internet address is 10.2.2.2/24

Serial0/1/0 is administratively down, line protocol is down

Loopback0 is up, line protocol is up

Internet address is 10.22.0.2/24

HTH,

jerry

Collin Clark Mon, 08/17/2009 - 12:41

Hey Jerry,

I like that one especially when you | exclude down. Good one and worth some points.

Actions

This Discussion