set protocols snmp trap-group targets security-name
The set protocols snmp trap-group targets security-name command configures NMS for receiving the trap messages.
Please note trap-messages can be actually sent out only if  the concerning user,  group and notify-view have been configured.Â
Command Syntax
set protocols snmp trap-group targets  <IPv4_address> security-name <security-name> Â
delete protocols snmp trap-group targets  <IPv4_address>
Parameter
Parameter | Description |
targets  <IPv4_address> | Specifies the address of the target host that receives SNMP traps. NOTE: |
security-name <security-name> | Specifies the user security name displayed on the NMS. For SNMPv3, security name must be configured as the user name. security name configured on the host needs to be the same as that configured on the NMS, or the NMS cannot receive the trap messages sent from the host. For SNMPv1 and SNMPv2c, the NMS can receive trap messages from all hosts without having security name configured. security name is used to distinguish multiple hosts that generate trap messages. |
Example
 •This example configures a NMS for receiving the trap messages.
admin@XorPlus# set protocols snmp trap-group targets 10.10.51.42 security-name user1 admin@XorPlus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.