ZyXEL Communications 3.1 Security Camera User Manual


 
Chapter 38 System Remote Management
ZyWALL (ZLD) CLI Reference Guide
293
38.8.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.
38.8.4 SNMP Commands Examples
The following command sets a service control rule that allowed the computers with the IP
addresses matching the specified address object to access the specified zone using SNMP service.
Table 176 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 IPv4 or IPv6 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 {rule_number|append|insert
rule_number} 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. For the ZyWALL USG 300
and above, use up to 31 characters (a-zA-Z0-9_-). The name
cannot start with a number. This value is case-sensitive.
The ZyWALL USG 200 and lower models use pre-defined zone
names like DMZ, LAN1, SSL VPN, WLAN, IPSec VPN, OPT, and
WAN.
snmp-server rule move rule_number to rule_number Changes the index number of a service control rule.
no snmp-server rule rule_number Deletes a service control rule for SNMP service.
show snmp status Displays SNMP Settings.
Router# configure terminal
Router(config)# snmp-server rule 11 access-group Example zone WAN action accept