Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring SNMP Reporting for the Traffic Category of Statistics

    IDP OS Release 5.1 supports extensive system resource instrumentation so you can use SNMP to monitor device health. The system resource instrumentation is classified in five categories: sensor, resource, traffic, rule, and interface. The traffic category includes detailed statistics about traffic processed and traffic dropped by the IDP Series device. Traffic statistics are reported to the MIB but not to SNMP traps. You use the traffic category of statistics to understand traffic volume and causes of packet drops.

    To configure the traffic category of statistics reporting:

    1. Log in to the CLI as admin and enter su - to switch to root.
    2. Use the list command to display the current settings:

      [root@defaulthost ~]# scio sri traffic list
      SRI traffic :
       sc_enable_traffic_stats                  = 1      [ 0 - 1 ]
      

      By default, traffic statistic reporting is enabled (value 1).

    3. (Optional) Use the set command to change the default:

      [root@defaulthost ~]# scio sri traffic set sc_enable_traffic_stats 0

      [root@defaulthost ~]# scio sri traffic list
      SRI traffic :
       sc_enable_traffic_stats                  = 0      [ 0 - 1 ]
      

    Tip: If you know you want to enable statistics for all system resource instrumentation categories, use the following command: scio sri all set sc_enable_all_stats 1. If you know you want to enable traps for all categories, use the following command: scio sri all set _sc_enable_all_traps 1.

    The following tables describe the device statistics reported to the IDP Series device MIB when traffic statistics are enabled.

    Note: Traffic statistics use the same counters as scio subs status s0 and scio counter get fragment commands. Counters used for cumulative packet counts are reset when the IDP Series device is rebooted. Counters used for rate statistics are reset when the IDP engine is restarted. The statistics returned are the results of an instant polling. If the device is not currently processing traffic, the rate reported is the valid value for the last time the device was processing traffic.

    Total Packets Received (Rate)

    Name

    jnxIdpSensorPacketsPerSec

    OID

    1.3.6.1.4.1.2636.3.9.1.22.0

    Description

    Rate that packets are received (packets per second, or pps).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorPacketsPerSec.0
    JUNIPER-IDP-MIB::jnxIdpSensorPacketsPerSec.0 = INTEGER: 2

    Bytes Received (Rate)

    Name

    jnxIdpSensorBytesPerSec

    OID

    1.3.6.1.4.1.2636.3.9.1.23.0

    Description

    Rate that bytes are received (bytes per second, or bps).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorBytesPerSec.0
    JUNIPER-IDP-MIB::jnxIdpSensorBytesPerSec.0 = INTEGER: 1

    IPv4 Packets Received (Rate)

    Name

    jnxIdpSensorIPv4PktsPerSec

    OID

    1.3.6.1.4.1.2636.3.9.1.24.0

    Description

    Rate that IPv4 packets are received.

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorIPv4PktsPerSec.0
    JUNIPER-IDP-MIB::jnxIdpSensorIPv4PktsPerSec.0 = INTEGER: 2

    Non-IPv4 Packets Received (Rate)

    Name

    jnxIdpSensorNonIPv4PktsPerSec

    OID

    1.3.6.1.4.1.2636.3.9.1.25.0

    Description

    Rate that non-IPv4 packets are received.

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorNonIPv4PktsPerSec.0
    JUNIPER-IDP-MIB::jnxIdpSensorNonIPv4PktsPerSec.0 = INTEGER: 0

    TCP Packets Received (Rate)

    Name

    jnxIdpSensorTCPPktsPerSec

    OID

    1.3.6.1.4.1.2636.3.9.1.26.0

    Description

    Rate that TCP packets are received.

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorTCPPktsPerSec.0
    JUNIPER-IDP-MIB::jnxIdpSensorTCPPktsPerSec.0 = INTEGER: 0

    UDP Packets Received (Rate)

    Name

    jnxIdpSensorUDPPktsPerSec

    OID

    1.3.6.1.4.1.2636.3.9.1.27.0

    Description

    Rate that UDP packets are received.

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorUDPPktsPerSec.0
    JUNIPER-IDP-MIB::jnxIdpSensorUDPPktsPerSec.0 = INTEGER: 0

    ICMP Packets Received (Rate)

    Name

    jnxIdpSensorICMPPktsPerSec

    OID

    1.3.6.1.4.1.2636.3.9.1.28.0

    Description

    Rate that ICMP packets are received.

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorICMPPktsPerSec.0
    JUNIPER-IDP-MIB::jnxIdpSensorICMPPktsPerSec.0 = INTEGER: 2

    Other Packets Received (Rate)

    Name

    jnxIdpSensorOtherPktsPerSec

    OID

    1.3.6.1.4.1.2636.3.9.1.29.0

    Description

    Rate that traffic other than TCP, UDP, and ICMP is received.

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorOtherPktsPerSec.0
    JUNIPER-IDP-MIB::jnxIdpSensorOtherPktsPerSec.0 = INTEGER: 0

    Total Packets Processed (Count)

    Name

    jnxIdpSensorPktsProcessed

    OID

    1.3.6.1.4.1.2636.3.9.1.31.0

    Description

    Total packets processed (count).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorPktsProcessed.0
    JUNIPER-IDP-MIB::jnxIdpSensorPktsProcessed.0 = INTEGER: 2082

    Total Bytes Processed (Count)

    Name

    jnxIdpSensorBytesProcessed

    OID

    1.3.6.1.4.1.2636.3.9.1.32.0

    Description

    Total bytes processed (count).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorBytesProcessed.0
    JUNIPER-IDP-MIB::jnxIdpSensorBytesProcessed.0 = INTEGER: 172203

    Total TCP Packets Processed (Count)

    Name

    jnxIdpSensorTCPPktsProcessed

    OID

    1.3.6.1.4.1.2636.3.9.1.33.0

    Description

    Total TCP packets processed (count).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorTCPPktsProcessed.0
    JUNIPER-IDP-MIB::jnxIdpSensorTCPPktsProcessed.0 = INTEGER: 183

    Total UDP Packets Processed (Count)

    Name

    jnxIdpSensorUDPPktsProcessed

    OID

    1.3.6.1.4.1.2636.3.9.1.34.0

    Description

    Total UDP packets processed (count).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorUDPPktsProcessed.0
    JUNIPER-IDP-MIB::jnxIdpSensorUDPPktsProcessed.0 = INTEGER: 21

    Total ICMP Packets Processed (Count)

    Name

    jnxIdpSensorICMPPktsProcessed

    OID

    1.3.6.1.4.1.2636.3.9.1.35.0

    Description

    Total ICMP packets processed (count).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorICMPPktsProcessed.0
    JUNIPER-IDP-MIB::jnxIdpSensorICMPPktsProcessed.0 = INTEGER: 1918

    Total Other Packets Processed (Count)

    Name

    jnxIdpSensorOtherPktsProcessed

    OID

    1.3.6.1.4.1.2636.3.9.1.36.0

    Description

    Total packets processed for traffic that is not TCP, UDP, or ICMP (count).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorOtherPktsProcessed.0
    JUNIPER-IDP-MIB::jnxIdpSensorOtherPktsProcessed.0 = INTEGER: 0

    Total Fragments Received (Count)

    Name

    jnxIdpSensorFragmentsRxd

    OID

    1.3.6.1.4.1.2636.3.9.1.38.0

    Description

    Fragments received (count).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorFragmentsRxd.0
    JUNIPER-IDP-MIB::jnxIdpSensorFragmentsRxd.0 = INTEGER: 0

    Total Fragments Reassembled (Count)

    Name

    jnxIdpSensorFragmentsReassembled

    OID

    1.3.6.1.4.1.2636.3.9.1.39.0

    Description

    Fragments reassembled (count).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorFragmentsReassembled.0
    JUNIPER-IDP-MIB::jnxIdpSensorFragmentsReassembled.0 = INTEGER: 0

    Total Fragments Dropped (Count)

    Name

    jnxIdpSensorFragmentsDropped

    OID

    1.3.6.1.4.1.2636.3.9.1.40.0

    Description

    Fragments dropped (count).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorFragmentsDropped.0
    JUNIPER-IDP-MIB::jnxIdpSensorFragmentsDropped.0 = INTEGER: 0

    Packets Dropped By Security Policy Action (Count)

    Name

    jnxIdpSensorPktsDroppedToRule

    OID

    1.3.6.1.4.1.2636.3.9.1.41.0

    Description

    Packets dropped because of a security policy rule being applied (count).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorPktsDroppedToRule.0
    JUNIPER-IDP-MIB::jnxIdpSensorPktsDroppedToRule.0 = INTEGER: 0

    Packets Dropped Because of a Checksum Error (Count)

    Name

    jnxIdpSensorPktsDroppedToChksum

    OID

    1.3.6.1.4.1.2636.3.9.1.42.0

    Description

    Packets dropped because of a checksum error (count).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorPktsDroppedToChksum.0
    JUNIPER-IDP-MIB::jnxIdpSensorPktsDroppedToChksum.0 = INTEGER: 0

    Packets Dropped Because of Protocol Anomaly (Count)

    Name

    jnxIdpSensorPktsDroppedToAnomaly

    OID

    1.3.6.1.4.1.2636.3.9.1.43.0

    Description

    Packets dropped because of a protocol anomaly detected (count). Reported value is derived from the sc_ids_l4_anomalies counter (scio counter get ids | grep sc_ids_l4_anomalies).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorPktsDroppedToAnomaly.0
    JUNIPER-IDP-MIB::jnxIdpSensorPktsDroppedToAnomaly.0 = INTEGER: 0

    Packets Dropped for Other Reasons (Count)

    Name

    jnxIdpSensorPktsDroppedToMisc

    OID

    1.3.6.1.4.1.2636.3.9.1.44.0

    Description

    Packets dropped for other reasons (count).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorPktsDroppedToMisc.0
    JUNIPER-IDP-MIB::jnxIdpSensorPktsDroppedToMisc.0 = INTEGER: 0

    Packets Dropped For Nonpolicy Reasons (Count)

    Name

    jnxIdpSensorPktsDroppedToNonRule

    OID

    1.3.6.1.4.1.2636.3.9.1.45.0

    Description

    Packets dropped for a nonpolicy reason (count).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorPktsDroppedToNonRule.0
    JUNIPER-IDP-MIB::jnxIdpSensorPktsDroppedToNonRule.0 = INTEGER: 0

    Total Alerts (Count)

    Name

    jnxIdpSensorTotalAlerts

    OID

    1.3.6.1.4.1.2636.3.9.1.46.0

    Description

    Total alerts generated (count).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorTotalAlerts.0
    JUNIPER-IDP-MIB::jnxIdpSensorTotalAlerts.0 = INTEGER: 0

    Total Logs (Count)

    Name

    jnxIdpSensorTotalLogs

    OID

    1.3.6.1.4.1.2636.3.9.1.47.0

    Description

    Total logs generated (count).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorTotalLogs.0
    JUNIPER-IDP-MIB::jnxIdpSensorTotalLogs.0 = INTEGER: 89

    Log Rate

    Name

    jnxIdpSensorLogsPerSec

    OID

    1.3.6.1.4.1.2636.3.9.1.48.0

    Description

    Rate of logs (per second).

    Example

    [host]# snmpget -v2c -c public localhost JUNIPER-IDP-MIB::jnxIdpSensorLogsPerSec.0
    JUNIPER-IDP-MIB::jnxIdpSensorLogsPerSec.0 = INTEGER: 0

    Published: 2011-02-08