Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Juniper BNG CUPS User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show system subscriber-management statistics

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show system subscriber-management statistics
<all>
<dhcp>
<dvlan>
<fixed-wireless-access>
<l2tp>
<ppp>
<pppoe>

Description

Display statistics for the specified option. You can customize the output by including one or more optional filters in the command. With the exception of the extensive option, all filter options can be combined in a single command.

Options

all

(Optional) Display packet statistics for all protocols.

dhcp

(Optional) Display DHCP packet statistics.

dvlan

(Optional) Display DVLAN packet statistics.

fixed-wireless-access

(Optional) Display fixed wireless access packet statistics.

l2tp

(Optional) Display L2TP packet statistics.

ppp

(Optional) Display PPP packet statistics.

pppoe

(Optional) Display PPPoE packet statistics.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show system subscriber-management statistics command. Output fields are listed in the approximate order in which they appear.

Table 1: show system subscriber-management statistics Output Fields

Field Name

Field Description

Rx Statistics

Statistics for packets received.

Tx Statistics

Statistics for packets sent.

Enhanced I/O Statistics

Statistics for visibility into packet drops from the queue.

Error Statistics

Includes connection packets, flow control, and messages and packets sent to and received from the daemon.

ERA discards

Event Rate Analyzer discards. For DHCP and PPPoE in advanced subscriber management, ERA packet discard counts are included for Discover, Solicit, and PADI packets .

Layer 3 Statistics

Statistics for Layer 3 packets.

padis

PPPoE Active Discovery Initiation (PADI) packets.

PADI is the first step in the PPPoE establishment protocol.

padrs

PPPoE Active Discovery Request packets.

ppp

Point-to-Point Protocol packets.

router solicitations

Number of router solicitations sent or received.

Router solicitations are sent to prompt all on-link routers to send it router advertisements.

router advertisements

Number of router advertisements sent or received.

route solicit response packet

Number of router solicitation responses sent or received.

Sample Output

The following examples displays packet statistics accumulated for DHCP, hybrid access, and PPPoE since the last time the session manager was cleared.

show system subscriber-management statistics all

content_copy zoom_out_map
user@host> show system subscriber-management statistics all
  user@host> show system subscriber-management statistics all 
Session Manager started @ Tue Nov  3 10:00:57 2015
Session Manager cleared @ Tue Nov  3 11:10:01 2015
--------------------------------------------------------------
                     Packet Statistics
--------------------------------------------------------------
I/O Statistics:
--------------------------------------------------------------
    Rx Statistics
        packets                          : 784711
    Tx Statistics
        packets                          : 7013122
  Layer 3 Statistics
    Rx Statistics
        packets                          : 356218
    Tx Statistics
        packets                          : 6604660

DHCP Statistics:
--------------------------------------------------------------
    Rx Statistics
        packets                          : 320008
        ERA discards                     : 6274                     
    Tx Statistics
        transmit request packets         : 320482
        sent packets                     : 320482
    Error Statistics
    Connection Statistics
        no connection packets            : 0

PPPoE Statistics:
--------------------------------------------------------------
    Rx Statistics
        packets                          : 486165
        padis                            : 36768
        padrs                            : 35421
        ppp packets                      : 341787
        ERA discards                     : 8249                     
    Tx Statistics
        packets                          : 70842
        send failures                    : 6240

show system subscriber-management statistics dhcp

content_copy zoom_out_map
user@host> show system subscriber-management statistics dhcp
Session Manager started @ Tue Nov  3 10:00:57 2015
Session Manager cleared @ Tue Nov  3 11:10:01 2015
--------------------------------------------------------------
                     Packet Statistics
--------------------------------------------------------------
I/O Statistics:
--------------------------------------------------------------
    Rx Statistics
        packets                          : 784711
    Tx Statistics
        packets                          : 7013122
  Layer 3 Statistics
    Rx Statistics
        packets                          : 356218
    Tx Statistics
        packets                          : 6604660

DHCP Statistics:
--------------------------------------------------------------
    Rx Statistics
        packets                          : 320008
        ERA discards                     : 6274                        
    Tx Statistics
        transmit request packets         : 320482
        sent packets                     : 320482
    Error Statistics
    Connection Statistics
        no connection packets            : 0

show system subscriber-management statistics dhcp extensive

content_copy zoom_out_map
user@host> show system subscriber-management statistics dhcp extensive              
Session Manager started @ Mon Dec  6 06:14:27 2021
Session Manager cleared @ Mon Dec  6 06:14:27 2021
--------------------------------------------------------------
                     Packet Statistics 
--------------------------------------------------------------
I/O Statistics:
--------------------------------------------------------------
    Rx Statistics
        packets                          : 7986
    Tx Statistics
        packets                          : 15
          l2 inject                      : 15
          l3 inject                      : 0
    Buffer Statistics
        allocations                      : 7990
        frees                            : 7990
        allocation failures              : 0
  Layer 3 Statistics
    Rx Statistics
        packets                          : 29
    Tx Statistics
        packets                          : 15
    PFE Event Statistics
        packets                          : 7957
--------------------------------------------------------------
Enhanced I/O Statistics:
--------------------------------------------------------------
    bbe_io_rcv l2                        : 0
    bbe_io_rcv l3                        : 29
    bbe_io_rcv l3 v4                     : 17
    bbe_io_rcv l3 v6                     : 12
    bbe_io_rcv l3 unspec                 : 0
    bbe_io_rcv l3 unknown af             : 0
    bbe_io_rcv routed                    : 0
    bbe_io_rcv routed_v4                 : 0
    bbe_io_rcv routed_v6                 : 0
    bbe_io_rcv routed_no_route           : 0
    bbe_io_rcv routed_default            : 0
    bbe_io_rcv resolve v4                : 0
    bbe_io_rcv resolve v6                : 0
    bbe_io_rcv resolve default           : 0
    bbe_io_rcv pfe event                 : 0
    bbe_io_rcv default                   : 0
    ----------------------------------------------------------
    rx inet                              : 17
    rx inet6                             : 12
    rx inet6 icmp6                       : 2
    rx inet igmp                         : 0
    rx inet gre                          : 0
    rx inet agf                          : 0
    rx inet icmp                         : 0
    rx inet udp v4                       : 17
    rx inet udp v6                       : 10
          rx inet udp l2tp               : 0
          rx inet udp jdhcp v4           : 17
          rx inet udp jdhcp v6           : 10
          rx inet udp bfd v4             : 0
          rx inet udp bfd v6             : 0
    rx inet tcp proxy v4                 : 0
    rx inet tcp proxy v6                 : 0
    rx v4 ip frag reassm proc cnt        : 0
    rx v4 ip frag reassm pkt cnt         : 0
    rx v4 ip frag reassm alloc cntx cnt  : 0
    rx v4 ip frag reassm free cntx cnt   : 0
    tx l3 forward                        : 15
    tx udp v4                            : 5
    tx udp v6                            : 6
    tx tcp proxy client v4               : 0
    tx tcp proxy client v4 error         : 0
    tx tcp proxy v4 drop                 : 0
    tx tcp proxy v6 drop                 : 0
    tx igmp                              : 0
    tx v6 l3 route forwards              : 0
    tx v6 l3 route drops                 : 0
    tx v6 kernel forwards                : 0
    tx v6 kernel forward drops           : 0
    tx v6 l2 forwards                    : 10
    tx v6 l2 drops                       : 0
    tx v4 l3 route forwards              : 0
    tx v4 l3 route drops                 : 0
    tx v4 kernel forwards                : 0
    tx v4 kernel forward drops           : 0
    tx v4 l2 forwards                    : 5
    tx v4 l2 drops                       : 0
    tx v4 ip fragment forward            : 0
    tx v4 ip fragment DF drops           : 0
    tx v4 ip fragment drops              : 0
    tx v4 ip fragment failed             : 0
    bbe_ifl_output tx failed             : 0
    bbe_io_send tx failed                : 0
    bbe_io_send tx partial failed        : 0
    io_queue low_prio_packets_dropped    : 0
    io_queue mlow_prio_packets_dropped   : 0
    io_queue med_prio_packets_dropped    : 0
    io_queue high_prio_packets_dropped   : 0
--------------------------------------------------------------
DHCP Statistics:
--------------------------------------------------------------
    Rx Statistics
        packets                          : 27
    Tx Statistics
        transmit request packets         : 11
        sent packets                     : 11
    DHCPv4 Rx Statistics
        total packets                    : 17
        boot request                     : 15
        boot reply                       : 2
        discover                         : 11
        offer                            : 1
        request                          : 3
        ack                              : 1
        release                          : 1
    DHCPv4 Tx Statistics
        total packets                    : 5
        boot reply                       : 5
        offer                            : 2
        ack                              : 3
    DHCPv6 Rx Statistics
        total packets                    : 10
        solicit                          : 4
        advertise                        : 1
        request                          : 2
        reply                            : 1
        renew                            : 1
        release                          : 1
        relay repl                       : 2
    DHCPv6 Tx Statistics
        total packets                    : 6
        advertise                        : 2
        reply                            : 4
    Error Statistics
    Connection Statistics
        no connection packets            : 0
        connection down events           : 1
        connection up events             : 2
        flow control invoked             : 0
        flow control released            : 0
        packets sent to daemon           : 27
        packets received from daemon     : 11
        messages sent to daemon          : 0
        messages received from daemon    : 1481
        notifies while not connected     : 0
NET Statistics:
--------------------------------------------------------------
  ICMP6 Statistics
    Rx Statistics
        packets:                         : 2
        neighbor advertisements          : 2
    Tx Statistics
        packets:                         : 4
        neighbor solicitations           : 4
Management Statistics:
--------------------------------------------------------------
    ipdemux                              : 4
    ipdemux add                          : 4
    ipdemux delete                       : 2
    ifl flow                             : 7
    ifl flow adds                        : 6
    ifl flow changes                     : 1
    ifl flow deletes                     : 3
    ip flow                              : 9
    ip flow add                          : 6
    ip flow delete                       : 3
    service                              : 27
    service adds                         : 24
    service deletes                      : 3
Management Config Status:
--------------------------------------------------------------
    gres state enabled state             : 0
    shmlog disabled state                : 0
    shmlog filtering state               : 0
    vc backup member local switch state  : 0
    dscp code point value                : 0x30

show system subscriber-management statistics pppoe

content_copy zoom_out_map
user@host> show system subscriber-management statistics pppoe
Session Manager started @ Tue Nov  3 10:00:57 2015
Session Manager cleared @ Tue Nov  3 11:10:01 2015
--------------------------------------------------------------
                     Packet Statistics
--------------------------------------------------------------
I/O Statistics:
--------------------------------------------------------------
    Rx Statistics
        packets                          : 784711
    Tx Statistics
        packets                          : 7013122
  Layer 3 Statistics
    Rx Statistics
        packets                          : 356218
    Tx Statistics
        packets                          : 6604660

PPPoE Statistics:
--------------------------------------------------------------
    Rx Statistics
        packets                          : 486165
        padis                            : 36768
        padrs                            : 35421
        ppp packets                      : 341787
        ERA discards                     : 8249                    
    Tx Statistics
        packets                          : 70842
        send failures                    : 6240

show system subscriber-management statistics extensive

content_copy zoom_out_map
user@host> show system subscriber-management statistics extensive
Session Manager started @ Tue Nov  3 10:00:57 2015
Session Manager cleared @ Tue Nov  3 11:10:01 2015
--------------------------------------------------------------
                     Packet Statistics
--------------------------------------------------------------
I/O Statistics:
--------------------------------------------------------------
    Rx Statistics
        packets                          : 784711
    Tx Statistics
        packets                          : 7013122
    Buffer Statistics
        allocations                      : 7032618
        frees                            : 7032624
        allocation failures              : 0
  Layer 3 Statistics
    Rx Statistics
        packets                          : 356218
    Tx Statistics
        packets                          : 6604660
    PFE Event Statistics
        packets                          : 0

--------------------------------------------------------------
Enhanced I/O Statistics:
--------------------------------------------------------------
    bbe_io_rcv l2                        : 0
    bbe_io_rcv l3                        : 0
    bbe_io_rcv l3 v4                     : 0
   
    io low queue drops                   :12
    io mlow queue drops                  :0
    io medium queue drops                :0
    io high queue drops                  :0

show system subscriber-management statistics ppp (LCP Vendor-Specific Counters)

content_copy zoom_out_map
user@host> show system subscriber-management statistics ppp
Session Manager started @ Thu Feb 11 00:37:43 2020
Session Manager cleared @ Thu Feb 11 00:37:43 2020
--------------------------------------------------------------
                     Packet Statistics
--------------------------------------------------------------
I/O Statistics:
--------------------------------------------------------------
    Rx Statistics
        packets                          : 486783
    Tx Statistics
        packets                          : 144
  Layer 3 Statistics
    Rx Statistics
        packets                          : 8
    Tx Statistics
        packets                          : 0
PPP Statistics:
--------------------------------------------------------------
    Rx Statistics
        network packets                  : 123
        plugin packets                   : 123
        lcp config requests              : 18
        lcp config acks                  : 18
        lcp conf nacks                   : 8
        lcp conf rejects                 : 6
        lcp termination requests         : 4
        lcp termination acks             : 13
        lcp code rejects                    : 2
        lcp vendor-specific acks       : 10
        pap requests                     : 8
        ipcp requests                    : 27
        ipcp acks                        : 9
        ipv6cp requests                  : 11
        ipv6cp acks                      : 1
    Tx Statistics
        packets                          : 101
        lcp config requests              : 32
        lcp config acks                  : 18
        lcp termination requests         : 13
        lcp termination acks             : 4
        lcp vendor-specific requests   : 10
        pap acks                         : 8
        ipcp requests                    : 9
        ipcp acks                        : 5
        ipcp nacks                       : 9
        ipv6cp requests                  : 1
        ipv6cp acks                      : 1
        ipv6cp nacks                     : 1
NET Statistics:
--------------------------------------------------------------
  ICMP6 Statistics
    Rx Statistics
        packets:                         : 8
        router solicitations             : 8
    Tx Statistics
        packets:                         : 0

Release Information

Command introduced in Junos OS Release 15.1R3.

Enhanced I/O Statistics introduced as part of Extensive output in Junos OS Release 15.1R4 on MX Series routers for enhanced subscriber management.

footer-navigation