Command Line Interface Reference 10-233
WS2000>admin(system.snmp.traps)> add
Description:
Adds SNMP trap entries.
Syntax:
Example:
admin(system.snmp.traps)>add v1v2 203.223.24.2 333 mycomm v1
admin(system.snmp.traps)>list v1v2c
----------------------------------------------------------------------
index dest ip dest port community version
----------------------------------------------------------------------
1 203.223.24.2 333 mycomm v1
admin(system.snmp.traps)>add v1v2 209.255.32.1 334 jumbo v2
admin(system.snmp.traps)>list v1v2c
----------------------------------------------------------------------
index dest ip dest port community version
----------------------------------------------------------------------
1 203.223.24.2 333 mycomm v1
2 209.255.32.1 334 jumbo v2
admin(system.snmp.traps)>add v3 201.232.24.33 555 BigBoss none md5
admin(system.snmp.traps)>list v3 all
index : 1
destination ip : 201.232.24.33
destination port : 555
username : BigBoss
security level : none
auth algorithm : md5
add v1v2
<ip> <port> <comm>
v1/v2
Adds an entry to the SNMP v1/v2 access list with the destination IP address set to <ip>, the destination UDP port set to
<port>, the community string set to <comm> (1 to 31 characters), and the SNMP version set to v1 or v2.
v3
<ip> <port> <user> <sec> <auth> <pass1> <priv> <pass2>
Adds an entry to the SNMP v3 access list with the destination IP address set to <ip>, the destination UDP port set to
<port>, the username set to <user> (1–31 characters), and the security type set to one of none, auth, or auth/priv.
The following parameters must be specified if <sec> is auth or auth/priv:
Authentication type <auth> set to md5 or sha1
Authentication password <pass1> (8–31 chars)
The following parameters must be specified if <sec> is set to auth/priv:
Privacy algorithm set to des or aes
Privacy password <pass2> (8–31 chars)