show interface
19-2 IP Configuration
show interface
Usethiscommandtodisplayinformationaboutoneormoreinterfaces(VLANsorloopbacks)
configuredontherouter.
Syntax
show interface [vlan vlan-id] [loopback loop-id]
Parameters
Defaults
Ifinterfacetypeisnotspecified,informationforallroutinginterfaceswillbedisplayed.
Mode
Anyroutermode.
Examples
Thisexampleshowshowtodisplayinformationforallinterfacesconfiguredontherouter.Fora
detaileddescriptionofthisoutput,refertoTable 19‐1:
B5(su)->router#show interface
Vlan 1 is Administratively DOWN
Vlan 1 is Operationally DOWN
Internet Address is 10.10.1.1 , Subnet Mask is 255.255.255.0
Mac Address is: 001F.4554.EAA5
The name of this device is Vlan 1
The MTU is 1500 bytes
The bandwidth is 0 Mb/s
Encapsulation type Ethernet
ARP Timeout: 14400 seconds
Thisexampleshowshowtodisplayinformationforloopbackinterface1.
B5(su)->router#show interface loopback 1
Loopback 1 is Administratively UP
Loopback 1 is Operationally UP
Internet Address is 10.1.192.100, Subnet Mask is 255.255.255.0
The name of this device is Loopback 1
The MTU is 1500 bytes
interface
UsethiscommandtoconfigureinterfacesforIProuting.
Syntax
interface vlan vlan-id | loopback loop-id
vlanvlan‐id (Optional)DisplaysinterfaceinformationforaspecificVLAN interface.
ThisinterfacemustbeconfiguredforIProutingasdescribedin“Pre‐
RoutingConfigurationTasks”onpage 18‐1.
loopbackloop‐id (Optional)Displaysinterfaceinformationforaspecificloopbackinterface.