Zreg - HP bh5700 User Manual

Ethernet switch blade atca 14-slot blade server
Table of Contents

Advertisement

zreg

NAME
zreg - Read and write registers and tables on the OpenArchitect switch switching hardware.
SYNOPSIS
zreg [-p <ppa>] [-w] [-i <index>] [-t <index>] [-k] [-h
<hostname>] [-d <level>] [-r 10] <reg>
DESCRIPTION
zreg allows a user to read and write direct and indirect registers and tables on the resident
switch chip. zreg is commonly used for debug, or for prototyping when creating applications
that control the OpenArchitect switch. It is also useful when put into shell scripts for displaying
hardware status or statistics. Although the -t option allows tables to be displayed, one might find
the formatted output of the table functions more useful. See zal.
OPTIONS
-p <ppa>
OpenArchitect switch that is controlled by the CPU on which zreg
is running is a unique PPA. If there is only one OpenArchitect
switch, as would be the case when zreg is running on the embedded
processor the PPA would be 0. The default PPA is 0.
-w
written is read from standard input.
-i <index> Causes zreg to access at the indexed register
specified by <reg>. See OPERANDS for usage of <reg> with indexed
registers. The <index> parameter is used to determine which entry
i
-t <index> Causes zreg to access the memory specified by <reg>.
The <index> parameter is used as the index into the specified
table. Only content addressable memories are accessed using the –
t option. All other tables and memories are accessed with the –i
option.
-k
entry accessed is determined using the data from standard input
as the search key.
search key.
-h <hostname>
zreg configures the OpenArchitect switch that is locally
Ethernet Switch Blade User's Guide
Downloaded from
www.Manualslib.com
Specify the Physical Point of Attachment (PPA). Each
Causes zreg to write to the register or table. Data to be
Causes zreg to access the memory specified by <reg>. The
Enter 0 for fields that are not part of the
Specify the <hostname> to configure. By default
manuals search engine
release 3.2.2j
page 322

Advertisement

Table of Contents
loading

Table of Contents