Operating System - HP-UX
1826411 Members
4065 Online
109692 Solutions
New Discussion

Re: lan0 HP PCI-X 1000Base-T How to Check Flow Control

 
SOLVED
Go to solution
Dan Matlock_1
Regular Advisor

lan0 HP PCI-X 1000Base-T How to Check Flow Control

Other than SAM, how do I check status of 'flow control'?
I am using: lan0 HP PCI-X 1000Base-T Release B.11.23.0606 , on a RX8640...
SAM shows it ON as far as configuration, but want to verify status.
8 REPLIES 8
Tim Nelson
Honored Contributor

Re: lan0 HP PCI-X 1000Base-T How to Check Flow Control

lanadmin -x nmid
( nmid can be found from lanscan command )

i.e. lan1 is typically 1...

lanadmin -x 1 (lan1)
lanadmin -x 2 (lan2)

To set it ( will cause a card reset )
lanadmin -X 1 auto
lanadmin -X 1 100FD
or any other valid option for that card

made permintent in /etc/rc.config.d/gelanconf
Dan Matlock_1
Regular Advisor

Re: lan0 HP PCI-X 1000Base-T How to Check Flow Control

'flow control' status is what I need, not duplex/speed settings.
Tim Nelson
Honored Contributor

Re: lan0 HP PCI-X 1000Base-T How to Check Flow Control

Sorry, I am drawing a blank on flow control for lan interfaces?

The only item I think of is half duplux or full duplex.

I could be brain dead today..

Let's wait for others to chime in..

Jay Kidambi
Advisor
Solution

Re: lan0 HP PCI-X 1000Base-T How to Check Flow Control

Try lanadmin -x card_info

or

lanadmin -x fctrl
Jay Kidambi
Advisor

Re: lan0 HP PCI-X 1000Base-T How to Check Flow Control

Try lanadmin -x card_info

or

lanadmin -x fctrl

Both SAM and lanadmin only report whether flow control is enabled locally. They don't display what the final resolution is. For that information, you'd have to check if flow control is enabled on the link partner (e.g., the switch port).
whiteknight
Honored Contributor

Re: lan0 HP PCI-X 1000Base-T How to Check Flow Control


Dan,

lanadmin -X
fctrl on -- Set on flow control ON 1000Base-SX/T

fctrl off -- Set off flow control NA 1000Base-SX/T


fctrl -- Display flow control status

example output
# lanadmin -x card_info 4
*********** Version Information **********
Driver version: B.10.20.11
Firmware version: B.12.4.5
Chip version: 0x6
PCI Sub-System ID: 0x106f (1000Base-SX)
PCI Sub-Vendor ID: 0x103c
Board Revision: C
Software Key: 6
Engineering Date Code: B-3845

********** Card Setting ***********
Driver State: GELAN_ONLINE
Auto Negotiation: On
Flow Control: On <<==
Send Max Buf Descriptors: 16
Recv Max Buf Descriptors: 1
Send Coalesced Ticks: 1000
Recv Coalesced Ticks: 0

WK
Problem never ends, you must know how to fix it
Dan Matlock_1
Regular Advisor

Re: lan0 HP PCI-X 1000Base-T How to Check Flow Control

Thanks for all the input!!!

the card_info option was what I was looking for.... My network folks implied flow control was off and said they seen errors on switch. SAM show'd configuration as on on my side.

nxeaid01(root)/# lanadmin -x card_info 0
*********** Version Information **********
Driver version: B.11.23.0606
Firmware version: 1.0.9/1.10
Chip version: 0x10
PCI Sub-System ID: 0x1321
PCI Sub-Vendor ID: 0x103c
Board Revision: A0
Software Key: 0
Engineering Date Code:

********** Card Setting ***********
Driver State: IGELAN_ONLINE
Auto Negotiation: On
Flow Control: On
Send Max Buf Descriptors: 10
Recv Max Buf Descriptors: 1
Send Coalesced Ticks: 150
Recv Coalesced Ticks: 0
Dan Matlock_1
Regular Advisor

Re: lan0 HP PCI-X 1000Base-T How to Check Flow Control

see my above post