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
show ip interface brief
show ip interface IFNAME brief
Parameters
IFNAME
Interface name.
brief
Brief summary of IP status and configuration.
Command Mode
Exec mode and Privileged Exec 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:
#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
Table 21-65 explain the fields in the command output.
Table 21-65: 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. |
Last modified date: 10/19/2023