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
Junos CLI Reference
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 subscribers summary

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show subscribers summary
<all>
<detail | extensive | terse>
<count>
<physical-interface physical-interface-name>
<logical-system logical-system pic | port | routing-instance routing-instance | slot> 
<sub-system (agf | bng)>

Description

Display summary information for subscribers.

Options

none

Display summary information by state and client type for all subscribers.

all

(Optional) Display summary information by state, client type, and logical system and routing instance (LS:RI).

detail | extensive | terse

(Not supported on MX Series routers) (Optional) Display the specified level of output.

count

(Not supported on MX Series routers) (Optional) Display the count of total subscribers and active subscribers for any specified option.

logical-system logical-system

(Optional) Display subscribers whose logical system matches the specified logical system.

physical-interface physical-interface-name

(M120, M320, and MX Series routers only) (Optional) Display the count of subscribers whose physical interface matches the specified physical interface, by subscriber state, client type, and LS:RI.

pic

(M120, M320, and MX Series routers only) (Optional) Display the count of subscribers by PIC number and the total number of subscribers.

port

(M120, M320, and MX Series routers only) (Optional) Display the count of subscribers by port number and the total number of subscribers.

routing-instance routing-instance

(Optional) Display subscribers whose routing instance matches the specified routing instance.

slot

(M120, M320, and MX Series routers only) (Optional) Display the count of subscribers by Flexible PIC Concentrator (FPC) slot number and the total number of subscribers.

sub-system (agf | bng) (Optional) Display a count of subscribers using either the Access Gateway Function (AGF) or broadband network gateway (BNG) services.
Note:

The subsystem option is only available when both the AGF and BNG subscribers are logged into the router at the same time.

Note:

Because of display limitation, the logical system and routing instance output values are truncated when necessary.

Starting from Junos OS 20.4R1 release, you need a license to use the Extensible Subscribers Services Manager (ESSM) feature.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show subscribers summary command. Output fields are listed in the approximate order in which they appear.

Table 1: show subscribers summary Output Fields

Field Name

Field Description

Level of Output

Subscribers by State

Number of subscribers summarized by state. The summary includes the following information:

  • Init—Number of subscribers currently in the initialization state.

  • Configured—Number of configured subscribers.

  • Active—Number of active subscribers.

  • Terminating—Number of subscribers currently terminating.

  • Terminated—Number of terminated subscribers.

  • Total—Total number of subscribers for all states.

detail none

Subscribers by Client Type

Number of subscribers summarized by client type. Client types can include DHCP, GRE, L2TP, PPP, PPPoE, STATIC-INTERFACE, VLAN, and VLAN-OOB. This field also displays the total number of subscribers for all client types (Total).

detailextensive none

Subscribers by LS:RI

Number of subscribers summarized by logical system:routing instance (LS:RI) combination. This field also displays the total number of subscribers for all the LS:RI combinations (Total).

detail none

Subscribers by Connection Type

Number of subscribers summarized by connection type, Cross-connected or Terminated.

extensive

Subscribers by Sub-System

Number of subscribers on the subsystem—AGF or BNG as well as the total number of subscriber.

All levels

Interface

Interface associated with the subscriber. The router or the switch displays subscribers whose interface matches or begins with the specified interface.

The asterisk (*) indicates a continuation of addresses for the same session.

For aggregated Ethernet interfaces, the output of the summary (pic | port | slot) options prefixes the interface name with ae0:.

For pseudowire IFDs, this field displays both the pseudowire and the associated logical tunnel (LT) and the redundant logical tunnel (RLT) anchor interface. For example:

ps0: lt-2/1/0
ps1: rlt0: lt-4/0/0

All levels

Count

Count of subscribers displayed for each PIC, port, or slot when those options are specified with the summary option. For an aggregated Ethernet configuration, the total subscriber count does not equal the sum of the individual PIC, port, or slot counts, because each subscriber can be in more than one aggregated Ethernet link.

Multiple pseudowire interfaces can share a given logical tunnel or redundant logical tunnel anchor interface. Starting in Junos OS Release 18.1R1, the field displays subscribers per individual pseudowire interface.

In earlier releases, the field displays the same number of subscribers for all the pseudowire interfaces that share the same tunnel interface as their anchor point.

detailextensive none

Total Subscribers

Total number of subscribers for all physical interfaces, all PICs, all ports, or all LS:RI slots.

detailextensive none

IP Address/VLAN ID

Subscriber IP address or VLAN ID associated with the subscriber in the form tpid.vlan-id

terse

User Name

Name of the subscriber.

terse

LS:RI

Logical system and routing instance associated with the subscriber.

terse

Sample Output

show subscribers summary

content_copy zoom_out_map
user@host> show subscribers summary

Subscribers by State
   Active: 52194
   Total: 52194

Subscribers by Client Type
   DHCP: 10000
   VLAN: 15997
   VLAN-OOB: 3600
   PPPoE: 15998
   ESSM: 6599
   Total: 52194

show subscribers summary all

content_copy zoom_out_map
user@host> show subscribers summary all
Subscribers by State
	Init		   		  3
	Configured	   	  2
	Active 			 	183
	Terminating   		  2
	Terminated	   	  1

	TOTAL   		    	191

Subscribers by Client Type
	DHCP		 			107
	PPP	   	 	 	 76
	VLAN	 	   		  8

	TOTAL       		191

Subscribers by LS:RI
	default:default	  1
	default:ri1		 	 28
	default:ri2		 	 16
	ls1:default			 22
	ls1:riA				 38
	ls1:riB				 44
	logsysX:routinstY	 42

	TOTAL					191

show subscribers summary physical-interface

content_copy zoom_out_map
user@host> show subscribers summary physical-interface ge-1/0/0
Subscribers by State
   Active: 3998
   Total: 3998

Subscribers by Client Type
   DHCP: 3998
   Total: 3998

Subscribers by LS:RI
   default:default: 3998
   Total: 3998

show subscribers summary physical-interface pic

content_copy zoom_out_map
user@host> show subscribers summary physical-interface ge-0/2/0 pic
Subscribers by State
   Active: 4825
   Total: 4825

Subscribers by Client Type
   DHCP: 4825
   Total: 4825

Subscribers by LS:RI
   default:default: 4825
   Total: 4825

show subscribers summary physical-interface port

content_copy zoom_out_map
user@host> show subscribers summary physical-interface ge-0/3/0 port
Subscribers by State
   Active: 4825
   Total: 4825

Subscribers by Client Type
   DHCP: 4825
   Total: 4825

Subscribers by LS:RI
   default:default: 4825
   Total: 4825

show subscribers summary physical-interface slot

content_copy zoom_out_map
user@host> show subscribers summary physical-interface ge-2/0/0 slot
Subscribers by State
   Active: 4825
   Total: 4825

Subscribers by Client Type
   DHCP: 4825
   Total: 4825

Subscribers by LS:RI
   default:default: 4825
   Total: 4825

show subscribers summary pic

content_copy zoom_out_map
user@host> show subscribers summary pic
Interface           Count
ge-1/0              1000
ge-1/3              1000

Total Subscribers: 2000

show subscribers summary pic (Aggregated Ethernet Interfaces)

content_copy zoom_out_map
user@host> show subscribers summary pic
Interface           Count
ae0: ge-1/0         801
ae0: ge-1/3         801

Total Subscribers: 801

show subscribers summary port

content_copy zoom_out_map
user@host> show subscribers summary port
Interface           Count
ge-5/0/1              201
ge-5/0/2              301

Total Subscribers: 502

show subscribers summary port (Pseudowire Interfaces)

content_copy zoom_out_map
user@host> show subscribers summary port
ps0: lt-2/1/0 10
ps1: lt-2/1/0 20

Total Subscribers: 30

show subscribers summary port extensive

content_copy zoom_out_map
user@host>show subscribers summary port extensive
Interface: xe-3/0/3
Port Count: 100
Detail:
Subscribers by Client Type
   PPPoE: 1
   ESSM: 99
Subscribers by Connection Type
   Terminated: 1

Interface: xe-3/1/3
Port Count: 3100
Detail:
Subscribers by Client Type
   PPPoE: 1600
   ESSM: 1100
   VLAN-OOB: 400
Subscribers by Connection Type
   Tunneled: 500
   Terminated: 1100
   Cross-connected: 400

Total Subscribers: 26197

show subscribers summary slot

content_copy zoom_out_map
user@host> show subscribers summary slot
Interface           Count
ge-1                2000

Total Subscribers: 2000

show subscribers summary terse

content_copy zoom_out_map
user@host> show subscribers summary terse
Interface       				IP Address/VLAN ID   User Name         LS:RI
ge-1/3/0.1073741824 		100                                    default:default
demux0.1073741824   		203.0.113.10         WHOLESALER-CLIENT default:default
demux0.1073741825   		203.0.113.13         RETAILER1-CLIENT  test1:retailer1
demux0.1073741826   		203.0.113.213        RETAILER2-CLIENT  test1:retailer2

show subscribers summary (agf)

content_copy zoom_out_map
user@host> show subscribers summary
Subscribers by Sub-System
   AGF: 3000
   BNG: 0
   Total: 3000

Subscribers by State
   Active: 4000
   Total: 4000

Subscribers by Client Type
   VLAN: 1000
   PPPoE: 3000
   Total: 4000

show subscribers summary sub-system agf

content_copy zoom_out_map
user@host> show subscribers summary sub-system agf
AGF Subscribers by State
    Init:     3
    Active:  12
    Total:   15

AGF Subscribers by Client Type
     DHCP:           2
     PPPOE:          5
     PPPOE-5G        5 
     TOTAL          12

Release Information

Command introduced in Junos OS Release 10.2.

sub-system added in Junos OS Release 22.3R1.

footer-navigation