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:

10_Half_Duplex
10_Full_Duplex
100_Half_Duplex
100_Full_Duplex
Auto_Negotiation

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
Attachments
There are no attachments for this article.
Comments
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
How to clear/clean/erase/delete/reset network adapter configuration on AIX?
Viewed 13517 times since Thu, Nov 29, 2018
Install and configure GNU’s screen on AIX
Viewed 10197 times since Thu, Feb 21, 2019
Altering LVM Configuration When a Disk is Not in ODM Anymore
Viewed 4179 times since Mon, Jun 3, 2019
AIX: How to identify the program listening in the given port
Viewed 3170 times since Mon, Jun 11, 2018
ILMT Procedure - ILMT / TAD4D / SUA / BFI
Viewed 11124 times since Fri, Jul 5, 2019
AIX perf how to
Viewed 20339 times since Tue, Aug 14, 2018
AIX 0516-404 allocp: This system cannot fulfill the allocation
Viewed 4219 times since Thu, Sep 20, 2018
AIX - How to extend JFS filesystem
Viewed 21304 times since Fri, Jun 8, 2018
AIX Reviewing AIX Error and Boot Logs
Viewed 4386 times since Wed, Mar 20, 2019
AIX 6.1: Extend VG 0516-1714 extendvg 0516-1254 extendvg
Viewed 5424 times since Fri, Jul 6, 2018