Collin Clark Mon, 08/17/2009 - 12:34
User Badges:
  • Purple, 4500 points or more

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
User Badges:
  • Cisco Employee,

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
User Badges:
  • Purple, 4500 points or more

Hey Jerry,


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

Jerry Ye Mon, 08/17/2009 - 12:44
User Badges:
  • Cisco Employee,

Thank you Collin.


Regards,

jerry

Actions

This Discussion