For information about IP interfaces, use the ipadm show-if interface command. If you do not specify an interface, the information covers all of the interfaces on the system.
The fields in the command output refer to the following information:
Refers to the interface whose information is being displayed.
Refers to the class of interface, which can be one of four:
ip refers to an IP interface
ipmp refers to an IPMP interface
vni refers to a virtual interface
loopback refers to a loopback interface, which is automatically created. Except for the loopback interface, you can manually create the remaining 3 interface classes.
Refers to the status of the interface, which can be one of the following: ok, offline, failed, down, or disabled.
The status failed applies to IPMP groups and can refer to a datalink or an IP interface that is down and cannot host traffic. If the IP interface belongs to an IPMP group, then the IPMP interface can continue to receive and send traffic by using other active IP interfaces in the group.
The status down refers to an IP interface that is switched offline by the administrator.
The status disable refers to the IP interface that is unplumbed by using the ipadm disable-if command.
Indicates whether the interface is being used to host traffic, and is set to either yes or no.
Applies only to the IPMP class of interfaces and refers to the underlying interfaces that constitute the IPMP interface or group.
The following is an example of the information that the command displays:
# ipadm show-if IFNAME CLASS STATE ACTIVE OVER lo0 loopback ok yes -- net0 ip ok yes -- net1 ip ok yes -- tun0 ip ok yes --