Thursday, May 7, 2009

How do I configure SNMP on ZyXEL router

You can use the commands below to configure SNMP on your CPE:

>sys snmp get
>sys snmp set
>sys snmp trusthost
>sys snmp trap

Fox example:

ras> sys snmp
display get set trusthost
trap discard save clear
ras> sys snmp get
Usage: get
ras> sys snmp get 1234
ras> sys snmp set 1234
ras> sys snmp trusthost
ras> sys snmp trap
community destination
ras> sys snmp trap community 1234
ras> sys snmp trap destination
ras> sys snmp save

In this example, my snmp manager's ip is, and the get community and set commnunity at my manager side is also 1234, when this two commnunity(snmp manager and CPE) match, then you can success to get and set variables of you CPE from snmp manager side.
Also the CPE can send trap messages to your snmp manager.

No comments:

Post a Comment