- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Port Identification
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 01:36 AM
тАО09-18-2007 01:36 AM
I just want to make sure I am reading this outpu correct...
If I do a lanscan and the outpu is this...
0/3/1/0/4/0 0x001A4BF53EXX 0 UP lan0 snap0 1 ETHER Yes 119
0/3/1/0/4/1 0x001A4BF53EXX 1 UP lan1 snap1 2 ETHER Yes 119
0/3/1/0/6/0 0x001A4BF53EXX 2 UP lan2 snap2 3 ETHER Yes 119
0/3/1/0/6/1 0x001A4BF53EXX 3 UP lan3 snap3 4 ETHER Yes 119
0/4/2/0 0x001A4B06FAXX 4 UP lan4 snap4 5 ETHER Yes 119
0/6/1/0/4/0 0x001A4BF538XX 6 UP lan6 snap6 6 ETHER Yes 119
0/6/1/0/4/1 0x001A4BF538XX 7 UP lan7 snap7 7 ETHER Yes 119
0/6/1/0/6/0 0x001A4BF538XX 8 UP lan8 snap8 8 ETHER Yes 119
0/6/1/0/6/1 0x001A4BF538XX 9 UP lan9 snap9 9 ETHER Yes 119
0/4/2/1 0x001A4B06FAXX 5 UP lan5 snap5 10 ETHER Yes 119
LinkAgg0 0x000000000000 900 DOWN lan900 snap900 13 ETHER Yes 119
LinkAgg1 0x000000000000 901 DOWN lan901 snap901 14 ETHER Yes 119
LinkAgg2 0x000000000000 902 DOWN lan902 snap902 15 ETHER Yes 119
LinkAgg3 0x000000000000 903 DOWN lan903 snap903 16 ETHER Yes 119
LinkAgg4 0x000000000000 904 DOWN lan904 snap904 17 ETHER Yes 119
I can tell that I hae 3 NICs...1 2-port and 2 4-port. I can also tell which lans are associated with which cards. But I cannot tell which lans are associated with which PORTS on each card.
To do this for my first lan, I assigned an IP to lan0, asked my network team to look on the switch and find which switch port that IP was plugged into, then compared the MAC address that the switch sees in that port to the output from the above command thus telling me which port on the NIC was lan0.
Can I now assume that the lan assigments flow logically down the card so that lan1 will now be the second port on that same card as lan0? Following this assumption, the first 4-port card would have lans 0-3 assigned to it from top to bottom, the second having lans 6-9 flowing from top to bottom, and the 2-port core card having lans 4 & 5 with lan 4 being the top port.
Is there an easier method? I remember in Linux I found a command that would blink the stable LED on the port to indicate which port eth0 mapped to. Is there such a command in HP-UX?
I know I could do retrace the same steps for each lan like I did before but as you can see, we are going to be using APA and I'd rather not waste all that time assigning IPs just to turn around and unplumb them to put them in APA...not to mention that I have 10 servers to replicate this on!
Any help would be appreciated!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 01:50 AM
тАО09-18-2007 01:50 AM
Solution0/3/1/0/4/0 0x001A4BF53EXX 0 UP lan0 snap0 1 ETHER Yes 119
0/3/1/0/4/1 0x001A4BF53EXX 1 UP lan1 snap1 2 ETHER Yes 119
0/3/1/0/6/0 0x001A4BF53EXX 2 UP lan2 snap2 3 ETHER Yes 119
0/3/1/0/6/1 0x001A4BF53EXX 3 UP lan3 snap3 4 ETHER Yes 119
lowest port (labeled) is also the lowest hw-path.
0/3/1/0/4/0 is port 0 (if 0..3) or A (if A..D)
...
0/3/1/0/6/1 is port 3 or D in this case.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 01:53 AM
тАО09-18-2007 01:53 AM
Re: Port Identification
http://docs.hp.com/en/AB545-90001/ch01s10.html#babeeabc
This is an AB545A PCI-X 4-Port Gigabit Ethernet Card.
Port A is ...0/4/0
Port B is ...0/4/1
Port C is ...0/6/0
Port D is ...0/6/1
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 01:54 AM
тАО09-18-2007 01:54 AM
Re: Port Identification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 02:03 AM
тАО09-18-2007 02:03 AM
Re: Port Identification
The install manual says (only):
"Optionally, if you want to verify that the iether driver appears for each installed card, enter: ioscan -fknClan
The ioscan output for each port would look something like the following:
Class I H/W Path Driver S/W State H/W Type Description
lan 3 0/5/1/0/4/0 iether CLAIMED INTERFACE HP AB545-60001 PCI/PCI-X 1000Base-T 4-port 1000B-T Adapter
The last two digits of the hardware path (third column) reflect the path of each port."
So it is fixed for sure.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 02:09 AM
тАО09-18-2007 02:09 AM
Re: Port Identification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 02:15 AM
тАО09-18-2007 02:15 AM
Re: Port Identification
;-)
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 02:21 AM
тАО09-18-2007 02:21 AM
Re: Port Identification
I just wanted to give others a chance as well...but alas I will close the thread.
Thanks again for your quick response! Keep an eye our for my next post...Ignite UX...coming later this week!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 02:25 AM
тАО09-18-2007 02:25 AM
Re: Port Identification
I don't get you wrong, don't worry.
Have fun!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
