Options, Examples – Znyx Networks bh5700 User Manual

Page 217

Advertising
background image

display on the user console. The format of the output is table-dependent. Port mapping affects the
ports referenced in the generic tables. (Ports listed in order from 1 to 15)

Headers describing the column being displayed are printed after every 22 lines of output, which
makes it easy to pipe through more(1). The abstraction layer tables grow and shrink as entries are
added and deleted.

Several options are available which enable the user to display only selected entries. Additionally,
there is an option that clears user-specified entries in the table.

OPTIONS

-i <index> Displays the entry at the <index> position in the

table. Valid for all tables. Cannot be combined with -m, -P or
-v.

-m <mac_address>

Displays entries whose MAC address field matches
<mac_address>. Only valid for tables that have a MAC address

field. Cannot be combined with -i, -P, or -v.

-a

Displays the entire table.

-v <vlan_id>

Displays entries whose VLAN ID field matches

<vlan_id>. Only valid for tables that have a VLAN ID field.

Cannot be combined with -i, -m, or -P.

-P <port> Displays the entries whose port field matches
<port>. Only valid for tables that have a PORT ID field.

Cannot be combined with -i, -m, or -v.

-h <host_name>

Specifies which hostname to connect. By

default, zgr connects to the locally connected OpenArchitect

switch (i.e., the one that is on the local PCI bus).

-d <level>

Sets the level of debugging output required by

zgr. The default level is one (1). Setting the debug level

higher produces more output. Four (4) is currently the maximum
output level.

EXAMPLES

The following example searches for and displays an entry in the zl2 table with the specified
MAC address:

zl2 -m 00:c0:95:45:00:00

If there is an entry in the ZL2 table with the MAC address, 00:c0:95:45:00:00, all the fields of
that entry will be displayed.

Ethernet Switch Blade User's Guide

release 3.2.2j

page 217

Advertising