Cisco IOS Tips: Display Interface The Smart Way
Use the following command to dsplay brief summary of interfaces
Router#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.1.2 YES manual up up
FastEthernet0/1 192.168.10.2 YES manual up up
FastEthernet1/0 unassigned YES unset up down
FastEthernet1/1 unassigned YES unset up down
FastEthernet1/2 unassigned YES unset up down
FastEthernet1/3 unassigned YES unset up down
...
To display only the configured interface, the same command can be used with little modification
Router#show ip interface brief | exclude unassigned
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.1.2 YES manual up up
FastEthernet0/1 192.168.10.2 YES manual up up
Router#
The above command with “include” keyword can be used to display interfaces which has no ip address assigned to them
Router#show ip interface brief | include unassigned
FastEthernet1/0 unassigned YES unset up down
FastEthernet1/1 unassigned YES unset up down
FastEthernet1/2 unassigned YES unset up down
FastEthernet1/3 unassigned YES unset up down
...
| This entry was posted by Arsalan A. Suzuki on August 29, 2010 at 8:11 pm, and is filed under Cisco, IOS, Tips. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
