sh-show Verified current stable Not installed? Networking

Sh Show / Show Switch Ip Addresses

Show Switch Ip Addresses

Display brief information about IP interfaces on the switch.

$
Terminal
sh ip interface brief

When To Use

To quickly assess the operational status of all switch interfaces during troubleshooting.

Pro Tip

Use 'include' or 'exclude' filters to narrow down output to relevant interfaces based on desired criteria.

Terminal Output

Expected runtime feedback

Simulated preview
>
Output
Interface    IP-Address      Status       Protocol
---------------------------------------------------
GigabitEthernet1/0/1   192.168.1.1   up           up
GigabitEthernet1/0/2   192.168.1.2   down         down
Vlan1                   192.168.1.254 up           up
Vlan10                  192.168.10.1   up           up

Total interfaces: 4  Active interfaces: 3

Anatomy of Output

Understanding the result

Interface IP-Address Status Protocol Output Header

Header defining the columns of the output.

Vlan1 10.0.0.1 up up Interface Entry

Shows IP address and operational status of Vlan1.

Vlan10 unassigned administratively down down Status Entry

Indicates the state of the interface and if it is assigned an IP.

Troubleshooting

Common pitfalls

% No matching interfaces.

Solution: Ensure interfaces are properly configured with IP addresses.

% Incomplete command; add specific identifiers.

Solution: Repeat command with more specificity.

% Authorization failed.

Solution: Check user privileges for executing this command.

Command Breakdown

What each part is doing

sh
Base Command
The executable that performs this operation. Here it runs Sh Show before the shell applies any redirect operators.
sh
sh|show
The value supplied for sh|show.

How To Run

Execution path

  1. Step 1

    Run the command: show ip interface brief

  2. Step 2

    Check for interface status and operational IP addresses in the output.

Alternative Approaches

Comparable commands in other tools

Alternative networking tools for the same job.