Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show services cos statistics

    Syntax

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

    Release Information

    Command introduced in Junos OS Release 8.1.

    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 the AS PIC.

    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

    List of Sample Output

    show services cos statistics
    show services cos statistics brief
    show services cos statistics detail
    show services cos statistics extensive

    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

    user@host> show services cos statistics
    Interface: sp-1/0/0, Service set: scos
    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.

    Published: 2013-03-14