Solaris network link information

Saturday, April 21st, 2012

Though Solaris is slowly disappearing(at least at my current company), there are still legacy machines which will remain and sometimes you have to debug them especially over network speed. Solaris has a legacy of having problems with auto-negoting.  Sometimes you may think you are running full-duplex and you are not.

If you have access to the network switch, it’s easy to check. If you don’t you have to rely on solaris commands.

The NDD command will give you configuration information on the interface.

For example:
# ndd /dev/bge0 link_duplex
2
# ndd /dev/bge0 link_autoneg
1
# ndd /dev/bge0 link_status
1
# ndd /dev/bge0 link_speed
1000

Here duplex is full with auto-negotiating off and the link is down.

NDD can do much more but I only needed to check the interface settings.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: