Date created: 08/22/16 10:26:33. Last modified: 03/28/18 17:04:49

6500/7600 QoS on LAN Cards (WS-X69xx & SUP2T)

References:
http://www.cisco.com/c/en/us/products/collateral/switches/catalyst-6500-series-switches/data_sheet_c78-648212.html
http://www.cisco.com/c/en/us/products/collateral/switches/catalyst-6500-series-switches/white_paper_c11-652042.html
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst6500/ios/15-1SY/config_guide/sup2T/15_1_sy_swcg_2T/qos_policy_based_queueing.html
http://www.cisco.com/c/en/us/products/collateral/interfaces-modules/catalyst-6500-series-supervisor-engine-2t/data_sheet_c78-648214.html
http://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/Video/qoscampuscat6500sup2taag.html#wp1053910

Contents:
Queues, Scheduling and Congestion Avoidance
Linecard Hardware Features
QoS Configuration Notes
Restrictions for Policy-Based Queueing
Threshold Configuration Guidelines and Restrictions

Queues, Scheduling and Congestion Avoidance:

The Ethernet port ASICs have buffers that are divided into a fixed number of queues. When congestion avoidance is enabled, PFC QoS uses the traffic's Layer 2 CoS value or, on some port types, the Layer 3 DSCP values, to assign traffic to the queues. The buffers and queues store frames temporarily as they transit the switch. PFC QoS allocates the port ASIC memory as buffers for each queue on each port.

The Ethernet ports support the following types of queues:

  • Nonpriority queues
  • Priority queues

 

The Ethernet ports support the following types of scheduling algorithms between queues:

  • Shaped round robin (SRR)—SRR allows a queue to use only the allocated bandwidth.
  • Deficit weighted round robin (DWRR)—DWRR keeps track of any lower-priority queue under-transmission caused by traffic in a higher-priority queue and compensates in the next round.
  • Weighted Round Robin (WRR)—WRR does not explicitly reserve bandwidth for the queues. Instead, the amount of bandwidth assigned to each queue is user configurable. The percentage or weight allocated to a queue defines the amount of bandwidth allocated to the queue.
  • Priority queueing—Strict priority queueing allows delay-sensitive data such as voice to be dequeued and sent before packets in other queues are dequeued, giving delay-sensitive data preferential treatment over other traffic. The switch services traffic in the strict-priority transmit queue before servicing the nonpriority queues. After transmitting a packet from a nonpriority queue, the switch checks for traffic in the strict-priority queue. If the switch detects traffic in the strict-priority queue, it suspends its service of the nonpriority queue and completes service of all traffic in the strict-priority queue before returning to the nonpriority queue.

 

The Ethernet ports provide congestion avoidance with these types of thresholds within a queue:

  • Weighted Random Early Detection (WRED)—On ports with WRED drop thresholds, frames with a given QoS label are admitted to the queue based on a random probability designed to avoid buffer congestion. The probability of a frame with a given QoS label being admitted to the queue or discarded depends on the weight and threshold assigned to that QoS label.
    • For example, if CoS 2 is assigned to queue 1, threshold 2, and the threshold 2 levels are 40 percent (low) and 80 percent (high), then frames with CoS 2 will not be dropped until queue 1 is at least 40 percent full. As the queue depth approaches 80 percent, frames with CoS 2 have an increasingly higher probability of being discarded rather than being admitted to the queue. Once the queue is over 80 percent full, all CoS 2 frames are dropped until the queue is less than 80 percent full. The frames the switch discards when the queue level is between the low and high thresholds are picked out at random, rather than on a per-flow basis or in a FIFO manner. This method works well with protocols such as TCP that can adjust to periodic packet drops by backing off and adjusting their transmission window size.
  • Tail-drop thresholds—On ports with tail-drop thresholds, frames with a given QoS label are admitted to the queue until the drop threshold associated with that QoS label is exceeded; subsequent frames of that QoS label are discarded until the threshold is no longer exceeded.
    • For example, if CoS 1 is assigned to queue 1, threshold 2, and the threshold 2 watermark is 60 percent, then frames with CoS 1 will not be dropped until queue 1 is 60 percent full. All subsequent CoS 1 frames will be dropped until the queue is less than 60 percent full. With some port types, you can configure the nonpriority receive queue to use both a tail-drop and a WRED-drop threshold by mapping a CoS value to the queue or to the queue and a threshold. The switch uses the tail-drop threshold for traffic carrying CoS values mapped only to the queue. The switch uses WRED-drop thresholds for traffic carrying CoS values mapped to the queue and a threshold. All LAN ports of the same type use the same drop-threshold configuration.

 

Note: You can enable DSCP-based queues and thresholds on 8q4t, 1p7q2t, and 1p7q4t ports, either in a queueing policy or with legacy interface commands.

Note: DSCP-based queueing is supported on 8q4t, 1p7q2t, and 1p7q4t ports. The Supervisor Engine 2T-10GE ports are 8q4t/1p7q4t with the platform qos 10g-only global configuration command configured. To configure DSCP-based queue mapping on Supervisor Engine 2T ports, you must enter shutdown interface configuration mode commands for the Supervisor Engine 2T Gigabit Ethernet ports, and then enter the platform qos 10g-only global configuration command, which disables the Gigabit Ethernet ports on the Supervisor Engine 2T.

 

Linecard Hardware Features:

WS-X6908-10G-2T (WS-X6908-10GE with WS-F6K-DFC4-E)

  • Oversubscription
    • 1:1
  • QoS Support:
    • Uniform, short pipe and pipe mode tunnel
  • Queues:
    • Receive: 8q4t
    • Transmit: 1p7q4t
  • Queuing mechanisms:
    • Class of Service (CoS) based queue mapping
    • Differentiated Service Code Point (DSCP) based queue mapping
  • Scheduler:
    • Deficit Weighted Round Robin (DWRR) ingress and egress
    • Shaped Round Robin (SRR) egress only
  • Congestion Avoidance:
    • Weighted Random Early Detection (WRED)
    • Tail-drop
  • Port buffers
    • 108MBs ingress
    • 90MBs egress
  • Strict Priority Queues:
    • Rx: No
    • Tx: Yes
  • Shaping: None

 

Information about the line card/port in its current state without having altered the default config:

interface TenGigabitEthernet1/1/1
 description xxxxxx
 no switchport
 mtu 9178
 ip address xxxxxx 255.255.255.252
 no ip redirects
 no ip unreachables
 ip router isis
 mpls ip
 bfd interval 100 min_rx 100 multiplier 3
 isis network point-to-point
 isis metric 10
 isis authentication mode md5
 isis authentication key-chain xxxxxx
 isis csnp-interval 10
 isis bfd

6500-SUP2T#show interfaces te1/1/1 capabilities
TenGigabitEthernet1/1/1
  Model:                 WS-X6908-10G
  Type:                  10Gbase-SR
  Speed:                 10000
  Duplex:                full
  Trunk encap. type:     802.1Q
  Trunk mode:            on,off,desirable,nonegotiate
  Channel:               yes
  Broadcast suppression: percentage(0-100)
  Flowcontrol:           rx-(off,on),tx-(off,on)
  Membership:            static
  Fast Start:            yes
  QOS scheduling:        rx-(8q4t), tx-(1p7q4t)
  QOS queueing mode:     rx-(cos,dscp), tx-(cos,dscp)
  CoS rewrite:           yes
  ToS rewrite:           yes
  Inline power:          no
  SPAN:                  source/destination
  UDLD                   yes
  Link Debounce:         yes
  Link Debounce Time:    yes
  Ports-in-ASIC (Sub-port ASIC) : 1-2 (1)
  Remote switch uplink:  no
  Port-Security:         yes
  Dot1x:                 yes


6500-SUP2T#show interfaces te1/1/1 capabilities | i ASIC
  Ports-in-ASIC (Sub-port ASIC) : 1-2 (1)
6500-SUP2T#show interfaces te1/1/2 capabilities | i ASIC
  Ports-in-ASIC (Sub-port ASIC) : 1-2 (2)
6500-SUP2T#show interfaces te1/1/3 capabilities | i ASIC
  Ports-in-ASIC (Sub-port ASIC) : 3-4 (3)
6500-SUP2T#show interfaces te1/1/4 capabilities | i ASIC
  Ports-in-ASIC (Sub-port ASIC) : 3-4 (4)
6500-SUP2T#show interfaces te1/1/5 capabilities | i ASIC
  Ports-in-ASIC (Sub-port ASIC) : 5-6 (5)
6500-SUP2T#show interfaces te1/1/6 capabilities | i ASIC
  Ports-in-ASIC (Sub-port ASIC) : 5-6 (6)
6500-SUP2T#show interfaces te1/1/7 capabilities | i ASIC
  Ports-in-ASIC (Sub-port ASIC) : 7-8 (7)
6500-SUP2T#show interfaces te1/1/8 capabilities | i ASIC
  Ports-in-ASIC (Sub-port ASIC) : 7-8 (8)


6500-SUP2T#show platform hardware asic-versions switch 1 slot 1
              ASIC Name       Version       Switch         Slot        Count
           EUREKA ( 88)     (  1.  3)            1            1            1
           LAMIRA ( 89)     (  3.  1)            1            1            1
      METRO_ARGOS ( 73)     (  4.  0)            1            1            4
    METRO_KRYPTON ( 72)     (  4.  0)            1            1            4
           MALFRA ( 96)     ( 16.  4)            1            1            2
              SSA ( 43)     (  9.  0)            1            1            4
     SANTA_MONICA (103)     (  1.  0)            1            1            1
           GANITA ( 85)     (  2.  0)            1            1            8
             R2D2 ( 69)     (  5.  0)            1            1            8


6500-SUP2T#show queueing interface te1/1/1 detailed
Interface TenGigabitEthernet1/1/1 queueing strategy:  Weighted Round-Robin

  Port QoS is enabled globally
  Queueing on Te1/1/1: Tx Enabled Rx Enabled

Trust boundary disabled

  Trust state: trust DSCP
  Trust state in queueing: trust COS
  Extend trust state: not trusted [COS = 0]
  Default COS is 0
    Queueing Mode In Tx direction: mode-cos
    Transmit queues [type = 1p7q4t]:
    Queue Id    Scheduling  Num of thresholds
    -----------------------------------------
       01         WRR                 04
       02         WRR                 04
       03         WRR                 04
       04         WRR                 04
       05         WRR                 04
       06         WRR                 04
       07         WRR                 04
       08         Priority            01

    WRR bandwidth ratios:  100[queue 1] 150[queue 2] 200[queue 3]   0[queue 4]   0[queue 5]   0[queue 6]   0[queue 7]
    queue-limit ratios:     50[queue 1]  20[queue 2]  15[queue 3]   0[queue 4]   0[queue 5]   0[queue 6]   0[queue 7]  15[Pri Queue]

    queue tail-drop-thresholds
    --------------------------
    1     70[1] 100[2] 100[3] 100[4]
    2     70[1] 100[2] 100[3] 100[4]
    3     100[1] 100[2] 100[3] 100[4]
    4     100[1] 100[2] 100[3] 100[4]
    5     100[1] 100[2] 100[3] 100[4]
    6     100[1] 100[2] 100[3] 100[4]
    7     100[1] 100[2] 100[3] 100[4]

    queue random-detect-min-thresholds
    ----------------------------------
      1    40[1] 70[2] 70[3] 70[4]
      2    40[1] 70[2] 70[3] 70[4]
      3    70[1] 70[2] 70[3] 70[4]
      4    100[1] 100[2] 100[3] 100[4]
      5    100[1] 100[2] 100[3] 100[4]
      6    100[1] 100[2] 100[3] 100[4]
      7    100[1] 100[2] 100[3] 100[4]

    queue random-detect-max-thresholds
    ----------------------------------
      1    70[1] 100[2] 100[3] 100[4]
      2    70[1] 100[2] 100[3] 100[4]
      3    100[1] 100[2] 100[3] 100[4]
      4    100[1] 100[2] 100[3] 100[4]
      5    100[1] 100[2] 100[3] 100[4]
      6    100[1] 100[2] 100[3] 100[4]
      7    100[1] 100[2] 100[3] 100[4]

    WRED disabled queues:      4  5  6  7

    queue thresh cos-map
    ---------------------------------------
    1     1      0
    1     2      1
    1     3
    1     4
    2     1      2
    2     2      3 4
    2     3
    2     4
    3     1      6 7
    3     2
    3     3
    3     4
    4     1
    4     2
    4     3
    4     4
    5     1
    5     2
    5     3
    5     4
    6     1
    6     2
    6     3
    6     4
    7     1
    7     2
    7     3
    7     4
    8     1      5


    queue thresh dscp-map
    ---------------------------------------
    1     1      0 1 2 3 4 5 6 7 8 9 11 13 15 16 17 19 21 23 25 27 29 31 33 39 41 42 43 44 45 47
    1     2
    1     3
    1     4
    2     1      14
    2     2      12
    2     3      10
    2     4
    3     1      22
    3     2      20
    3     3      18
    3     4
    4     1      24 30
    4     2      28
    4     3      26
    4     4
    5     1      32 34 35 36 37 38
    5     2
    5     3
    5     4
    6     1      48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
    6     2
    6     3
    6     4
    7     1
    7     2
    7     3
    7     4
    8     1      40 46

    Queueing Mode In Rx direction: mode-cos
    Receive queues [type = 8q4t]:
    Queue Id    Scheduling  Num of thresholds
    -----------------------------------------
       01         WRR                 04
       02         WRR                 04
       03         WRR                 04
       04         WRR                 04
       05         WRR                 04
       06         WRR                 04
       07         WRR                 04
       08         WRR                 04

    WRR bandwidth ratios:   10[queue 1]   0[queue 2]   0[queue 3]   0[queue 4]   0[queue 5]   0[queue 6]   0[queue 7]  90[queue 8]
    queue-limit ratios:     80[queue 1]   0[queue 2]   0[queue 3]   0[queue 4]   0[queue 5]   0[queue 6]   0[queue 7]  20[queue 8]

    queue tail-drop-thresholds
    --------------------------
    1     70[1] 80[2] 90[3] 100[4]
    2     100[1] 100[2] 100[3] 100[4]
    3     100[1] 100[2] 100[3] 100[4]
    4     100[1] 100[2] 100[3] 100[4]
    5     100[1] 100[2] 100[3] 100[4]
    6     100[1] 100[2] 100[3] 100[4]
    7     100[1] 100[2] 100[3] 100[4]
    8     100[1] 100[2] 100[3] 100[4]

    queue random-detect-min-thresholds
    ----------------------------------
      1    40[1] 40[2] 50[3] 50[4]
      2    100[1] 100[2] 100[3] 100[4]
      3    100[1] 100[2] 100[3] 100[4]
      4    100[1] 100[2] 100[3] 100[4]
      5    100[1] 100[2] 100[3] 100[4]
      6    100[1] 100[2] 100[3] 100[4]
      7    100[1] 100[2] 100[3] 100[4]
      8    100[1] 100[2] 100[3] 100[4]

    queue random-detect-max-thresholds
    ----------------------------------
      1    70[1] 80[2] 90[3] 100[4]
      2    100[1] 100[2] 100[3] 100[4]
      3    100[1] 100[2] 100[3] 100[4]
      4    100[1] 100[2] 100[3] 100[4]
      5    100[1] 100[2] 100[3] 100[4]
      6    100[1] 100[2] 100[3] 100[4]
      7    100[1] 100[2] 100[3] 100[4]
      8    100[1] 100[2] 100[3] 100[4]

    WRED disabled queues:      2  3  4  5  6  7  8

    queue thresh cos-map
    ---------------------------------------
    1     1      0 1
    1     2      2 3
    1     3      4
    1     4      6 7
    2     1
    2     2
    2     3
    2     4
    3     1
    3     2
    3     3
    3     4
    4     1
    4     2
    4     3
    4     4
    5     1
    5     2
    5     3
    5     4
    6     1
    6     2
    6     3
    6     4
    7     1
    7     2
    7     3
    7     4
    8     1      5
    8     2
    8     3
    8     4


    queue thresh dscp-map
    ---------------------------------------
    1     1      0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
    1     2
    1     3
    1     4
    2     1
    2     2
    2     3
    2     4
    3     1
    3     2
    3     3
    3     4
    4     1
    4     2
    4     3
    4     4
    5     1
    5     2
    5     3
    5     4
    6     1
    6     2
    6     3
    6     4
    7     1
    7     2
    7     3
    7     4
    8     1
    8     2
    8     3
    8     4


  Packets dropped on Transmit:
    BPDU packets:  0
    que           dropped        30-s bytes        peak bytes    5-mins avg bps          peak bps  [cos-map]
    ---------------------------------------------------------------------------------------------------

    1                   0                 0                 0                 0                 0   [0 1 ]
    2                   0                 0                 0                 0                 0   [2 3 4 ]
    3                   0                 0                 0                 0                 0   [6 7 ]
    8                   0                 0                 0                 0                 0   [5 ]

  Packets dropped on Receive:
    BPDU packets:  0
    que           dropped        30-s bytes        peak bytes    5-mins avg bps          peak bps  [cos-map]
    ----------------------------------------------------------------------------------------------------
    1                   0                 0                 0                 0                 0   [0 1 2 3 4 6 7 ]
    8                   0                 0                 0                 0                 0   [5 ]


6500-SUP2T#show counters interface Te1/1/1
64 bit counters:
 0.                      rxHCTotalPkts = 723037052086
 1.                      txHCTotalPkts = 872919607046
 2.                    rxHCUnicastPkts = 723002006219
 3.                    txHCUnicastPkts = 872879655321
 4.                  rxHCMulticastPkts = 34975495
 5.                  txHCMulticastPkts = 39951702
 6.                  rxHCBroadcastPkts = 65916
 7.                  txHCBroadcastPkts = 23
 8.                         rxHCOctets = 565638520817789
 9.                         txHCOctets = 878729010892538
10.                 rxTxHCPkts64Octets = 137048646104
11.            rxTxHCPkts65to127Octets = 400851668975
12.           rxTxHCPkts128to255Octets = 56669575035
13.           rxTxHCPkts256to511Octets = 10364688152
14.          rxTxHCpkts512to1023Octets = 32032198023
15.         rxTxHCpkts1024to1518Octets = 948446032558
16.                    txHCTrunkFrames = 0
17.                    rxHCTrunkFrames = 0
18.                     rxHCDropEvents = 0

32 bit counters:
 0.                   rxCRCAlignErrors = 4463
 1.                   rxUndersizedPkts = 0
 2.                    rxOversizedPkts = 4274828550
 3.                     rxFragmentPkts = 0
 4.                          rxJabbers = 2
 5.                       txCollisions = 0
 6.                         ifInErrors = 4465
 7.                        ifOutErrors = 0
 8.                       ifInDiscards = 9
 9.                  ifInUnknownProtos = 0
10.                      ifOutDiscards = 0
11.            txDelayExceededDiscards = 0
12.                              txCRC = 0
13.                         linkChange = 55
14.                   wrongEncapFrames = 0
All Port Counters
 1.                          InPackets = 723036623317
 2.                           InOctets = 565638237073024
 3.                        InUcastPkts = 723001577445
 4.                        InMcastPkts = 34975491
 5.                        InBcastPkts = 65916
 6.                         OutPackets = 872918969109
 7.                          OutOctets = 878728292798014
 8.                       OutUcastPkts = 872879017387
 9.                       OutMcastPkts = 39951699
10.                       OutBcastPkts = 23
11.                           AlignErr = 0
12.                             FCSErr = 4465
13.                            XmitErr = 0
14.                             RcvErr = 4465
15.                          UnderSize = 0
16.                          SingleCol = 0
17.                           MultiCol = 0
18.                            LateCol = 0
19.                       ExcessiveCol = 0
20.                       CarrierSense = 0
21.                              Runts = 0
22.                             Giants = 4274826925
23.                         InDiscards = 0
24.                        OutDiscards = 0
25.                           InErrors = 4465
26.                          OutErrors = 0
27.                    InUnknownProtos = 0
28.                              txCRC = 0
29.                      TrunkFramesTx = 0
30.                      TrunkFramesRx = 0
31.                         WrongEncap = 0
32.     Broadcast_suppression_discards = 0
33.     Multicast_suppression_discards = 0
34.       Unicast_suppression_discards = 0
35.                 rxTxHCPkts64Octets = 137048507658
36.            rxTxHCPkts65to127Octets = 400851485327
37.           rxTxHCPkts128to255Octets = 56669523496
38.           rxTxHCPkts256to511Octets = 10364676799
39.          rxTxHCpkts512to1023Octets = 32032184431
40.         rxTxHCpkts1024to1518Octets = 948445371128
41.                         DropEvents = 0
42.                     CRCAlignErrors = 4463
43.                     UndersizedPkts = 0
44.                      OversizedPkts = 4274826925
45.                       FragmentPkts = 0
46.                            Jabbers = 2
47.                         Collisions = 0
48.              DelayExceededDiscards = 0
49.                        bpduOutlost = 0
50.                        qos0Outlost = 0
51.                        qos1Outlost = 0
52.                        qos2Outlost = 0
53.                        qos3Outlost = 0
54.                        qos4Outlost = 0
55.                        qos5Outlost = 0
56.                        qos6Outlost = 0
57.                        qos7Outlost = 0
58.                        qos8Outlost = 0
59.                        qos9Outlost = 0
60.                       qos10Outlost = 0
61.                       qos11Outlost = 0
62.                       qos12Outlost = 0
63.                       qos13Outlost = 0
64.                       qos14Outlost = 0
65.                       qos15Outlost = 0
66.                       qos16Outlost = 0
67.                       qos17Outlost = 0
68.                       qos18Outlost = 0
69.                       qos19Outlost = 0
70.                       qos20Outlost = 0
71.                       qos21Outlost = 0
72.                       qos22Outlost = 0
73.                       qos23Outlost = 0
74.                       qos24Outlost = 0
75.                       qos25Outlost = 0
76.                       qos26Outlost = 0
77.                       qos27Outlost = 0
78.                       qos28Outlost = 0
79.                       qos29Outlost = 0
80.                       qos30Outlost = 0
81.                       qos31Outlost = 0
82.                    bpduCbicOutlost = 0
83.                    qos0CbicOutlost = 0
84.                    qos1CbicOutlost = 0
85.                    qos2CbicOutlost = 0
86.                    qos3CbicOutlost = 0
87.                         bpduInlost = 0
88.                         qos0Inlost = 0
89.                         qos1Inlost = 0
90.                         qos2Inlost = 0
91.                         qos3Inlost = 0
92.                         qos4Inlost = 0
93.                         qos5Inlost = 0
94.                         qos6Inlost = 0
95.                         qos7Inlost = 0
96.                         qos8Inlost = 0
97.                         qos9Inlost = 0
98.                        qos10Inlost = 0
99.                        qos11Inlost = 0
100.                        qos12Inlost = 0
101.                        qos13Inlost = 0
102.                        qos14Inlost = 0
103.                        qos15Inlost = 0
104.                        qos16Inlost = 0
105.                        qos17Inlost = 0
106.                        qos18Inlost = 0
107.                        qos19Inlost = 0
108.                        qos20Inlost = 0
109.                        qos21Inlost = 0
110.                        qos22Inlost = 0
111.                        qos23Inlost = 0
112.                        qos24Inlost = 0
113.                        qos25Inlost = 0
114.                        qos26Inlost = 0
115.                        qos27Inlost = 0
116.                        qos28Inlost = 0
117.                        qos29Inlost = 0
118.                        qos30Inlost = 0
119.                        qos31Inlost = 0
120.                         pqueInlost = 0
121.                           Overruns = 0
122.                           maxIndex = 0

6500-SUP2T#show platform qos switch 1 detailed
  QoS is enabled globally
  Port QoS is enabled globally
  QoS serial policing mode enabled globally
   Distributed Policing is Disabled
   Secondary PUPs are enabled
....
QoS 10g-only mode supported: Yes [Current mode: Off]

General information about this test system:

6500-SUP2T#show auto qos default
"auto qos default" is configured
 Earl qos Enabled port qos Enabled queueing-only No


6500-SUP2T#show platform hardware pfc mode PFC operating mode : PFC4 6500-SUP2T#show module switch 1 Switch Number: 1 Role: Virtual Switch Active ---------------------- ----------------------------- Mod Ports Card Type Model Serial No. --- ----- -------------------------------------- ------------------ ----------- 1 8 DCEF2T 8 port 10GE WS-X6908-10G XXXXXXXXXXX 5 5 Supervisor Engine 2T 10GE w/ CTS (Acti VS-SUP2T-10G XXXXXXXXXXX 8 48 CEF720 48 port 10/100/1000mb Ethernet WS-X6848-GE-TX XXXXXXXXXXX 9 24 CEF720 24 port 1000mb SFP WS-X6824-SFP XXXXXXXXXXX Mod MAC addresses Hw Fw Sw Status --- ---------------------------------- ------ ------------ ------------ ------- 1 885a.922a.ab58 to 885a.922a.ab5f 1.2 12.2(50r)SYL 15.1(1)SY1 Ok 5 0006.f614.cc72 to 0006.f614.cc79 1.5 12.2(50r)SYS 15.1(1)SY1 Ok 8 885a.922a.d5f0 to 885a.922a.d61f 1.0 12.2(18r)S1 15.1(1)SY1 Ok 9 c067.afb2.60a8 to c067.afb2.60bf 1.0 12.2(18r)S1 15.1(1)SY1 Ok Mod Sub-Module Model Serial Hw Status ---- --------------------------- ------------------ ----------- ------- ------- 1 Distributed Forwarding Card WS-F6K-DFC4-E XXXXXXXXXXX 1.0 Ok 5 Policy Feature Card 4 VS-F6K-PFC4 XXXXXXXXXXX 2.1 Ok 5 CPU Daughterboard VS-F6K-MSFC5 XXXXXXXXXXX 2.1 Ok 8 Distributed Forwarding Card WS-F6K-DFC4-A XXXXXXXXXXX 2.0 Ok 9 Distributed Forwarding Card WS-F6K-DFC4-A XXXXXXXXXXX 2.0 Ok Mod Online Diag Status ---- ------------------- 1 Pass 5 Pass 8 Pass 9 Pass 6500-SUP2T#show fabric switching-mode switch 1 Global switching mode is Compact dCEF mode is not enforced for system to operate Fabric module is not required for system to operate Modules are allowed to operate in bus mode Truncated mode is allowed, due to presence of DFC module Module Slot Switching Mode 1 dCEF 5 dCEF 8 dCEF 9 dCEF 6500-SUP2T#show platform hardware asic-versions switch 1 ASIC Name Version Switch Slot Count EUREKA ( 88) ( 1. 3) 1 1 1 LAMIRA ( 89) ( 3. 1) 1 1 1 METRO_ARGOS ( 73) ( 4. 0) 1 1 4 METRO_KRYPTON ( 72) ( 4. 0) 1 1 4 MALFRA ( 96) ( 16. 4) 1 1 2 SSA ( 43) ( 9. 0) 1 1 4 SANTA_MONICA (103) ( 1. 0) 1 1 1 GANITA ( 85) ( 2. 0) 1 1 8 R2D2 ( 69) ( 5. 0) 1 1 8 EUREKA ( 88) ( 1. 3) 1 5 1 LAMIRA ( 89) ( 3. 1) 1 5 1 KUMA ( 70) ( 3. 0) 1 5 1 METRO_ARGOS ( 73) ( 4. 0) 1 5 1 METRO_KRYPTON ( 72) ( 4. 0) 1 5 1 SSA ( 43) ( 9. 0) 1 5 2 SANTA_MONICA (103) ( 1. 0) 1 5 1 TELESTO ( 82) ( 8. 0) 1 5 1 KAILASH ( 83) ( 4. 0) 1 5 1 GANITA ( 85) ( 2. 0) 1 5 2 R2D2 ( 69) ( 5. 0) 1 5 2 ALKINDI ( 90) ( 4.127) 1 5 1 EUREKA ( 88) ( 1. 3) 1 8 1 LAMIRA ( 89) ( 3. 1) 1 8 1 JANUS ( 48) ( 1. 0) 1 8 2 SSA ( 43) ( 9. 0) 1 8 2 ROHINI ( 49) ( 1. 5) 1 8 4 EUREKA ( 88) ( 1. 3) 1 9 1 LAMIRA ( 89) ( 3. 1) 1 9 1 JANUS ( 48) ( 1. 0) 1 9 1 SSA ( 43) ( 9. 0) 1 9 1 ROHINI ( 49) ( 1. 5) 1 9 2 6500-SUP2T#show fabric utilization switch 1 slot channel speed Ingress % Egress % 1 0 40G 1 1 1 1 40G 0 0 5 0 20G 3 2 5 1 20G 0 0 8 0 20G 0 0 8 1 20G 0 0 9 0 20G 0 0 6500-SUP2T#show fabric drop switch 1 Polling interval for drop counters and timestamp is 15 in seconds Packets dropped by fabric for different queues: slot channel Low-Q-drops High-Q-drops 1 0 0 0 1 1 0 0 5 0 0 0 5 1 0 0 8 0 0 0 8 1 0 0 9 0 0 0 6500-SUP2T#show fabric errors switch 1 Module errors: slot channel crc hbeat sync DDR sync 1 0 0 0 0 0 1 1 0 0 0 0 5 0 0 0 0 0 5 1 0 0 0 0 8 0 0 0 0 0 8 1 0 0 0 0 9 0 0 0 0 0 Fabric errors: slot channel sync buffer timeout 1 0 0 0 0 1 1 0 0 0 5 0 0 0 0 5 1 0 0 0 8 0 0 0 0 8 1 0 0 0 9 0 0 0 0 6500-SUP2T#show fabric status switch 1 slot channel speed module fabric hotStandby Standby Standby status status support module fabric 1 0 40G OK OK Y(not-hot) 1 1 40G OK OK Y(not-hot) 5 0 20G OK OK N/A 5 1 20G OK OK N/A 8 0 20G OK OK Y(not-hot) 8 1 20G OK OK Y(not-hot) 9 0 20G OK OK Y(not-hot)

 

QoS Configuration Notes:

 

int Te1/1/1
 ! Default mode is to trust DCP
 ! Switch to CoS trust
 platform qos trust cos
 
 ! Switch to DSCP trust
 no platform qos trust cos
 platform qos trust

 ! Disable trust
 platform qos trust none
 ! WRR
 wrr-queue bandwidth percent <percent: 0-100> <percent: 0-100> <percent: 0-100> <percent: 0-100> <percent: 0-100> <percent: 0-100> <percent: 0-100>
 wrr-queue queue-limit <weight: 0-100> <weight: 0-100> <weight: 0-100> <weight: 0-100> <weight: 0-100> <weight: 0-100> <weight: 0-100>

 wrr-queue cos-map <queue: 1-7> <threshold: 1-4> <cos value: 0-7>
 wrr-queue dscp-map <queue: 1-7> <threshold: 1-4> <dscpvalue: 0-63>

 wrr-queue random-detect <queue: 1-7>

 ! WRED
 wrr-queue random-detect min-threshold <queue: 1-7> <percent: 1-100> <percent: 1-100> <percent: 1-100> <percent: 1-100>
 wrr-queue random-detect max-threshold <queue: 1-7> <percent: 1-100> <percent: 1-100> <percent: 1-100> <percent: 1-100>
 
 ! ShapedRR
 wrr-queue shape percent <percent: 0-100> <percent: 0-100> <percent: 0-100> <percent: 0-100> <percent: 0-100> <percent: 0-100> <percent: 0-100>

 ! Tail-drop
 wrr-queue threshold <queue: 1-7> <percent: 1-100> <percent: 1-100> <percent: 1-100> <percent: 1-100>

 

Restrictions for Policy-Based Queueing:

  • DSCP-based queueing is supported on 8q4t, 1p7q2t, 2p6q4t, and 1p7q4t ports. The Supervisor Engine 2T-10GE ports are 8q4t/1p7q4t with the platform qos 10g-only global configuration command configured, which disables the Gigabit Ethernet ports on the supervisor engine.
  • The presence of a match dscp command or a match precedence command in a class map that is used in a queueing policy attached to a port enables DSCP-based queueing on the port in the direction that the queueing policy is attached.
  • CoS-based queueing is always used for non-IP traffic, IP multicast traffic, and IP unknown unicast flood traffic.
  • Class maps that are used in queueing policies can contain any combination and number of match dscp, match precedence, or match cos commands.
  • You can attach one input and one output queueing policy to an interface, in addition to policies that configure marking or policing. To support per-queue shaping on WS-X6904-40G-2T egress nonprioritynonpriority queues, the output queueing policy on WS-X6904-40G-2T port egress queues supports child policies.
  • To support migration from Cisco IOS Release 12.2SX configurations, Cisco IOS Release 15.1SY supports global configuration mode and interface configuration mode queueing commands.
    • When you attach an ingress or egress queueing policy to a port, all interface configuration mode queueing commands on the port are deleted.
    • An attached ingress or egress queueing policy supercedes the effect of any configured global configuration mode queueing commands.
    • If you attach a queueing policy in only one direction, the queueing configuration of the other direction is either the defaults or is defined by any configured global configuration mode queueing commands.
    • You cannot configure any interface configuration mode queueing commands on a port that has a queueing policy attached.
  • Policy-based queueing is supported on all modules that Cisco IOS Release 15.1SY supports with the Supervisor Engine 2T-10GE.
  • Queueing policies are specific to particular port types because a queueing policy cannot contain any commands that are not supported by the port to which it will be attached (see the "Configuration Examples for Policy-Based Queueing" section). Commands not supported on a port are not ignored. You cannot successfully apply a policy with unsupported commands to a port.
  • For clarity, configure queueing policy names that correspond to the port type it supports; for example 1q2t_1q8t_ingress.
  • Queueing policies can contain multiple class maps; each class map configures a queue.
  • A policy-map class defined by a class command that uses a class map and that contains the policy-map class priority command configures the priority queue. (The priority queue is the highest-numbered queue.) The class-map filters the QoS values (CoS or DSCP) it is configured with to the priority queue.
  • Enabling SRR on a port disables the priority queue.
  • A policy-map class defined by a class command that uses a class map and that does not contain the policy-map class priority command configures the highest-numbered nonpriority queue. (If the port has a priority queue, the highest-numbered nonpriority queue is numbered one less than the priority queue. If the port does not have a priority queue, the highest-numbered queue is a nonpriority queue.) Subsequent such commands define the configuration of the remaining nonpriority queues in reverse numerical order. You cannot skip a queue, but configuration of all queues is not required. The class-map filters the QoS values it is configured with to the nonpriority queue being configured.
  • A class command that uses the class-default keywords configures queue 1. The class-default keywords filter all remaining QoS values to queue 1.
  • For each nonpriority queue, policy-map class queue-buffers or random-detect commands assign QoS values (CoS or DSCP) to thresholds within a queue. Thresholds are configured in numerical order. You cannot skip a threshold, but configuration of all threshold is not required. QoS values that are to be applied to the thresholds must be from the group of values that the class-map filters to the queue.
    • The first queue-buffers or random-detect command assigns QoS values to the first threshold, and configures the percentage value applied to it.
    • Subsequent queue-buffers or random-detect commands that are configured with the same percentage value assign additional QoS values to the first threshold.
    • The next queue-buffers or random-detect command that is configured with a different percentage value assigns QoS values to the numerically next threshold, and configures the percentage value applied to it.
    • Subsequent queue-buffers or random-detect commands that are configured with the same percentage value assign additional QoS values to the numerically next threshold.
    • Each queue-buffers or random-detect command with a different percentage defines the next unconfigured threshold and any subsequent commands that repeat a percentage value assign additional QoS values to a configured threshold.
    • All unconfigured thresholds are at 100%.
    • All unassigned QoS labels are assigned to the highest-numbered threshold.

 

 

Threshold Configuration Guidelines and Restrictions:

  • To configure tail drop thresholds, enter queue-limit commands.
  • For ports that support configuration as either tail-drop or WRED drop:
    • Enter queue-limit commands to configure a threshold as tail drop.
    • Enter random-detect commands to configure a threshold as WRED drop.
  • The first queue-limit cos, queue-limit dscp, random-detect cos, or random-detect dscp command that you enter configures threshold #1.
  • Subsequent commands with different threshold percentage values configure the remaining thresholds in numerical order (from threshold #2 to the highest-numbered threshold).
  • Subsequent commands with an already configured threshold percentage value apply addition QoS values to the threshold indicated by the percentage value.
  • Ports configured for DSCP-based queueing use CoS-based queueing for non-IP traffic, IP multicast traffic, and IP unknown unicast flood traffic. In queueing policies that configure DSCP-based queueing, configure CoS-based queueing to provide specific QoS for non-IP traffic, IP multicast traffic, and IP unknown unicast flood traffic.