Viewing IP addresses for all router interfaces

About this task

Perform the following procedure to display information about all IP interfaces configured on the device.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Show the IP interfaces and addresses on the device:

    show ip interface

Example

Show the IP interfaces and addresses on the device:

Switch:1>enable
Switch:1#show ip interface 

================================================================================
                          IP Interface - GlobalRouter
================================================================================
INTERFACE    IP             NET            BCASTADDR  REASM    VLAN  BROUTER   
             ADDRESS        MASK           FORMAT     MAXSIZE  ID    PORT      
--------------------------------------------------------------------------------
Port1/6      192.0.2.6        255.255.255.0  ones       1500     200   true      
Vlan100      192.0.2.5        255.255.255.0  ones       1500     100   false     
Vlan4000     198.51.100.21    255.255.255.0  ones       1500     4000  false     

Variable Definitions

Use the data in the following table to show ip interface command.

Variable

Value

gigabitethernet

Displays IP interface information for Gigabit Ethernet ports.

vrf

Displays interface information for a particular VRF.

vrfids

Displays interface information for particular VRF IDs.