Options, Examples – Znyx Networks bh5700 User Manual
Page 217

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 
table. Valid for all tables. Cannot be combined with -m, -P or 
-v.
-m 
Displays entries whose MAC address field matches 
field. Cannot be combined with -i, -P, or -v.
-a
Displays the entire table.
-v 
Displays entries whose VLAN ID field matches
Cannot be combined with -i, -m, or -P.
-P 
Cannot be combined with -i, -m, or -v.
-h 
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 
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
