Class of Service


Table 13.9. Class-of-Service Monitoring Commands
Information to Monitor Command Example
Interface queue information show interfaces queue
 user@host>  show interfaces queue so-0/2/3 forwarding-class expedited-forwarding  Physical interface: so-0/2/3, Enabled, Physical link is Up   Interface index: 32, SNMP ifIndex: 60 Forwarding Class: expedited-forwarding, Queue: 1   Queued:     Packets              :                     0                     0 pps     Bytes                :                     0                     0 bps   Transmitted:     Packets              :                     0                     0 pps     Bytes                :                     0                     0 bps     Tail-dropped packets :                     0                     0 pps     RED-dropped packets  :                     0                     0 pps      Low, non-TCP        :                     0                     0 pps      Low, TCP            :                     0                     0 pps      High, non-TCP       :                     0                     0 pps      High, TCP           :                     0                     0 pps     RED-dropped bytes    :                     0                     0 bps      Low, non-TCP        :                     0                     0 bps      Low, TCP            :                     0                     0 bps      High, non-TCP       :                     0                     0 bps      High, TCP           :                     0                     0 bps 
Queue statistics summary per interface show interfaces extensive
 user@host>  show interfaces extensive ge-0/0/0  Physical interface: ge-0/0/0, Enabled, Physical link is Up ...  Queue counters:       Queued packets  Transmitted packets      Dropped packets    0 best-effort                  103                  103                    0    1 expedited-fo           616679163            588733189                    0    2 assured-forw          2648825387           2528227577            120446880    3 network-cont            27284126             26134172              1149954 ...   PFE configuration:     Destination slot: 0, PLP byte: 1 (0x00)     CoS transmit queue          Bandwidth          Buffer     Priority   Limit                               %          bps   %        bytes     0 best-effort            95            0  95            0      low    none     1 expedited-forwarding    0            0   0            0      low    none     2 assured-forwarding      0            0   0            0      low    none     3 network-control         5            0   5            0      low    none 
Complete CoS configuration show class-of-service
 user@host> show class-of-service class-of-service { ... } 
Mapping of code-point value to forwarding class and loss priority show class-of-service classifier
 user@host>  show class-of-service lassifier type ieee-802.1  Classifier: ieee802.1-default, Code point type: ieee-802.1, Index: 3 Code Point         Forwarding Class                  Loss priority   000              best-effort                         low   001              best-effort                     high   010              expedited-forwarding                low   011              expedited-forwarding                high   100              assured-forwarding                  low   101              assured-forwarding                  high   110              network-control                     low   111              network-control                 high Classifier: users-ieee802.1, Code point type: ieee-802.1   Code point         Forwarding class                    Loss priority   100                expedited-forwarding                low 
Code-point aliases show class-of-service code-point-aliases
 user@host>  show class-of-service code-point-aliases exp  Code point type: exp   Alias              Bit pattern   af11               100   af12               101   be                 000   be1                001   cs6                110   cs7                111   ef                 010   ef1                011   nc1                110   nc2                111 
Random Early Detection (RED) profiles show class-of-service drop-profile
 user@host>  show class-of-service drop-profile  Drop profile: <default-drop-profile>, Type: discrete, Index: 1   Fill level    Drop probability          100                 100 Drop profile: user-drop-profile, Type: interpolated, Index: 2989   Fill level    Drop probability            0                   0            1                   1            2                   2            4                   4            5                   5            6                   6            8                   8           10                  10           12                  15           14                  20           15                  23           ... 64 entries total ... 
Forwarding class to queue mapping show class-of-service forwarding-class
 user@host>  show class-of-service forwarding-class  Forwarding class                    Queue   my-forwarding-class                   0   his-forwarding-class                  1   her-forwarding-class                  2   the-forwarding-class                  3 
CoS configuration on interfaces show class-of-service interface
 user@host>  show class-of-service interface so-0/2/3  Physical interface: so-0/2/3, c: 32   Scheduler map: my-scheduler-map, Index: 17638   Logical interface: so-0/2/3.0, Index: 15    Object         Name                   Type                Index    Rewrite        my-dscp-rewrite        dscp                 3753    Classifier     my-dscp-classifier     dscp                62436 
Rewrite rules show class-of-service rewrite-rule
 user@host>  show class-of-service rewrite-rule type dscp  Rewrite rule: dscp-default, Code point type: dscp   Forwarding class                    Loss priority       Code point   gold                                high                000000   silver                              low                 110000   silver                              high                111000   bronze                              low                 001010   bronze                              high                001100   lead                                high                101110 
Scheduler-to-forwarding-class mapping show class-of-service scheduler-map
 user@host>  show class-of-service scheduler-map  Scheduler map: dd-scheduler-map, Index: 84   Scheduler: aa-scheduler, Index: 8721, Forwarding class: aa-forwarding-class    Transmit rate: 30 percent, Rate Limit: none, Maximum buffer delay: 39 ms,    Priority: high    Drop profiles:     Loss priority   Protocol    Index    Name      Low            non-TCP     8724     aa-drop-profile      Low            TCP         9874     bb-drop-profile      High           non-TCP     8833     cc-drop-profile      High           TCP         8484     dd-drop-profile 
Classifiers show class-of-service forwarding-table classifier
 user@host>  show class-of-service forwarding-table classifier  Classifier table index: 62436, # entries: 64, Table type: DSCP Entry #   Code point   Queue #   PLP    0        000000       0        0    1        000001       0        0    2        000010       0        0    3        000011       0        0    4        000100       0        0    5        000101       0        0    6        000110       0        0    7        000111       0        0    8        001000       0        0    9        001001       0        0   10        001010       1        1   11        001011       0        0 ... 
Classifier information for logical interfaces show class-of-service forwarding-table classifier mapping
 user@host>  show class-of-service forwarding-table classifier mapping  Table index/ Interface      Index     Q num      Table type so-5/0/0.0        10     62436      DSCP so-0/1/0.0        11     62436      DSCP so-0/2/0.0        12         1      Fixed so-0/2/1.0        13     62436      DSCP so-0/2/1.0        13     62437      IEEE 802.1 so-0/2/2.0        14     62436      DSCP so-0/2/2.0        14     62438      IPv4 precedence 
Scheduler information for physical interfaces show class-of-service forwarding-table scheduler-map
 user@host>  show class-of-service forwarding-table scheduler-map  Interface: so-5/0/0 (Index: 9, Map index: 17638, Num of queues: 2):   Entry 0 (Scheduler index: 6090, Queue #: 0):     Tx rate: 0 Kb (30%), Max buffer delay: 39 bytes (0%)     High priority is set     PLP high: 25393, PLP low: 24627, TCP PLP high: 25393, TCP PLP low:8742     Policy is exact   Entry 1 (Scheduler index: 38372, Queue #: 1):     Traffic chunk: Max = 0 bytes, Min = 0 bytes     Tx rate: 0 Kb (40%), Max buffer delay: 68 bytes (0%)     High priority is set     PLP high: 25393, PLP low: 24627, TCP PLP high: 25393, TCP PLP low: 8742 ... 
Random Early Detection (RED) forwarding table profiles show class-of-service forwarding-table drop-profile
 user@host>  show class-of-service forwarding-table drop-profile  RED drop profile index: 4, # entries: 1                              Drop Entry      Fullness(%)   Probability(%)     0              100              100 RED drop profile index: 8742, # entries: 3                              Drop Entry      Fullness(%)   Probability(%)     0               10               10     1               20               20     2               30               30 ... 
Rewrite rules show class-of-service forwarding-table rewrite-rule
 user@host>  show class-of-service forwarding-table rewrite-rule  Rewrite table index: 3753, # entries: 4, Table type: DSCP Q#     Low bits  State      High bits  State  0      000111  Enabled      001010   Enabled  2      000000  Disabled     001100   Enabled  1      101110  Enabled      110111   Enabled  3      110000  Enabled      111000   Enabled 
Interface rewrite rules on logical interfaces show class-of-service forwarding-table rewrite-rule mapping
 user@host>  show class-of-service forwarding-table rewrite-rule mapping  Interface      Index   Table index  Type so-5/0/0.0        10       3753  DSCP so-0/1/0.0        11       3753  DSCP so-0/2/0.0        12       3753  DSCP so-0/2/1.0        13       3753  DSCP so-0/2/2.0        14       3753  DSCP so-0/2/3.0        15       3753  DSCP 


Juniper Networks Field Guide and Reference
Juniper Networks Field Guide and Reference
ISBN: 0321122445
EAN: 2147483647
Year: 2002
Pages: 185

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net