How 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.

Leave a Comment

Your email address will not be published. Required fields are marked *

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top