show ip interface

Use this command to display brief information about interfaces and the IP addresses assigned to them. To display information about a specific interface, specify the interface name with the command.

Command Syntax

Copy
show ip interface brief
show ip interface IFNAME brief

Parameters

IFNAME

Interface name.

brief

Brief summary of IP status and configuration.

Default

None

Command Mode

Execution mode and Privileged execution mode

Applicability

This command was introduced before OcNOS version 1.3.

Example

The following is a sample output from the show ip interface brief command:

Copy
#show ip interface brief
 
'*' - address is assigned by dhcp client
 
Interface            IP-Address      Admin-Status          Link-Status
eth0                *10.10.26.101    up                    up
lo                   127.0.0.1       up                    up
lo.management        127.0.0.1       up                    up
xe1/1                10.1.1.1        up                    up
xe1/2                unassigned      down                  down
xe1/3                unassigned      down                  down
xe1/4                unassigned      down                  down
xe2                  unassigned      up                    down
xe3/1                unassigned      up                    up
xe3/2                unassigned      down                  down
xe3/3                unassigned      down                  down

Here is the explanation of the show command output fields.

Table 103.

show ip interface output details

Field

Description

Interface

Interface name, also specifies interface type (eth0, lo, xe1/1, and xe1/2).

IP-Address

The IP address assigned to the interface. An asterisks indicates that the IP address was provided by DHCP.

Admin-Status

Interface is up and functioning or down.

Link-Status

Interface is connected and passing traffic.