show ip interface
25-4 IP Configuration
Examples
This example shows how to enter configuration mode for VLAN 1:
C3(su)->router#configure
C3(su)->router(Config)#interface vlan 1
C3(su)->router(Config-if(Vlan 1))#
This example shows how to enter configuration mode for loopback 1:
C3(su)->router#configure
C3(su)->router(Config)#interface loopback 1
C3(su)->router(Config-if(Lpbk 1))#
show ip interface
Use this command to display information, including administrative status, IP address, MTU
(Maximum Transmission Unit) size and bandwidth, and ACL configurations, for interfaces
configured for IP.
Syntax
show ip interface [vlan vlan-id] [loopback loop-id]
Parameters
Defaults
If interface type is not specified, status information for all routing interfaces will be displayed.
Mode
Any router mode.
Example
This example shows how to display configuration information for VLAN 1:
C3(su)->router#show ip interface vlan 1
Vlan 1 is Admin DOWN
Vlan 1 is Oper DOWN
Primary IP Address is 192.168.10.1 Mask 255.255.255.0
Frame Type Ethernet
MAC-Address 0001.F45C.C993
Incoming Accesslist is not set
MTU is 6145 bytes
ARP Timeout is 1 seconds
Direct Broadcast Disabled
Proxy ARP is Disabled
Table 25-1 provides an explanation of the command output.
vlan vlan-id (Optional) Displays information for a specific VLAN interface. This
interface must be configured for IP routing as described in āPre-Routing
Configuration Tasksā on page 24-1.
loopback loop-id (Optional) Displays interface information for a specific loopback interface.