Which command should you enter next?

The interface net3 should be operating, but is not.
Command:
ipadm show-addr | grep net3
Response:
net3/v4 static down 192.168.0.200/24
Which command should you enter next?

The interface net3 should be operating, but is not.
Command:
ipadm show-addr | grep net3
Response:
net3/v4 static down 192.168.0.200/24
Which command should you enter next?

A.
ipadm create-ip

B.
ipadm enable-if

C.
ipadm show-if

D.
ipadm up-addr

Explanation:
enable-if -t interface
Enables the given interface by reading the configuration from the persistent store. All the
persistent interface properties, if any, are applied and all the persistent addresses, if any, on the
given interface will be enabled.
-t, –temporary
Specifies that the enable is temporary and changes apply only to the active configuration.



Leave a Reply 11

Your email address will not be published. Required fields are marked *


vitalyb

vitalyb

D is correct

Murali

Murali

Yes D is correct answer

When the interface is disabled, then you have to use “enable-if”.

david

david

Hi Murali,

I need you help to prepare for this certification. Could I contact you when you have spare time?

Thanks in advance.

Bruno

Bruno

The correct is B. See the man:

up-addr [-t] addrobj

……..This subcommand has no effect if the address object has been marked down by the system because it is a duplicate address, or if the address was marked up prior to the up-addr invocation. ………

david

david

D is the correct answer.

mogukiller

mogukiller

D is the correct answer.

with ipadm enable-addr you get the next error:

ipadm: cannot enable address: Address object already exists.

with ipadm up-addr you can up the object without problems.

suhaimi

suhaimi

D is correct

hehe

hehe

D is correct:

root@darktemplar:# ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
net0/v4 static down 10.0.2.40/24
net1/v4 static down 192.168.32.20/24
net2/v4 dhcp ok 192.168.1.40/24
lo0/v6 static ok ::1/128
root@darktemplar:# ipadm up-addr net0/v4
root@darktemplar:# ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
net0/v4 static ok 10.0.2.40/24
net1/v4 static down 192.168.32.20/24
net2/v4 dhcp ok 192.168.1.40/24
lo0/v6 static ok ::1/128

Vinicius Torres

Vinicius Torres

D is correct.

In man:

The following command marks the address object net1/v4a up that was previously marked down:

#ipadm up-addr net1/v4a