Chapter 35 sys Commands
The following example sets the password for incoming Set- requests to "Set123".
ras> sys snmp setcommunity Set123
35.4.3 sys snmp trapcommunity Command
Syntax:
sys snmp trapcommunity <community>
where
<community>
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.
ras> sys snmp trapcommunity public
35.4.4 sys snmp trapdst Command
Syntax:
sys snmp trapdst <index> <ip-address> [<port>] [v1|v2|v3] [<name>]
where
<index>
<ip-
address>
[<port>]
[v1|v2c|v3]
[<name>]
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
ras> sys snmp trapdst 1 192.168.1.36 v3 example
924
=
The password sent with each trap to the SNMP manager.
The number of the trap server (1~4).
=
=
The IP address of the trap server.
=
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.
=
Format of the SNMP trap PDU (Protocol Data Unit) to be sent. The default is
.
v2c
=
The username to be included in the trap PDUs. This is only applicable for
SNMPv3.
.
example
MSC1000G/1024G/1224G Series User's Guide