BuildTheNet

Opening your workspace

Your learning content and tools are loading.

Switching Basics

show ip interface brief

Lists every interface with its IPv4 address and its Layer 1 and Layer 2 status in one line each.

Written by a working field network engineer · CCNA, Security+, CySA+

The first command most engineers type on any Cisco device. One line per interface tells you whether it has an address and whether it is up at Layer 1 (Status) and Layer 2 (Protocol), which is usually enough to decide where to look next.

Example output

R1#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
GigabitEthernet0/0     192.168.10.1    YES manual up                    up
GigabitEthernet0/1     10.0.12.1       YES manual up                    up
GigabitEthernet0/2     203.0.113.2     YES manual down                  down

Captured from the BuildTheNet simulator’s CLI engine, the one the free Sandbox runs.

Useful variants

What each column or field means

FieldMeaning
InterfaceThe full interface name, including subinterfaces (Gi0/0.10) and SVIs (Vlan10).
IP-AddressThe primary IPv4 address, or “unassigned”. The mask is not shown; use show ip interface or show running-config for that.
OK?Whether the address is valid. Almost always YES.
MethodHow the address was set: manual (configured), DHCP, NVRAM (from startup-config) or unset.
StatusLayer 1 state: up, down (no signal or no cable) or administratively down (the interface is shut).
ProtocolLayer 2 state (line protocol): up when keepalives and encapsulation agree with the other end.

When it doesn’t look right

Status is “administratively down”.

The interface is shut in the configuration. Enter interface configuration mode and run no shutdown.

Status is down, Protocol is down.

No physical link: check the cable, the far-end port (is it shut or err-disabled?), and the transceiver. show interfaces shows the last input and lost-carrier counters.

Status is up, Protocol is down.

Layer 1 is fine but Layer 2 is not: on serial links check encapsulation (HDLC vs PPP) and clock rate; on Ethernet check for an err-disabled far end or a speed/duplex mismatch.

The interface is up/up but the address is “unassigned”.

No ip address is configured, or it was set on a different interface. Confirm with show running-config interface <name>.

Related commands

Try it yourself

Learn it in the CCNA path

Topic

Switching Basics — How a switch learns MAC addresses, how to read interface status, and how to fix speed, duplex and administratively down ports.

All 57 commands