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 services cos statistics (Next Gen Services)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show services cos statistics     
 <brief | detail | extensive>
<diffserv | forwarding-class>
<interface interface-name>
<service-set service-set-name>
<summary>

Description

Display the mapping of class-of-service (CoS) code point aliases to corresponding bit patterns and the mapping of forwarding class names to queue numbers as configured in CoS services for Next Gen Services services PICs.

Options

none

Display all services CoS statistics.

brief | detail | extensive

(Optional) Display the specified level of output.

diffserv | forwarding-class

(Optional) Display only the selected information, either DiffServ codepoints or forwarding classes.

interface interface-name

(Optional) Display statistics for the specified interface only.

service-set service-set-name

(Optional) Display statistics for the specified service set only.

summary

(Optional) Display summary of statistics on a per-interface basis.

Required Privilege Level

view

Output Fields

Table 1 describes the output fields for the show services cos statistics command. Output fields are listed in the approximate order in which they appear.

Table 1: show services cos statistics Output Fields

Field Name

Field Description

Level of Output

Interface

Name of interface.

All levels

Service set

Name of service set.

All levels

DSCP

DiffServ code point bit pattern.

All levels

Packets in

Number of packets received.

All levels

Packets out

Number of packets transmitted.

All levels

Forwarding class

Forwarding class queue number.

All levels

Sample Output

show services cos statistics

content_copy zoom_out_map
user@host> show services cos statistics details
Interface: vms-0/2/0, Service set: ss1
DSCP                Packets in           Packets out
DSCP               Packets in           Packets out
000000                      0                     0
000001                      0                     0
000010                      0                     0
000011                      0                     0
000100                      0                     0
000101                      0                     0
000110                      0                     0
000111                      0                     0
001000                      0                     0
001001                      0                     0
001010                      0                     0
001011                      0                     0
001100                      0                     0
001101                      0                     0
001110                      0                     0
001111                      0                     0
010000                      0                     0
010001                      0                     0
010010                      0                     0
010011                      0                     0
010100                      0                     0
010101                      0                     0
010110                      0                     0
010111                      0                     0
011000                      0                     0
011001                      0                     0
011010                      0                     0
011011                      0                     0
011100                      0                     0
011101                      0                     0
011110                      0                     0
011111                      0                     0
100000                      0                     0
100001                      0                     0
100010                      0                     0
100011                      0                     0
100100                      0                     0
100101                      0                     0
100110                      0                     0
100111                      0                     0
101000                      0                     0
101001                      0                     0
101010                      0                     0
101011                      0                     0
101100                      0                     0
101101                      0                     0
101110                      0                     0
101111                      0                     0
110000                      0                     0
110001                      0                     0
110010                      0                     0
110011                      0                     0
110100                      0                     0
110101                      0                     0
110110                      0                     0
110111                      0                     0
111000                      0                     0
111001                      0                     0
111010                      0                     0
111011                      0                     0
111100                      0                     0
111101                      0                     0
111110                      0                     0
111111                      0                     0
Forwarding class           Packets in           Packets out
0                                   0                     0
1                                   0                     0
2                                   0                     0
3                                   0                     0
4                                   0                     0
5                                   0                     0
6                                   0                     0
7                                   0                     0
8                                   0                     0
9                                   0                     0
10                                  0                     0
11                                  0                     0
12                                  0                     0
13                                  0                     0
14                                  0                     0
15                                  0                     0

show services cos statistics brief

The output for the show services cos statistics brief command is identical to that for the show services cos statistics command.

show services cos statistics detail

The output for the show services cos statistics detail command is identical to that for the show services cos statistics command.

show services cos statistics extensive

The output for the show services cos statistics extensive command is identical to that for the show services cos statistics command.

Release Information

Support added in Junos OS Release 19.3R2 for Next Gen Services on MX Series routers MX240, MX480 and MX960 with the MX-SPC3 services card.

footer-navigation