Ethernet Support Guide for HP-UX 11i v3

Example 3 Displaying a device's MAC address
To display the MAC address setting, enter the following command, where ppa is the PPA number
of the device:
nwmgr -g -A mac -c lanppa
The following is an example of the output:
MAC address = 0x002634738529
Example 4 Setting a device's MAC address
HP recommends setting the MAC address permanently to persist across reboots. To do so, enter
the following nwmgr command with the --sa option, where MAC is the MAC address and ppa
identifies the device PPA number:
nwmgr --sa -A mac=MAC -c lanppa
For example, the following command sets the MAC address of the device with PPA 1 (lan1) to
0x002634738528:
nwmgr --sa -A mac=0x002634738528 -c lan1
3.5 Displaying and setting parameters for link speed, duplexity, and
autonegotiation
Gigabit 1000Base-T cards
Gigabit Ethernet copper-based LAN cards (1000Base-T) cards operate at 10 or 100 Mbit/s in
either full- or half-duplex modes, and at 1000 Mbit/s only in full-duplex mode. Set the 1000Base-T
card (drivers iether, gelan, and igelan) speed, duplex, and autonegotiation to be equivalent
to that of the link partner. With autonegotiation off, you can force the speed to 10 or 100 Mbit/s,
with full or half duplex. With igelan and iether cards, you can force the speed to 1000 Mbit/s
if autonegotiation and full-duplex are enabled. With gelan cards, you cannot force the speed to
1000 Mbit/s; you must enable autonegotiation and connect the card to a link partner that is
capable of running at 1000 Mbit/s and is itself set to autonegotiate. Half duplex mode is not
supported at 1000 Mbit/s. Table 7 (page 25) describes valid configurations for your card and
on your switch or link partner.
Table 7 HP-UX 1000Base-T supported configurations and parameter settings
Resulting speedLink partnerCorresponding HP-UX
parameter value
HP-UX 1000Base-T port
Highest common speed (HP-UX supports
10/100/1000)
AutonegotiateAUTO_ONAutonegotiate
10 Mbit/s half duplex10 half-duplex (for
example, a 10Base-T
hub)
10HD10 half-duplex
10 Mbit/s full duplex10 full-duplex10FD10 full-duplex
100 Mbit/s half duplex100 half-duplex100HD100 half-duplex
100 Mbit/s full duplex100 full-duplex100FD100 full-duplex
1000 Mbit/s full duplex1000 full-duplex1000FD1000 full-duplex
Table 8 (page 26) lists the configuration file and nwmgr parameters available to set speed, duplex,
and autonegotiation states for Gigabit Ethernet cards. Valid speeds are indicated by digits, duplexity
by either hd or fd, and autonegotiation as either auto_on or auto_off.
3.5 Displaying and setting parameters for link speed, duplexity, and autonegotiation 25