Find it

Tuesday, August 4, 2009

To get the Network Card speed on AIX -

There are several ways to get this info.

# netstat -v | grep Speed
Media Speed Selected: Auto negotiation
Media Speed Running: 1000 Mbps Full Duplex
Media Speed Selected: Auto negotiation
Media Speed Running: 1000 Mbps Full Duplex

# entstat -d en0

#for en in `netstat -i | grep en | awk '{print $1}' | sort -u | cut -c3`
>do
> adapter=`echo ent${en}`
> entstat -d ${adapter} | grep "Media Speed"
>done

To Change the Network Card speed on AIX -

#chdev -l en0 -a state=detach --> Detach the interface

#chdev -l ent0 -a media_speed=1000_Full_Duplex --> Make appropriate changes

#chdev -l en0 -a state=up --> Change the step to UP

[NOTE: Don't do ifconfig enX up - this will put an IP address of 0.0.0.0]

#mkdev -l inet0 --> to activate all routes

Hope this will be helpful.

1 comment: