| United States-English |
|
|
|
![]() |
Using PCI 1000Base-T and HSC/PCI 1000Base-SX (Gigabit Ethernet) > Chapter 2 Configuring
Gigabit Ethernet ParametersUsing the lanadmin Tool with Gigabit Ethernet |
|
This section explains the options available in lanadmin to support the Gigabit Ethernet driver and how
to use them. The lanadmin(1M) tool is used to display and set parameters, as
specified by the following commands:
To display the card's station address, execute: $ lanadmin -a nmid/ppa To set the card's station address, execute: $ lanadmin -A station_addr nmid/ppa where nmid is the Network Management Identifier (NMID) (for HP-UX 10.20) and ppa is the Card Instance Number (also known as physical point of attachment or PPA) (for HP-UX 11.0 and later). Both the NMID and PPA may be obtained from the lanscan(1M) output.
$ lanadmin -m nmid/ppa To set the MTU, execute: $ lanadmin -M mtu_size nmid/ppa On HP-UX 10.20, the setting of the MTU should be followed by configuring the interface with the appropriate IP address using ifconfig(1M). See the ifconfig man page for details. The change in MTU should be verified, on all HP-UX operating systems, by executing: $ netstat -rn To display link parameters, execute: $ lanadmin -x option nmid/ppa To set link parameters, execute: $ lanadmin -X option nmid/ppa where option specifies the operation to be carried out. The command $ lanadmin -x (or -X) help nmid/ppa displays a list of valid options used to display values.
To display the card information, execute: $ lanadmin -x card_info nmid/ppa
To display the card statistics, execute: $ lanadmin -x stats drv nmid/ppa
To display the send buffer coalescing threshold, execute: $ lanadmin -x send_max_bufs nmid/ppa Send buffer coalescing threshold = 16 To display the receive interrupt coalescing ticks, execute: $ lanadmin -x recv_coal_ticks nmid/ppa Receive interrupt coalescing ticks = 0 The command $ lanadmin -X (or -x) help nmid/ppa displays a list of valid options used to set values.
To set the speed to 100 Mbps full-duplex on 1000Base-T, execute: $ lanadmin -X 100fd nmid/ppa
To set the send buffer coalescing threshold, execute: $ lanadmin -X send_max_bufs 32 nmid/ppa Note that the tuning option send_max_bufs requires the additional option 32 (the coalescing threshold). |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||