Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to shutdown interface in solaris 11. how to blink/identify interface

DHeliosJul 14 2017 — edited Jul 14 2017

In linux I can shutdown  interface (physical link) by command ip link set dev eth0 down

How can I do same things in solaris? ifconfig unplumb  or ipadm disable-if didn't set physical link down.

examples:

root@solaris:~# dladm show-phys net1

LINK              MEDIA                STATE      SPEED  DUPLEX    DEVICE

net1              Ethernet             up         1000   full      igb1

root@solaris:~# ipadm disable-if -t net1

root@solaris:~# dladm show-phys net1

LINK              MEDIA                STATE      SPEED  DUPLEX    DEVICE

net1              Ethernet             unknown    1000   full      igb1

root@solaris:~# ipadm enable-if -t net1

root@solaris:~# ifconfig net1 unplumb

root@solaris:~# dladm show-phys net1

LINK              MEDIA                STATE      SPEED  DUPLEX    DEVICE

net1              Ethernet             up         1000   full      igb1

Link is always show speed and duplex state.

another question is how to blink interface? (in linux: ethtool -p eth0 120)

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 11 2017
Added on Jul 14 2017
3 comments
1,342 views