Enabling SNMP notifications
To report critical load balancing events to an NMS, enable SNMP notifications for load balancing. For load balancing event notifications to be sent correctly, you must also configure SNMP as described in Network Management and Monitoring Configuration Guide.
The SNMP notifications configuration tasks for Layer 4 and Layer 7 server load balancing are the same.
To enable SNMP notifications for load balancing:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable SNMP notifications for load balancing. | snmp-agent trap enable loadbalance | By default, SNMP notifications are enabled for load balancing. |