ip Verified current stable Not installed? Networking

Ip / Show Ip Information

Show Ip Information

Displays active IP addresses and related information.

$
Terminal
ip show ?

When To Use

For assessing IP allocation during a network audit.

Pro Tip

Couple this command with `brief` for a concise overview of device IPs.

Terminal Output

Expected runtime feedback

Simulated preview
>
Output
IP Address Dev:
====================================
Loopback:    127.0.0.1/8
Ethernet:    192.168.1.10/24
====================================
Total: 2 IP addresses

Anatomy of Output

Understanding the result

Interface: GigabitEthernet0/0 Interface Name

Identifies the network interface.

IP Address: 192.168.1.10 IPv4 Address

Displays the assigned IPv4 address.

Status: up Operational Status

Indicates whether the interface is operational.

Power User Variants

Optimized versions

ip show brief

Shows a summary of IP address assignments.

ip show detail

Gives complete particulars about configuration and status.

Troubleshooting

Common pitfalls

% Incomplete command.

Solution: Check syntax. Ensure all required parameters are provided.

% Interface not found.

Solution: Verify the interface name is correct.

% No IP address assigned.

Solution: Assign an IP address before running the command.

Command Breakdown

What each part is doing

ip
Base Command
The executable that performs this operation. Here it runs Ip before the shell applies any redirect operators.

How To Run

Execution path

  1. Step 1

    Run the command: `ip show addr` to display IP information.

  2. Step 2

    Verify the output for expected IP addresses and interface details.

Alternative Approaches

Comparable commands in other tools

Alternative networking tools for the same job.