You want to display network interface information. Which command should you use?
A.
ipadm show-if
B.
ipadm show-addr
C.
ipadm show-prop
D.
ipadm show-addrprop
Explanation:
Reference: ipadm(1M) – the new ifconfig(1M)
You want to display network interface information. Which command should you use?
You want to display network interface information. Which command should you use?
A.
ipadm show-if
B.
ipadm show-addr
C.
ipadm show-prop
D.
ipadm show-addrprop
Explanation:
Reference: ipadm(1M) – the new ifconfig(1M)
A
B is Ok
ipadm show-addr’ displays all the configured addresses on the system.
Example:
# ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
lo0/v6 static ok ::1/128
If you use A just for list all the plumbed IP interfaces on the system
Example:
# ipadm show-if
IFNAME STATE CURRENT PERSISTENT
lo0 ok -m-v—–46 —