差分

ナビゲーションに移動 検索に移動
1,152行目: 1,152行目:     
◦     If policy-map counters are needed per port, create policy maps with different names and the TCAM entries will not be shared.
 
◦     If policy-map counters are needed per port, create policy maps with different names and the TCAM entries will not be shared.
 +
 +
以下の出力は、異なるツールをベースにしてサンプルのカウンターです。 :
 +
 +
注意点 : CLI 出力はソフトウェア リリースの 16.9(2) から取得できます
 +
 +
* マーキングとポリサーのポリシーカウンター ('''入力と出力で適用可能''') :
 +
 +
注意点 :
 +
 +
* もし複数のポートで同じ名前のポリシーが共有されていると、ポリシー マップ カウンターは集約され、ポート間で TCAM エントリが共有されます  結果として、あるインターフェースではトラフィックなしで増加が見られてしまいますが、共有化されることで TCAM 使用率は削減されます
 +
* もしポリシー マップ カウンターがポートごとに必要とされる場合は、異なる名前でポリシーマップを作成すれば可能ですが、TCAM のエントリは共有されません
 +
<syntaxhighlight lang="c">
 +
Switch# show policy-map interface <interface>
 +
<interface>
 +
 +
  Service-policy input: <policy-map name>
 +
 +
    Class-map: dscp20 (match-all)  à Marking Action
 +
      452651460 packets
 +
      Match:  dscp af22 (20)
 +
      QoS Set
 +
        dscp af23
 +
 +
    Class-map: dscp21 (match-all)  à Policing Action
 +
      73673977 packets
 +
      Match:  dscp 21
 +
      police:
 +
          cir 10 %
 +
          cir 1000000000 bps, bc 31250000 bytes
 +
          pir 20 %
 +
          pir 2000000000 bps, be 62500000 bytes
 +
        conformed 3757257000 bytes; actions:
 +
          transmit
 +
        exceeded 3758219000 bytes; actions:
 +
          set-dscp-transmit dscp table MARKDOWN
 +
        violated 29321508000 bytes; actions:
 +
          drop
 +
 +
        conformed 96546000 bps, exceeded 96571000 bps, violated 753431000 bps
 +
</syntaxhighlight>
 +
 +
 +
キューイング ポリシーのカウンター (出力ポートごと、キューごとに表示可能)<syntaxhighlight lang="c">
 +
Switch# show platform hardware fed [switch] [active] qos queue stats interface <interface>
 +
 +
DATA Port:16 Enqueue Counters
 +
 +
------------------------------------------------------------------------------
 +
Queue Buffers  Enqueue-TH0  Enqueue-TH1  Enqueue-TH2  Qpolicer
 +
    (Count)    (Bytes)      (Bytes)      (Bytes)      (Bytes)
 +
---  ----      ----        ------        -----        -----
 +
  0    0                0            0          4797        0
 +
  1    0                0            0        64310        0
 +
  2    0                0            0            0        0
 +
  3    0                0            0            0        0
 +
  4    0                0            0            0        0
 +
  5    0                0            0            0        0
 +
  6    0                0            0            0        0
 +
  7    0                0            0            0        0
 +
 +
DATA Port:16 Drop Counters
 +
 +
------------------------------------------------------------------------------
 +
Queue Drop-TH0    Drop-TH1    Drop-TH2    SBufDrop    QebDrop  QpolicerDrop
 +
      (Bytes)    (Bytes)    (Bytes)    (Bytes)    (Bytes)  (Bytes)
 +
--    -----      -------    ------      ------      -----        -------
 +
  0      0            0          3          0          0              0
 +
  1      0            0          87          0          0              0
 +
  2      0            0          0          0          0              0
 +
  3      0            0          0          0          0              0
 +
  4      0            0          0          0          0              0
 +
  5      0            0          0          0          0              0
 +
  6      0            0          0          0          0              0
 +
  7      0            0          0          0          0              0
 +
</syntaxhighlight>
 +
 +
* シェーパー (出力ポートごと、キューごとに表示可能)) :
 +
<syntaxhighlight lang="c">
 +
Switch# show policy-map interface <egress interface>
 +
<interface>
 +
<snip>
 +
 +
    queue stats for all priority classes:
 +
      Queueing
 +
      priority level 2
 +
 +
      (total drops) 9772202000 à in bytes by default
 +
 +
      (bytes output) 2443152000 pkts output) 4910606 à switch to packets with CLI “qos queue-stats-frame-count”
 +
 +
●    WRED (applicable for egress per port per queue):
 +
 +
  Switch# show policy-map interface <egress-interface>
 +
          <snip>
 +
  Class-map: dscp2 (match-all)
 +
            0 packets
 +
            Match:  dscp 2
 +
            Queueing
 +
 +
            (total drops) 0
 +
            (bytes output) 0
 +
            bandwidth remaining 9%
 +
            queue-buffers ratio 9
 +
 +
 +
AFD WRED STATS BEGIN
 +
 +
Virtual Class  min/max    Transmit        Random drop        AFD Weight
 +
        0    10 / 20      (Byte)0        0                  4
 +
                            (Pkts)0        0                       
 +
 +
        dscp : 2
 +
          1  100/ 100      (Byte)0          0                29
 +
                            (Pkts)0          0                       
 +
 +
        dscp :
 +
          2  100/ 100      (Byte)0          0                  29
 +
                            (Pkts)0          0                       
 +
 +
        dscp :
 +
 +
    Total Drops(Bytes)  : 0
 +
    Total Drops (Packets) : 0
 +
 +
AFD WRED STATS END
 +
</syntaxhighlight>
 +
 +
=== オーバーレイ技術の QoS とキューイング ===
 +
 +
==== ASIC からのカプセル化パス ====
 +
 +
=== MPLS QoS ===
 +
 +
=== オート QoS ===
 +
 +
==== オート QoS キューイング モデル ====
 +
 +
=== StackWise Virtual システム ===
 +
 +
=== CPU へ向かうパケットと CPU から出るパケット ===
 +
 +
==== CPU へ向かうパケット ====
 +
 +
==== CPU から出るパケット ====
 +
 +
=== 結論 ===
 +
 +
=== 参照 ===

案内メニュー