Check Speed / Duplex on Solaris 10

In the past, I always had to use the ndd – get command to figure out what my link speed and duplex settings were. In Solaris 10, Sun now gives us the handy dladm command, which makes it a whole lot easier.


# dladm show-dev
e1000g2 link: up speed: 1000 Mbps duplex: full
e1000g3 link: up speed: 1000 Mbps duplex: full
e1000g0 link: up speed: 1000 Mbps duplex: full
e1000g1 link: up speed: 1000 Mbps duplex: full

2 thoughts on “Check Speed / Duplex on Solaris 10

  1. Thank you for this command.

    Can be used to get stats (with -s -i option).

    Need to be launched from domain in case of partitionned server (?).

  2. This command does not work in Solaris 11.

    Instead use
    dladm showphys

    # dladm show-phys
    LINK MEDIA STATE SPEED DUPLEX DEVICE
    e1000g0 Ethernet up 1000 full e1000g0
    e1000g1 Ethernet up 1000 full e1000g1

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>