Zyxel IES-5106 [1049/1156] Sys snmp trapcommunity command

Zyxel IES-5106 [1049/1156] Sys snmp trapcommunity command
Chapter 36 sys Commands
Management Switch Card User’s Guide
1049
Enter this command with the community to set the password.
The following example sets the password for incoming Set- requests to “Set123”.
36.4.3 sys snmp trapcommunity Command
Syntax:
sys snmp trapcommunity <community>
where
Enter this command with the community to set the password.
The following example sets the system to send a password of “public” with the traps it sends to the
SNMP manager.
36.4.4 sys snmp trapdst Command
Syntax:
sys snmp trapdst <index> <ip-address> [<port>] [v1|v2|v3] [<name>]
where
Use this command to specify the IP address (and port number) of a trap server to which the system
sends SNMP traps. If you leave the trap destination set to 0.0.0.0 (default), the system will not
send any SNMP traps.
The following example sets the system to send traps to a server at IP address 192.168.1.36. The
traps are sent using SNMP v3 and include the user name
example.
ras> sys snmp setcommunity Set123
<community> =
The password sent with each trap to the SNMP manager.
ras> sys snmp trapcommunity public
<index> =
The number of the trap server (1~4).
<ip-address> =
The IP address of the trap server.
[<port>] =
The port number upon which the trap server listens for SNMP traps.
The system uses the default of 162 if you do not specify a trap port.
[v1|v2c|v3] =
Format of the SNMP trap PDU (Protocol Data Unit) to be sent. The default is
v2c.
[<name>] =
The username to be included in the trap PDUs. This is only applicable for
SNMPv3.
ras> sys snmp trapdst 1 192.168.1.36 v3 example

Содержание

Скачать