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

    Enabling Tunnel and Global Counters for SNMP Statistics Collection

    By default, SNMP polling is disabled for L2TP statistics. As a consequence, the L2TP tunnel and global counters listed in Table 1 have a default value of zero.

    Table 1: SNMP Counters for L2TP Statistics

    Counter Name

    Type

    jnxL2tpTunnelStatsDataTxPkts

    Tunnel

    jnxL2tpTunnelStatsDataRxPkts

    Tunnel

    jnxL2tpTunnelStatsDataTxBytes

    tunnel

    jnxL2tpTunnelStatsDataRxBytes

    Tunnel

    jnxL2tpStatsPayloadRxOctets

    Global

    jnxL2tpStatsPayloadRxPkts

    Global

    jnxL2tpStatsPayloadTxOctets

    Global

    jnxL2tpStatsPayloadTxPkts

    Global

    You can enable collection of these statistics by including the enable-snmp-tunnel-statistics statement at the [edit services l2tp] hierarchy level. When enabled, the L2TP process polls for these statistics every 30 seconds for 1000 sessions. The potential age of the statistics increases with the number of subscriber sessions; the data is refreshed more quickly as the number of sessions decreases. For example, with 60,000 sessions, none of these statistics can be more than 30 minutes old.

    Best Practice: The system load can increase when you enable these counters and also use RADIUS interim accounting updates. We recommend you enable these counters when you are using only SNMP statistics.

    To enable L2TP statistics collection for SNMP:

    Published: 2013-07-31