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
no…A is not…
B is correct..”ipadm show-addr”
Why is B correct?
“ipadm show-if” will list all the plumbed IP interfaces on the system.
‘ipadm show-addr’ displays all the configured addresses on the system.
A
Correct A
show-if [[-p] -o field[,…]] [interface]
Show network interface configuration information, either for all the network interfaces configured on the system, including the ones that are only in the persistent configuration, or for the specified network interface.
ipadm help
The following subcommands are supported:
Address : create-addr delete-addr disable-addr
down-addr enable-addr refresh-addr
reset-addrprop set-addrprop show-addr
show-addrprop up-addr
Interface : disable-if enable-if reset-ifprop
set-ifprop show-if show-ifprop
IP interface : create-ip delete-ip
IPMP interface : add-ipmp create-ipmp delete-ipmp
remove-ipmp
Protocol property : reset-prop set-prop show-prop
VNI interface : create-vni delete-vni
Reference:
https://docs.oracle.com/cd/E26502_01/html/E29031/ipadm-1m.html
A is Correct answer