Chapter 33 System Remote Management
ZyWALL (ZLD) CLI Reference Guide
219
33.7.3 SNMP Commands
The following table describes the commands available for SNMP. You must use the
configure terminal command to enter the configuration mode before you can use these
commands.
Table 134 Command Summary: SNMP
COMMAND DESCRIPTION
[no] snmp-server Allows SNMP access to the ZyWALL. The no
command disables SNMP access to the
ZyWALL.
[no] snmp-server community community_string
{ro|rw}
Enters up to 64 characters to set the password
for read-only (ro) or read-write (rw) access. The
no command resets the password for read-only
(
ro) or read-write (rw) access to the default.
[no] snmp-server contact description Sets the contact information (of up to 60
characters) for the person in charge of the
ZyWALL. The
no command removes the contact
information for the person in charge of the
ZyWALL.
[no] snmp-server enable {informs|traps} Enables all SNMP notifications (informs or traps).
The
no command disables all SNMP
notifications (informs or traps).
[no] snmp-server host {w.x.y.z}
[community_string]
Sets the IP address of the host that receives the
SNMP notifications. The no command removes
the host that receives the SNMP notifications.
[no] snmp-server location description Sets the geographic location (of up to 60
characters) for the ZyWALL. The no command
removes the geographic location for the
ZyWALL.
[no] snmp-server port <1..65535> Sets the SNMP service port number. The
no
command resets the SNMP service port number
to the factory default (
161).
snmp-server rule {<1..32>|append|insert
<1..32>} access-group {ALL|address_object} zone
{ALL|zone_object} action {accept|deny}
Sets a service control rule for SNMP service.
address_object: The name of the IP address
(group) object. You may use 1-31 alphanumeric
characters, underscores(
_), or dashes (-), but the
first character cannot be a number. This value is
case-sensitive.
zone_object: The name of the zone. You may
use 1-31 alphanumeric characters,
underscores(
_), or dashes (-), but the first
character cannot be a number. This value is
case-sensitive.
snmp-server rule move <1..32> to <1..32> Changes the index number of a service control
rule.
no snmp-server rule <1..32> Deletes a service control rule for SNMP service.
show snmp status Displays SNMP Settings.