Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show interfaces source-class



Display information about interfaces grouped by source class.



Display information about all configured source classes.


Name of a logical grouping of prefixes that count packets having the source address matching those prefixes.


Name of a logical interface.

Additional Information

For interfaces that carry IPv4, IPv6, or Multiprotocol Label Switching (MPLS) traffic, you can maintain packet counts based on the entry and exit points for traffic passing through your network. Entry and exit points are identified by source and destination prefixes grouped into sets defined as source classes and destination classes. For more information, see the Junos OS Network Interfaces Library for Routing Devices.

Required Privilege Level


Output Fields

Table 1 lists the output fields for the show interfaces source-class command. Output fields are listed in the approximate order in which they appear.

Table 1: show interfaces source-class Output Fields

Field Name

Field Description

Logical interface

Name of the logical interface.

Source class

Source class usage (SCU) counters per class for this interface.


Packets going to designated user-selected prefixes.


Bytes going to designated user-selected prefixes.

Sample Output

show interfaces source-class all

Release Information

Command introduced before Junos OS Release 7.4.

all option introduced in Junos OS Release 8.0.