Solved

AIX:  NIC speed

Posted on 2015-02-02
5
476 Views
Last Modified: 2015-02-03
I am trying to find my adapter and see the speed.  I do the following:

# entstat -d entX | grep -i media

entstat: 0909-003 Unable to connect to device entX, errno = 19
#
#
# entstat -d ent1 | grep -i media
#
# entstat -d ent2 | grep -i media
#
#

Open in new window


What should I do now
0
Comment
Question by:Anthony Lucia
  • 3
  • 2
5 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 40584948
Check with

lsdev -l "ent*"

which adapters you have, then run the command against the ones which show "Available".

Please note that you can't run the command against the base adapters of a link aggregation. Run it against the aggreagte adapter.

If "ent1" and "ent2" are "Available" adapters but don't show a media speed (as it seems) then these are probably intrapartition logical lan adapters (l-lan) instead of physical adapters.
The speed of these adapters depends on the speed of the shared ethernet adapter (SEA) in your VIO server which speed in turn depends on the speed of its underlying hardware (the speed of the physical adapters connected to the SEA).
0
 

Author Comment

by:Anthony Lucia
ID: 40585038
I gather this means I have 2 10GB NIC's and 2 1G NIC's

?
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 40585066
Why do you think so?

What are the results of "entstat" against your adapters?
If they're "l-lan" (check with lsdev -l "ent*") you must log in to your VIOS as "padmin" and check there:

Run "lsdev -type adapter" and look for "Shared Ethernet Adapter".

Then run

oem_setup_env
entstat -d entX | grep -i media

where entX is (one of) your SEA adapter(s).

Issue "exit" when finished to return to IOSCLI.
0
 

Author Comment

by:Anthony Lucia
ID: 40585105
I am sorry, I forgot to post the results I saw:

# lsdev -l "ent*"
ent0 Available 01-00 PCIe2 4-Port Adapter (10GbE SFP+) (e4148a1614109304)
ent1 Available 01-01 PCIe2 4-Port Adapter (10GbE SFP+) (e4148a1614109304)
ent2 Available 01-02 PCIe2 4-Port Adapter (1GbE RJ45) (e4148a1614109404)
ent3 Available 01-03 PCIe2 4-Port Adapter (1GbE RJ45) (e4148a1614109404)

Open in new window


I also get

# entstat ent0 | grep -i media
#
# entstat ent1 | grep -i media

Open in new window


I am not sure about the following command

# lsdev -type adapter
lsdev: 0514-500 Usage error - adapter

Usage:
lsdev [-C] [-c Class][-s Subclass][-t Type][-S State][-l Name]
        [-p ParentName][-r ColumnName| -F Format][-H][-f File ][-x]
lsdev -P [-c Class][-s Subclass][-t Type][-r ColumnName| -F Format]
        [-H][-f File ]
lsdev  -h

# lsdev -type ent0
lsdev: 0514-500 Usage error - ent0

Usage:
lsdev [-C] [-c Class][-s Subclass][-t Type][-S State][-l Name]
        [-p ParentName][-r ColumnName| -F Format][-H][-f File ][-x]
lsdev -P [-c Class][-s Subclass][-t Type][-r ColumnName| -F Format]
        [-H][-f File ]
lsdev  -h

Open in new window

0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 40585115
OK, you're right with two 10 Gb and two 1 Gb adapters.

"lsdev -type adapter" is the format to be used on VIOS in the IOSCLI environment.

If you read my comment again you'll see that I told you to log in as padmin to the VIOS to run the given commands.

It is strange anyway that entstat doesn't give a media speed for ent0 and ent1 - theyre "real" adapters so entstat should work.
What is the full output of "entstat -d ent0" (on the LPAR, not on VIOS!) ?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question