Operating System - HP-UX
1753768 Members
5446 Online
108799 Solutions
New Discussion юеВ

Re: Can not change the Duplex mode to FULL

 
mudongxiao
Advisor

Can not change the Duplex mode to FULL

I logon root
then run sam to change the network card to
Full mode for Duplex field.
But I can not change it for there is no drop-down box, only show me HALF(grey).
So, How can I change it?
8 REPLIES 8
IT_2007
Honored Contributor

Re: Can not change the Duplex mode to FULL

you can use command line to change it.

To check:

lanadmin -x 0 --> 0 for Card Instance no.

To change:

lanadmin -x 100FD 0 --> will change to 100 Full Duplex for lan0.
mudongxiao
Advisor

Re: Can not change the Duplex mode to FULL

Thanks
But it failed

# lanadmin -x 0
Speed = 100 Half-Duplex.
Autonegotiation = On.

# lanadmin -x 100FD 0
The option "100FD" is not valid
speed Display the speed and duplexity of the link
fctrl Display whether Receive Flow Control is enabled or not
cko Determine if hardware TCP/UDP (IPv4) checksum offload is enabled
send_max_bufs Display the value of send buffer coalescing threshold
recv_max_bufs Display the value of recv buffer coalescing threshold
send_coal_ticks Display the value of send interrupt coalescing ticks
recv_coal_ticks Display the value of recv interrupt coalescing ticks
itrmode Display the value of interrupt throttling mode
card_info Display the adapter and driver revision and settings
vmtu Display the value of Virtual MTU for TCP Segmentation Offload
stats drv Display driver and adapter statistics
diag_thresh Display the value of packet rate threshold for diagnostics
IT_2007
Honored Contributor

Re: Can not change the Duplex mode to FULL

You have to use -X (capital letter) to change settings.
mudongxiao
Advisor

Re: Can not change the Duplex mode to FULL

It works
What's the command to change back to
HALF mode
thanks again
IT_2007
Honored Contributor

Re: Can not change the Duplex mode to FULL

why do you want to change it back to Half duplex?

Anyway, you can do it as same command with 100HD option
IT_2007
Honored Contributor

Re: Can not change the Duplex mode to FULL

If you feel your problem solved, please assign points and close the thread.

Thanks.
Ivan Krastev
Honored Contributor

Re: Can not change the Duplex mode to FULL

To get a list of adapters:

HP-UX 10.x uses the Network Management IDs
lanscan -n

HP-UX 11.x uses the PPA numbers
lanscan -p

To check the duplex:
lanadmin -x NMid# (HP-UX 10.x)
lanadmin -x PPA# (HP-UX 11.x)

To force to full duplex:
lanadmin -X 100FD NMid# (HP-UX 10.x)
lanadmin -X 100FD PPA# (HP-UX 11.x)

To force to half duplex:
lanadmin -X 100HD NMid# (HP-UX 10.x)
lanadmin -X 100HD PPA# (HP-UX 11.x)


regards,
ivan
rick jones
Honored Contributor

Re: Can not change the Duplex mode to FULL

What kind of system (eg the output of the model command) is this and what sort of NIC. Old EISA 100BT NICs could only do half-duplex and didn't autoneg IIRC.

Also, the "core" interface on older servers was a 10 Mbit/s interface which was also only half-duplex.

Generally speaking, unless and until it is _known_ that autoneg is fubar on a switch, one shouldn't be trying to hardcode duplex settings for NICs and switch ports.
there is no rest for the wicked yet the virtuous have no pillows