HP-UX 11i Version 1 Installation and Update Guide, September 2003

Configuring Built-In PCI Networking
PCI 10/100Base-TX and 100Base-FX/9000
Appendix D212
Ensure that the speed, duplex mode, and autonegotiation of the
associated switch are configured the same as on the PCI 10/100Base-TX
card. If the switch supports autonegotiation on the ports connected to the
cards, this should be enabled as explained in “Autonegotiation and
Auto-sensing” on page 213.
To list the current speed and duplex mode of a PCI 10/100Base-TX/9000
card, use the -x option (lowercase x) in the lanadmin command.
Determine the speed and duplex mode of your hub or switch before
performing manual configuration:
lanadmin -x ppa
To manually set the duplex mode of the interface, enter:
lanadmin -X mode ppa
where: mode can be any one of the following strings (fd or hd are
case-insensitive):
10fd =10 full-duplex
10hd =10 half-duplex
100fd =100 full-duplex
100hd =100 half-duplex
lanadmin -X auto_on ppa turns autonegotiation on.
The ppa is the physical point of attachment on HP-UX 10.30 or 11.0. On
HP-UX 10.20, use the nmid or Network Management ID of the card. You
can get the ppa (nmid) from the output of the lanscan command.
For example, if the ppa (nmid on HP-UX 10.20) of the 100Base-TX
interface is 5, this command sets the card to 10Mbits/s and full-duplex:
lanadmin -X 10fd 5
You must wait at least 11 seconds before attempting to use the specified
network interface.
If you want the Duplex Mode setting to be effective in all subsequent
reboots, you must create a script that includes the appropriate command
in the /sbin/init.d directory so it gets executed on each reboot. Manually
configuring the speed or duplex setting of a switch port on some switches
may disable that switch port from doing autonegotiation. Verify that
both the card and the switch port are operating in the same speed and
duplex mode as desired.