Operation device scope, Script file format – HP Ethernet 10Gb 2-port 530T Adapter User Manual

Page 26

Advertising
background image

Scripting mode 26

Command

Description

-stderr

Valid with -set

Output Log File to STDERR.

-dev <MAC Address> Operation scope is the format of the device with MAC address in xx:xx:xx:xx:xx:xx
-card <card#...>

Operation scope is the cards of number(from 0)

-pfn <bus:dev:func> Device location in bus

The operation scope is device:function.

-termLines <lines> Screen scroll lines

0 means no terminal control.

-termWidth

<columns>

Screen width

0 means no terminal control.
In a DOS environment, the default is -termLines 25 and -termWidth 80, which

matches default terminal size.
In a Windows environment, the default is -termLines 0 and -termWidth 0,

which provides no terminal control.

-help

Display help and exit

Operation device scope

For the –get operation, specify the device scope by the device scope command option -dev, -card, or

-pfn.
For the -set operation, specify the device scope by both the command line option and device indicators in

the scripting file. The rule to determine the device scope changes depending on whether the scripting file

contains a single device script or multiple device scripts.
Select devices in one of two ways:

MAC address
Select the device based on the MAC address in the scripting file. Device family matching of the device
ID from the file and from the actual device is checked.

Device family
Select the device using the device family. The MAC address is ignored.

The -set command device scope selection rule follows.

Command line device
option

Single device scripting file Multiple device scripting file

No

MAC address-based selection MAC address-based selection

Yes

Device family-based selection MAC address-based selection

Command line device options include -dev <MAC Address>, -card <card#..> and -pfn

<bus:dev:func>.

Script file format

A script file contains information to configure the devices. It contains the following blocks.

Advertising