// you’re reading...

IOS Features & Management

Troubleshooting: How to Get Interface Summaries in IOS

To quickly get a summary of interfaces and addressing information from IOS you could use one of the following:

Router#sh run | include interface|ip address
interface Loopback0
 ip address 10.200.200.11 255.255.255.255
interface FastEthernet0/0
 ip address 10.1.1.1 255.255.255.0
interface BRI0/0
 no ip address
interface Serial1/0
 no ip address
interface Serial1/0.1 multipoint
 ip address 172.31.1.1 255.255.255.0
interface Serial1/0.2 multipoint
 ip address 172.31.11.1 255.255.255.0
interface Serial1/1
 ip address 10.1.0.1 255.255.255.0
interface Serial1/2
 no ip address
interface Serial1/3
 no ip address
Router#sh int | include is up|Internet
FastEthernet0/0 is up, line protocol is up
  Internet address is 10.1.1.1/24
Serial1/0 is up, line protocol is up
Serial1/0.1 is up, line protocol is up
  Internet address is 172.31.1.1/24
  Internet address is 172.31.11.1/24
Serial1/1 is up, line protocol is up
  Internet address is 10.1.0.1/24
Loopback0 is up, line protocol is up
  Internet address is 10.200.200.11/32
Router#sh ip int brief | exclude unassigned
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            10.1.1.1        YES NVRAM  up                    up
Serial1/0.1                172.31.1.1      YES NVRAM  up                    up
Serial1/0.2                172.31.11.1     YES NVRAM  administratively down down
Serial1/1                  10.1.0.1        YES NVRAM  up                    up
Loopback0                  10.200.200.11   YES NVRAM  up                    up 

When starting a lab with pre-configured routers and switches the above commands are very useful to get an overview of interfaces and addressing. I use this when doing labs with troubleshooting sections. If your Lab contains a troubleshooting section with preconfigured routers or switches, I would use the above the commands to verify that the configuration matches the topology of the lab.

Now back to labs!

Discussion

No comments for “Troubleshooting: How to Get Interface Summaries in IOS”

Post a comment