Friday, June 19, 2009

Ethernet auto-negotiation

Use the following commands to check that the link partner (switch / link / router) has auto-negotiation capability enabled.

for ge   # ndd /dev/ge lp_1000autoneg_cap
for hme # ndd /dev/hme lp_autoneg_cap
for qfe # ndd /dev/qfe lp_autoneg_cap
for eri # ndd /dev/eri lp_autoneg_cap
for ce # kstat ce:::lp_cap_autoneg
for dmfe # ndd /dev/dmfe0 lp_autoneg_cap

If the lp_autoneg_cap is 0 (ie, auto-negotiate is disabled on the link partner), action should be taken to either enable autoneg_cap on the link partner, or disable autoneg_cap on the host.

Note: the kstat command is only available in Solaris 8 and later. For previous releases the information is included in the "netstat -k" command (see the ce relevant section there).

No comments:

Post a Comment