Changing Ethernet Media Speed for AIX

First you need to find out the device name of your ethernet card. It should be ent0 if the machine has only 1 ethernet card. Otherwise, it may be a higher number.

You can determine the legal values for the media speed of the card by running the following command (where the value of ent0 may be different if you machine has multiple ethernet cards).

lsattr -R -l ent0 -a media_speed

If this command results in the following error—

lsattr: 0514-528 The "media_speed" attribute does not exist in the predefined
device configuration database.

—then the ethernet card is a 10Mbps card that will only do 10Mbps/half duplex

If you do have a 100Mbps card, the lsattr command will return something like this:


These are the media speeds the card will understand. To see the cards current media speed setting you can run

lsattr -EH -l ent0 -a media_speed

To change the media speed, run:

chdev -P -l ent0 -a media_speed=100_Half_Duplex

The value for media_speed can be any of the values listed by the lsattr -R command above. The change does not take effect until you reboot the machine.

If you select a value other than Auto_Negotiation the switch port the machine is connected to must have the same configuration. If the switch and the machine do not match you may get no network connectivity or poor performance.

0 (0)
Article Rating (No Votes)
Rate this article
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
10 AIX Commands to Add to Your Toolbox
Viewed 1764 times since Sat, May 19, 2018
Altering LVM Configuration When a Disk is Not in ODM Anymore
Viewed 518 times since Mon, Jun 3, 2019
AIX, Monitoring, System Admin↑ NMON recordings
Viewed 684 times since Fri, Apr 19, 2019
AIX Increase paging space logical volume size
Viewed 523 times since Tue, Jul 17, 2018
AIX Different Commands For Paging Space Administration swap file create
Viewed 492 times since Thu, Aug 1, 2019
Part 1, The basics of network troubleshooting
Viewed 1066 times since Tue, May 22, 2018
How do I analyze and debug core files on AIX
Viewed 792 times since Thu, Feb 21, 2019
Do you Know These 5 Use of V$session View ?
Viewed 5165 times since Thu, Jun 21, 2018
AIX: Script to check if all paths are consistent and available
Viewed 614 times since Tue, Jun 12, 2018
sysdumpdev Command
Viewed 507 times since Mon, Jul 16, 2018