Chapter 64 System Remote Management
ZyWALL Series CLI Reference Guide
538
64.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.
The following command sets the password (secret) for read-write (rw) access.
The following command sets the IP address of the host that receives the SNMP notifications to
172.23.15.84 and the password (sent with each trap) to qwerty.
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.
snmp-server v3user
username description
authentication {md5 |
sha} privacy {none |
des | aes} privilege
{ro | rw}
Sets the authentication, privacy and privilege for an SNMPv3 user.
snmp-server version
{v2c | v3}
Sets the SNMP version for the Zyxel Device. The SNMP version on the
Zyxel Device must match the version on the SNMP manager.
show snmp status
Displays SNMP Settings.
show snmp-server v3user
status
Displays authentication, privacy and privilege for configured
SNMPv3 users.
Table 311 Command Summary: SNMP (continued)
COMMAND DESCRIPTION
Router# configure terminal
Router(config)# snmp-server rule 11 access-group Example zone WAN action
accept
Router# configure terminal
Router(config)# snmp-server community secret rw
Router# configure terminal
Router(config)# snmp-server host 172.23.15.84 qwerty