Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Generation of SNMP Traps and Alarms for Inline Video Monitoring on MX Series Routers

Starting in Junos OS Release 15.1, SNMP support is introduced for the Media Delivery Index (MDI) metrics of inline video monitoring. Inline video monitoring is available on MX Series routers using only MPCE1, MPC2, MPC2E, MPC2E-NG, MPC5E, MPC6E, MPC7E, MPC8E, and MPC- 16XGE. Starting in Junos OS Release 20.3R1, inline video monitoring is available on MX Series routers using MPC10E and MPC11E.

Until Junos OS Release 14.2, inline MDI generated only system log messages when the computed MDI metric value was not within the configured range. SNMP support is now added to enable SNMP traps to be triggered when the computed delay factor (DF), media rate variation (MRV), and media loss rate (MLR) value is not within the configured range. You can retrieve the MDI statistics, flow levels, error details, and MDI record-level information using SNMP Get and Get Next requests. The SNMP traps and alarms that are generated when the MDI metrics exceed the configured ranges can be cleared as necessary. Also, you can control the flooding of SNMP traps on the system.

The following sections describe the statistical counters and parameters that are collected for MDI records and for generation of SNMP traps and alarms when the DF, MRV, and MLR values are not within the specified ranges.

Collection of MDI Statistics Associated with an FPC Slot

The FPC-level statistics include the following parameters that are displayed in the output of the show services video-monitoring mdi stats fpc-slot fpc-slot command. All of these attributes can be obtained using the SNMP Get request.

Table 1: show services video-monitoring mdi stats fpc-slot Output Fields

Field Name

Field Description

FPC Slot

Slot number of the monitored FPC

Active Flows

Number of active flows currently monitored.

active flows = inserted flows - deleted flows.

Total Inserted Flows

Number of flows initiated under video monitoring.

Total Deleted Flows

Number of flows deleted due to inactivity timeout.

Total Packets Count

Number of total packets monitored.

Total Bytes Count

Number of total bytes monitored.

DF Alarm Count

Number of delay factor alarms at each of the following levels:

  • Info level

  • Warning level

  • Critical level

MLR Alarm Count

Number of media loss rate (MLR) alarms at each of the following levels:

  • Info level

  • Warning level

  • Critical level

MRV alarm count

Number of media rate variation (MRV) alarms at each of the following levels:

  • Info level

  • Warning level

  • Critical level

Collection of MDI Errors Associated with an FPC Slot

The FPC-level statistics include the following parameters that are displayed in the output of the show services video-monitoring mdi errors fpc-slot fpc-slot command. All of these attributes can be obtained using the SNMP Get request.

Table 2: show services video-monitoring mdi errors fpc-slot Output Fields

Field Name

Field Description

FPC slot

Slot number of the monitored FPC.

Flow Insert Error

Number of errors during new flow insert operations.

Flow Policer Drops

Number of packets dropped by flow policer process.

Note:

New flows usually arrive within a very short time interval (1.5 microseconds). These errors do not represent the loss of entire flows, because subsequent packets in the flow can establish the flow. All packets are monitored after a flow has been established. Packet forwarding occurs independently of the video monitoring, and packets are not dropped due to video monitoring errors.

Unsupported Media Packets Count

Number of packets dropped because they are not media packets or they are unsupported media packets.

PID Limit Exceeded

Number of packets unmonitored because the process identifier (PID) limit exceeded has been exceeded.

Note:

The current PID limit is 6.

Collection of MDI Flows Associated with an FPC Slot

The FPC-level statistics include the following parameters that are displayed in the output of the show services video-monitoring mdi flows fpc-slot fpc-slot command. All of these attributes can be obtained using the SNMP Get request.

Table 3: show services mdi flows Output Fields

Field Name

Field Description

SIP

Source IP address

DIP

Destination IP address

SP

Source port

DP

Destination port

Di

Direction (I=Input, O=Output)

Ty

Type of flow

Last DF:MLR

Delay factor and media loss rate value of last media delivery index record

Avg DF:MLR

Average value of delay factor and media loss rate

Last MRV

Media rate variation value of last media delivery index record

Avg MRV

Average value of media rate variation

IFL

Interface name on which flow is receiving

Template Name

Name of template associated with flow

Collection of MDI Record-Level Metrics

The computed DF, MLR, and MRV counters of all valid MDI records of a flow that you can view by using the output of the show services video-monitoring mdi flow fpc-slot fpc-slot detail command can be obtained by using the SNMP Get request.