cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
368
Views
5
Helpful
4
Replies

question on show command

chaitu_kranthi
Level 1
Level 1

Hi,

Do we have any command which show the

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

Thanks in advanced

4 Replies 4

Collin Clark
VIP Alumni
VIP Alumni

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
Cisco Employee
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

Hey Jerry,

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

Thank you Collin.

Regards,

jerry

Review Cisco Networking products for a $25 gift card