Pages

Tuesday, January 8, 2013

Solaris NIC speed

When you need to check the NIC speed in Solaris then you can use ndd:

# ndd -get /dev/nge2 link_speed
100


The NIC nge2 is connected to a 100MB port only. Patching it to a 1GB port shows the following log: 

# dmesg
...
Jan  8 17:06:21 srv nge: .... NOTICE: nge2: link down
Jan  8 17:06:26 srv nge: .... NOTICE: nge2: link up 1000Mbps Full-Duplex


A check with ndd shows that the NIC nge2 is now running in 1GB mode:

# ndd -get /dev/nge2 link_speed
1000