IP SLA UDPジッター動作について
IP SLA UDP ジッター操作は、VoIP、ビデオ オーバー IP、リアルタイム会議などのリアルタイム トラフィック アプリケーションに対するネットワークの適合性を診断します。
ジッターとは、パケット間の遅延変動を意味します。ネットワークに遅延がある場合 (キューイング、代替ルート経由の到着など)、 ジッター値が変動し、VoIP などの遅延に敏感なネットワークの場合、正のジッター値は望ましくなく、ジッター値 0 が理想的です。
宛先デバイスでの IP SLA レスポンダの設定
コマンド
送信元からの制御メッセージに応答して、Cisco デバイス上の IP SLA レスポンダ機能を一時的に有効にします。オプションです。
RT1(config)#ip sla responder
指定した IP アドレス、ポート、および VRF で IP SLA レスポンダ機能を有効にします。送信元でプロトコル制御が無効になっている場合にのみ必要です。
RT1(config)#ip sla responder udp-echo ipaddress ip-address port port vrf vrf
設定例
ソースデバイスでの UDP ジッター動作の設定とスケジュール設定
コマンド
IP SLA 動作を UDP ジッタ動作として設定します。
RT1(config)#ip sla operation-number
RT1(config-ip-sla)#udp-jitter {destination-ip-address | destination-hostname } destination-port [source-ip {ip-address | hostname }] [source-port port-number ] [control {enable | disable }] [num-packets number-of-packets ] [interval interpacket-interval ]
control {enable | disable } | disableは送信元デバイスと宛先デバイスの両方で IP SLA 制御プロトコルを 無効にする場合にのみ使用します 。 |
num-packets number-of-packets | 送信するパケット数を指定します。 |
interval interpacket-interval | 送信するパケット間隔を指定します。 |
指定したIP SLA動作を繰り返す速度を設定します。
RT1(config-ip-sla-jitter)#frequency seconds
設定例
宛先IPアドレス:2.2.2.2 ポート番号:8000
送信元IPアドレス:1.1.1.1 ポート番号:8000
パケット数20で30秒間隔のIP SLAを周波数30秒で設定します。
RT1(config)#ip sla 10
RT1(config-ip-sla)#udp-jitter 2.2.2.2 8000 source-ip 1.1.1.1 source-port 8000 num-packets 20 interval 30
RT1(config-ip-sla-jitter)#frequency 30
追加の特性を使用した UDP ジッター動作の設定
コマンド
IP SLA 動作を UDP ジッタ動作として設定します。
- RT1(config)#ip sla operation-number
- RT1(config-ip-sla)#udp-jitter {destination-ip-address | destination-hostname } destination-port [source-ip {ip-address | hostname }] [source-port port-number ] [control {enable | disable }] [num-packets number-of-packets ] [interval interpacket-interval ]
IP SLA 動作のホップごとに保持される統計配布の数を設定します。
- RT1(config-ip-sla-jitter)#history distributions-of-statistics-kept size
IP SLA 動作の拡張履歴収集を有効にします。
- RT1(config-ip-sla-jitter)#history enhanced [interval seconds ] [buckets number-of-buckets ]
指定した IP SLA 動作を繰り返す速度を設定します。
- RT1(config-ip-sla-jitter)#frequency seconds
IP SLA 動作の統計情報が保持される時間数を設定します。
- RT1(config-ip-sla-jitter)#history hours-of-statistics-kept hours
IP SLA 動作の Simple Network Management Protocol(SNMP)所有者を設定します。
- RT1(config-ip-sla-jitter)#owner owner-id
IP SLA 動作要求パケットのペイロード内のプロトコル データ サイズを設定します。
- RT1(config-ip-sla-jitter)#request-data-size bytes
IP SLA 動作応答パケットのペイロード内のプロトコル データ サイズを設定します。
- RT1(config-ip-sla-jitter)#response-data-size bytes
IP SLA 動作のために保持される各統計情報の配布の時間間隔を設定します。
- RT1(config-ip-sla-jitter)#history statistics-distribution-interval milliseconds
IP SLA 動作用のユーザ指定の識別子を作成します。
- RT1(config-ip-sla-jitter)#tag text
IP SLA 動作によって作成されるネットワーク モニタリング統計情報を計算するための上限しきい値を設定します。
- RT1(config-ip-sla-jitter)#threshold milliseconds
IP SLA 動作が要求パケットからの応答を待機する時間を設定します。
- RT1(config-ip-sla-jitter)#timeout milliseconds
次のコマンドのうちいずれかを入力します。
- RT1(config-ip-sla-jitter)#tos number
- RT1(config-ip-sla-jitter)#traffic-class number
tos number | IP SLA 動作の IPv4 ヘッダー内の ToS バイトを定義します。 |
traffic-class number | サポートされる IP SLA 動作の IPv6 ヘッダー内のトラフィック クラス バイトを定義します。 |
サポートされる IP SLA 動作の IPv6 ヘッダー内のフロー ラベル フィールドを定義します。
- RT1(config-ip-sla-jitter)#flow-label number
IP SLA 動作で各応答パケットのデータ破損をチェックします。
- RT1(config-ip-sla-jitter)#verify-data
IP SLA 動作を使用したマルチプロトコル ラベル スイッチング(MPLS)VPN 内でのモニタリングを許可します。
- RT1(config-ip-sla-jitter)#vrf vrf-name
すべての IP SLA 動作または指定された動作のすべてのデフォルトを含む設定値を表示します。
- RT1(config-ip-sla-jitter)#end
- RT1#show ip sla configuration [operation-number ]
設定例
RT1(config)#ip sla 10
RT1(config-ip-sla)#udp-jitter 2.2.2.2 8000 source-ip 1.1.1.1 source-port 8000 num-packets 20 interval 30
RT1(config-ip-sla-jitter)#history distributions-of-statistics-kept 20
RT1(config-ip-sla-jitter)#history enhanced interval 60 buckets 5
RT1(config-ip-sla-jitter)#frequency 20
RT1(config-ip-sla-jitter)#history hours-of-statistics-kept 24
RT1(config-ip-sla-jitter)#owner TEST1
RT1(config-ip-sla-jitter)#request-data-size 1000
RT1(config-ip-sla-jitter)#response-data-size 20
RT1(config-ip-sla-jitter)#history statistics-distribution-interval 50
RT1(config-ip-sla-jitter)#tag TEST1
RT1(config-ip-sla-jitter)#threshold 100
RT1(config-ip-sla-jitter)#timeout 100
RT1(config-ip-sla-jitter)#tos 100
RT1(config-ip-sla-jitter)#verify-data
RT1(config-ip-sla-jitter)#end
RT1#show ip sla configuration 10
IP SLAs Infrastructure Engine-III
Entry number: 10
Owner: TEST1
Tag: TEST1
Operation timeout (milliseconds): 100
Type of operation to perform: udp-jitter
Target address/Source address: 2.2.2.2/1.1.1.1
Target port/Source port: 8000/8000
Type Of Service parameter: 0x64
Request size (ARR data portion): 1000
Response size (ARR data portion): 20
Packet Interval (milliseconds)/Number of packets: 30/20
Verify data: Yes
Vrf Name:
Control Packets: enabled
Schedule:
Operation frequency (seconds): 20 (not considered if randomly scheduled)
Next Scheduled Start Time: Pending trigger
Group Scheduled : FALSE
Randomly Scheduled : FALSE
Life (seconds): 3600
Entry Ageout (seconds): never
Recurring (Starting Everyday): FALSE
Status of entry (SNMP RowStatus): notInService
Threshold (milliseconds): 100
Distribution Statistics:
Number of statistic hours kept: 24
Number of statistic distribution buckets kept: 20
Statistic distribution interval (milliseconds): 50
Enhanced History:
Aggregation Interval:60 Buckets:5
Percentile:
RT1#
IP SLA 動作のスケジュール設定
コマンド
次のコマンドのいずれかを入力します。
個々の IP SLA 動作のスケジューリング パラメータを設定します。
- RT1(config)#ip sla schedule operation-number [life {forever | seconds }] [start-time {[hh: mm: ss ] [month day | day month ] | pending | now | after hh: mm: ss }] [ageout seconds ] [recurring ]
[life {forever | seconds }] | IP SLAの実行を無制限か終了までの秒数を指定。 |
start-time {[hh: mm: ss ] [month day | day month ] | pending | now | after hh: mm: ss }] | IP SLAの開始時刻を指定。nowで今すぐ開始することを指定したり、特定の時間を指定する。 |
[ageout seconds ] | エージアウトの秒数を指定 |
[recurring ] | IP SLAを自動的に繰り返し実行 |
マルチオペレーション スケジューラの IP SLA 動作グループ番号と動作番号の範囲を指定します
- RT1(config)#ip sla group schedule group-operation-number operation-id-numbers {schedule-period schedule-period-range | schedule-together } [ageout seconds ] frequency group-operation-frequency [life {forever | seconds }] [start-time {hh: mm [: ss ] [month day | day month ] | pending | now | after hh: mm [: ss] }]
schedule-period schedule-period-range | スケジュールの間隔を指定 |
[ageout seconds ] | エージアウトの秒数を指定 |
[life {forever | seconds }] | IP SLAの実行を無制限か終了までの秒数を指定。 |
start-time {[hh: mm: ss ] [month day | day month ] | pending | now | after hh: mm: ss }] | IP SLAの開始時刻を指定。nowで今すぐ開始することを指定したり、特定の時間を指定する。 |
IP SLA グループのスケジュールの詳細を表示します。
- RT1(config)#end
- RT1#show ip sla group schedule
設定例
RT1(config)#ip sla schedule 10 life forever start-time now ageout 86400 recurring
RT1(config)#ip sla group schedule 10 12 schedule-period 1000 start-time pending
RT1(config)#end
RT1#show ip sla group schedule
Group Entry Number: 10
Probes to be scheduled: 12
Total number of probes: 1
Schedule period: 1000
Mode: even
Group operation frequency: Equals schedule period
Status of entry (SNMP RowStatus): Active
Next Scheduled Start Time: Pending trigger
Life (seconds): 3600
Entry Ageout (seconds): never
RT1#
参考文献
IP SLAs Configuration Guide
Configuring IP SLAs UDP Jitter Operations