show interfaces source-class
Syntax
show interfaces source-class (all | destination-class-name logical-interface-name)
Description
Display information about interfaces grouped by source class.
Options
all | Display information about all configured source classes. |
source-class-name | Name of a logical grouping of prefixes that count packets having the source address matching those prefixes. |
interface-name | 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
view
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.
Field Name |
Field Description |
---|---|
Logical interface |
Name of the logical interface. |
Source class |
Source class usage (SCU) counters per class for this interface. |
Packets |
Packets going to designated user-selected prefixes. |
Bytes |
Bytes going to designated user-selected prefixes. |
Sample Output
show interfaces source-class all
user@host> show interfaces source-class all Logical interface .local..1 Logical interface .local..2 Logical interface fxp0.0 Logical interface fxp1.0 Logical interface lo0.16384 Logical interface lo0.16385 Logical interface lo0.0 Logical interface .local..3 Logical interface .local..4 Logical interface .local..5 Logical interface .local..6 Logical interface .local..7 Logical interface .local..8 Logical interface .local..9 Logical interface .local..10 Logical interface lo0.3 Logical interface pfh-0/0/0.16383 Logical interface fe-0/1/0.0 Logical interface fe-0/1/1.0 Protocol inet Packets Bytes Source class (packet-per-second) (bits-per-second) GOLD1 0 0 ( 0) ( 0) GOLD2 0 0 ( 0) ( 0) GOLD3 0 0 ( 0) ( 0) v4-src 0 0 ( 0) ( 0) Protocol inet6 Packets Bytes Source class (packet-per-second) (bits-per-second) GOLD1 0 0 ( 0) ( 0) GOLD2 0 0 ( 0) ( 0) GOLD3 0 0 ( 0) ( 0) v4-src 0 0 ( 0) ( 0) Logical interface fe-0/1/2.0 Description: CE1-to-PE2 Logical interface ge-0/3/0.0 Description: CE1-to-PE1 Logical interface ge-0/3/2.0 Description: CE2-to-PE1 Logical interface pc-0/3/0.16383 Logical interface lt-1/2/0.3 Description: LS3->LS2 Logical interface lt-1/2/0.5 Description: LS3->LS1 Logical interface sp-1/2/0.16383
Release Information
Command introduced before Junos OS Release 7.4.
all option introduced in Junos OS Release 8.0.