Shows the IP configuration for an interface.
This command displays only primary IP interfaces. To view output that includes secondary IP interfaces, use the show ip address command.
show ip interface
show ip interface gigabitethernet
show ip interface gigabitethernet <1-4059>
show ip interface gigabitethernet {slot/port[/sub-port][-slot/port[/sub-port]][,...]}
show ip interface vrf WORD<1-16>
show ip interface vrfids WORD<0-512>
Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.
None
User EXEC
The show ip interface command displays the following information:
| Output field | Description | 
|---|---|
| INTERFACE | Indicates the slot and port. | 
| IP ADDRESS | Indicates the IP address. | 
| NET MASK | Indicates a subnet mask of an IP address. | 
| ADMIN STATUS | Indicates if the IP interface is administratively enabled or disabled. | 
| OPER STATE | Indicates if the IP interface is operationally up or down. | 
| VLAN ID | Indicates the VLAN ID associated with this IP interface. | 
| BROUTER PORT | Indicates whether the port is a brouter port or a routeable VLAN. | 
| IPSEC STATE | Indicates whether the IPsec policy is enabled on the interface. | 
| IP NAME | Indicates the IP name given to the IP address. | 
The following example displays the command output.
Switch:1>show ip interface
==========================================================================================
                          IP Interface - GlobalRouter
==========================================================================================
INTERFACE  IP            NET            ADMIN     OPER    VLAN  BROUTER   IPSEC   IP      
           ADDRESS       MASK           STATUS    STATE   ID    PORT      STATE   NAME    
------------------------------------------------------------------------------------------
Port1/2    192.0.2.1     255.255.255.0  enable    up      20    true      disable         
Vlan10     198.51.100.0  255.255.255.0  disable   down    10    false     disable         
All 2 out of 2 Total Num of IP interfaces displayed