Friday, March 5, 2010

[Level 1] How to check the interface is link up or down in OpenSolaris?

Before, I always got the question "How to check the interface is link up or donw?".
Now, you can use the command 'dlamd' with option 'show-link' to check it.

# dladm show-link
LINK        CLASS     MTU    STATE    BRIDGE     OVER
iwh0        phys      1500   down     --         --
bge0        phys      1500   up       --         --
vboxnet0    phys      1500   unknown  --         --

Wish this helps.

regards,
Stanley Huang