Enabling QoS traps

Last Updated : Apr 03, 2020 |

About this task

You can configure the application to automatically generate QoS traps using SNMP at the termination of RTP sessions that have QoS problems. SNMP traps are automatically sent to the SNMP trap manager on the active Media Gateway Controller (MGC). You can also configure SNMP traps to be sent to an external trap manager. The application generates a QoS trap when, at the end of an RTP session, one or more event counters are over their event thresholds.

Caution:

If the thresholds for trap generation are set too low, a significant amount of trap traffic will be generated and negatively impact network performance.

Procedure

  1. View the RTP statistic thresholds and modify their configurations as necessary.
  2. If you need to modify the minimum statistic window, run the rtp-stat min-stat-win command.
    Gxxx-001(super)# rtp-stat min-stat-win 50
    Done!

    The minimum statistic window is the minimum number of observed RTP sequence increments for which the application evaluates packet loss. The VoIP engine evaluates the current received packet loss every RTCP interval. The VoIP engine postpones loss estimation to the next interval if the number of received packets is less than the minimum statistic window. By modifying the minimum statistic window, you can prevent the application from generating loss-events based on too few packets and safely configure a low packet loss threshold.

  3. To configure an additional trap destination, such as an external trap manager, use the command snmp-server host.
    Gxxx-001(super)# snmp-server host 136.9.71.47 traps v1 public
    Note:

    When using the snmp-server host command, you can specify only to send certain types of traps to the specified trap manager. For example, snmp-server host 1.1.1.1 traps v1 public rtp-stat-qos rtp-stats-faults configures only QoS traps and QoS fault and clear traps to be sent to host 1.1.1.1.

    To check your current SNMP configurations, enter show snmp. Traps are automatically sent to the active MGC by the dynamic trap manager feature. To configure the dynamic trap manager, use the command snmp-server dynamic-trap-manager.

  4. Type rtp-stat qos-trap to enable the traps, if not already enabled.
    Gxxx-001# rtp-stat qos-trap
    The RTP statistics QoS trap is enabled

    QoS traps are now enabled.