Zg_config – Zilog EZ80F91GA User Manual
Page 60

ZGATE Shell Command Reference
UM024502-1012
48
ZGATE Embedded Security Development Kit
User Manual
zg_config
Syntax
zg_config < add|remove|set>
Subcommands
add
Adds one or more new values to the static filtering list corre-
sponding to
parameter
. The
add
subcommand will print an
error message if the user attempts to add a value that is already on
the list.
remove
Removes one or more new values to the static filtering list corre-
sponding to
parameter
. The
remove
subcommand will print an
error message if the user attempts to remove a value that is not on
the list.
set
Alters the specified ZGATE threshold filtering parameter.
Description
The
zg_config
command modifies ZGATE filtering parameters.
When the
add
or
remove
subcommands are specified,
parameter
must be one of the
following values:
eth_frame
,
eth_addr
,
IP_Addr
,
IP_Prot
,
tcp_port
or
udp_port
.
Value(s) is a list of one or more items separated by spaces; the format and meaning of the
value(s) depends on the static filtering list targeted by
parameter
.
eth_frame:
Value(s) is an Ethernet frame type. Each item in the value(s) list
must be between 1 and 65535.
eth_addr:
Value(s) is the Ethernet MAC address of a device that sends pack-
ets to ZTP. Each item in the value(s) list must contain six hexa-
decimal numbers (each between 0 and
0xFF
) separated by
colons; for example, "ab:cd:ef:01:23:45".
IP_Addr:
Value(s) is the IPv4 address of a device that sends packets to ZTP.
Each item in the value(s) list must be in dotted decimal format
using 4 numbers (each between 0 and 255) separated by periods;
for example,
192.168.2.30
.
IP_Prot:
Value(s) is an IP protocol number. Each item in the value(s) list
must be between 1 and 254.
tcp_port:
Value(s) is a ZTP TCP port number. Each item in the value(s) list
must be between 1 and 65535.