キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 
cancel
46
閲覧回数
0
いいね!
0
コメント
Taishi Kadota
Cisco Employee
Cisco Employee

はじめに

本ドキュメントでは、ASR9000 シリーズルータにおける、シェーピング機能設定時における制限事項について紹介します。

概要

ASR9000 シリーズルータにおいて、以下のようなシェーピング機能を設定し、"show policy-map interface" にて統計情報を確認しようとした場合に、"Service Policy not installing" と表示され、シェーピングが機能しているログが確認できません。

[設定例]

RP/0/RP0/CPU0:ASR9K#show running-config policy-map test
Thu Apr 25 13:37:53.844 JST
policy-map test
 class class-default
  shape average 1 gbps
 !
 end-policy-map
!
RP/0/RP0/CPU0:ASR9K#show run interface Te0/0/0/35 Thu Apr 25 13:37:30.495 JST interface TenGigE0/0/0/35 service-policy output test !


[確認]

RP/0/RP0/CPU0:ASR9K#show policy-map interface TenGigE 0/0/0/35 output
Thu Apr 25 13:46:57.391 JST
TenGigE0/0/0/35 direction output: Service Policy not installed


これは、ASR9000 シリーズルータにおいては、想定される動作となります。
コンフィグレーションガイドに記載があるとおり、階層型ではないフラットなポートレベルのシェーパーには、
class-default に明示的に100%の帯域幅が割り当てられた子ポリシーが必要です。

Configuring Traffic Shaping
Restrictions

  • The bandwidth, priority and shape average commands should not be configured together in the same class.
  • A flat port-level shaper requires a child policy with 100% bandwidth explicitly allocated to the class-default.

 

回避策

[設定例]

policy-map test
 class class-default
  service-policy child
  shape average 1 gbps
 !
 end-policy-map
!
policy-map child
 class class-default
  bandwidth percent 100
 !
 end-policy-map
!


[確認]

RP/0/RP0/CPU0:ASR9K#show policy-map interface TenGigE 0/0/0/35 output
Thu Apr 25 15:26:09.960 JST

TenGigE0/0/0/35 output: test

Class class-default
  Classification statistics          (packets/bytes)     (rate - kbps)
    Matched             :                   0/0                    0
    Transmitted         :                   0/0                    0
    Total Dropped       :                   0/0                    0

  Policy child Class class-default
    Classification statistics          (packets/bytes)     (rate - kbps)
      Matched             :                   0/0                    0
      Transmitted         :                   0/0                    0
      Total Dropped       :                   0/0                    0
    Queueing statistics
      Queue ID                             : 24658
      High watermark                       : N/A
      Inst-queue-len  (kbytes)             : 0
      Avg-queue-len   (kbytes)             : 0
      Taildropped(packets/bytes)           : 0/0
      Queue(conform)      :                   0/0                    0
      RED random drops(packets/bytes)      : 0/0

 

参考情報

Modular QoS Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 24.1.1
https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/24xx/qos/configuration/guide/b-qos-cg-asr9k-24xx/config-mod-qos-congestion-management.html#ID2116

Getting Started

検索バーにキーワード、フレーズ、または質問を入力し、お探しのものを見つけましょう

シスコ コミュニティをいち早く使いこなしていただけるよう役立つリンクをまとめました。みなさんのジャーニーがより良いものとなるようお手伝いします