Use the following CLI syntax to modify an SNMP trap group:
config>log
snmp-trap-group log-id
trap-target name [address ip-address] [port port] [snmpv1 | snmpv2c | snmpv3] notify-community communityName|snmpv3SecurityName[security-level {no-auth-no-privacy |
auth-no-privacy | privacy}]
The following displays the current SNMP trap group configuration:
ALU-12>config>log# info
----------------------------------------------
...
snmp-trap-group 10
trap-target 10.10.10.104:5 "snmpv3" notify-community "communitystring"
exit
...
----------------------------------------------
ALU-12>config>log#
The following displays an example of the command usage to modify an SNMP trap group:
config# log
config>log# snmp-trap-group 10
config>log>snmp-trap-group# no trap-target 10.10.10.104:5
config>log>snmp-trap-group# snmp-trap-group# trap- target 10.10.0.91:1 snmpv2c notify-community "com1"
The following displays the SNMP trap group configuration:
ALU-12>config>log# info
----------------------------------------------
...
snmp-trap-group 10
trap-target 10.10.0.91:1 "snmpv2c" notify-community "com1"
exit
...
----------------------------------------------
ALU-12>config>log#