How do I view all network card ports on solaris 10?



  • A new command on Solaris 10 called dladm. In short it is network trunking (network aggregation) on solaris 10. This is its main function, but it is also useful to see which which network ports are available and check some of the settings, like duplex and speeds.

    To show all network ports.

    # dladm show-link
    ce0             type: legacy    mtu: 1500       device: ce0
    ce1             type: legacy    mtu: 1500       device: ce1
    ce2             type: legacy    mtu: 1500       device: ce2
    ce3             type: legacy    mtu: 1500       device: ce3
    ce4             type: legacy    mtu: 1500       device: ce4
    ce5             type: legacy    mtu: 1500       device: ce5
    ce6             type: legacy    mtu: 1500       device: ce6
    ce7             type: legacy    mtu: 1500       device: ce7
    ce8             type: legacy    mtu: 1500       device: ce8
    ce9             type: legacy    mtu: 1500       device: ce9
    

    To show configuration information on the network ports

    # dladm show-dev
    ce0             link: unknown   speed: 100   Mbps       duplex: full
    ce1             link: unknown   speed: 100   Mbps       duplex: half
    ce2             link: unknown   speed: 0     Mbps       duplex: unknown
    ce3             link: unknown   speed: 0     Mbps       duplex: unknown
    ce4             link: unknown   speed: 0     Mbps       duplex: unknown
    ce5             link: unknown   speed: 0     Mbps       duplex: unknown
    ce6             link: unknown   speed: 0     Mbps       duplex: unknown
    ce7             link: unknown   speed: 0     Mbps       duplex: unknown
    ce8             link: unknown   speed: 0     Mbps       duplex: unknown
    ce9             link: unknown   speed: 0     Mbps       duplex: unknown
    


© Lightnetics 2024