運用コマンドレファレンス Vol.2
[機能]
RIPngプロトコルに関する情報を表示します。
[入力モード]
一般ユーザモードおよび装置管理者モード
[入力形式]
show ipv6 rip [{ target | gateway }] show ipv6 rip route [brief] [{ [<Prefix>[/<Prefixlen>]] | summary }] show ipv6 rip received-routes [brief] [[{ <Gateway-Address> | <Host name> }][<Prefix>/<Prefixlen>]] show ipv6 rip received-routes summary show ipv6 rip advertised-routes [brief] [ [interface <name>] [<Prefix>/<Prefixlen>]] show ipv6 rip advertised-routes summary show ipv6 rip statistics [{ gateway {<Gateway-Address>|<Host name>} | target interface <Target Interface name> }]
[パラメータ]
- なし
- RIPngのグローバル情報を表示します。
- target
- RIPngのターゲット(RIPngパケット送信先)情報を表示します。
- gateway
- RIPngのゲートウェイ(RIPngパケット送信元)情報を表示します。
- brief
- 経路情報を簡易表示します。
- route [<Prefix>[/<Prefixlen>]]
- RIPngで学習した経路情報を表示します。
- <Prefix>で宛先ネットワークを指定した場合,指定した宛先ネットワークに含まれる経路情報だけを表示します。<Prefix>を省略した場合,すべての経路情報を表示します。
- <Prefixlen>を省略した場合,指定した<Prefix>までをフィルタリングアドレスとして経路情報を表示します。
- (例)3ffe:811::と入力した場合は,3ffe:811::/32の経路情報を表示します。
- <Prefix>には宛先アドレスを,<Prefixlen>にはプレフィックス長を指定します。
- <Prefix>はコロン記法で,<Prefixlen>は0〜128の範囲で指定してください。
- route summary
- RIPngで学習した経路数を表示します。
- received-routes [{<Gateway-Address>|<Host name>}] [<Prefix>/<Prefixlen>]
- RIPngで学習した経路情報をゲートウェイごとに表示します。
- <Gateway-Address>|<Host name>を指定した場合,指定したゲートウェイに対する経路情報だけを表示します。<Gateway-Address>|<Host name>を省略した場合,すべてのゲートウェイに対する経路情報を表示します。
- また,<Prefix>で宛先ネットワークを指定した場合,指定した宛先ネットワークに含まれる経路情報だけを表示します。<Prefix>を省略した場合,すべての経路情報を表示します。
- <Gateway-Address>にはゲートウェイアドレスを,<Host name>にはホスト名称を,<Prefix>には宛先アドレスを,<Prefixlen>にはプレフィックス長を指定します。<Gateway-Address>,<Prefix>はコロン記法で,<Prefixlen>は0〜128の範囲で指定してください。
- received-routes summary
- RIPngで学習した経路数をゲートウェイごとに表示します。
- advertised-routes [interface <name>] [<Prefix>/<Prefixlen>]
- RIPngで広告している経路情報をゲートウェイごとに表示します。
- interface <name>を指定した場合,指定したインタフェースに広告する経路情報だけを表示します。
- interface <name>を省略した場合,すべてのインタフェースに対して広告する経路情報を表示します。
- また,<Prefix>で宛先ネットワークを指定した場合,指定した宛先ネットワークに含まれる経路情報だけを表示します。<Prefix>を省略した場合,すべての経路情報を表示します。
- <name>にはインタフェース名称を,<Prefix>には宛先アドレスを,<Prefixlen>にはプレフィックス長を指定します。<Prefix>はコロン記法で,<Prefixlen>は0〜128の範囲で指定してください。
- advertised-routes summary
- RIPngで広告した経路数をターゲットごとに表示します。
- statistics [ { gateway { <Gateway-Address> | <Host name> } | target interface <Target Interface Name> } ]
- RIPngの統計情報を表示します。
- gateway <Gateway-Address>|<Host name>およびtarget interface <Target Interface Name>を共に省略した場合,各ゲートウェイ,ターゲットに対するRIPng経路送受信状態の統計情報をサマリー形式で表示します。
- gateway <Gateway-Address>|<Host name>を指定した場合,指定ゲートウェイに対するRIPng経路受信状態の詳細統計情報を表示します。
- target interface <Target Interface Name>を指定した場合,指定ターゲットに対するRIPng経路送信状態の詳細統計情報を表示します。
- <Gateway-Address>はコロン記法で指定してください。
- <Host name>にはホスト名称を指定してください。
- <Target Interface Name>は送信先インタフェース名称を指定してください。
[実行例] show ipv6 ripの例
RIPngプロトコルのグローバル情報を表示します。
図5-19 グローバル情報の表示
>show ipv6 rip RIPng Flags: <ON> Default metric: 16, Preference: 100 Timers (seconds) Update : 30 Aging : 180 Hold down: 120 >
[表示説明]
表示項目 意味 表示詳細情報 RIPng Flags RIPngフラグ ON:RIPng動作中 ReConfig:構成情報の再読み込み処理中 Terminate:終了処理中 Inherit-metric:経路広告時にメトリックを引き継ぎます。 SecondaryRoute:第2優先経路生成します。 Default Metric 広告する経路に付加するデフォルトのメトリック − Preference RIPngで学習した経路のプリファレンス − Timer情報 Update 周期広告時間(秒) − Aging エージング時間(秒) − Hold down ホールドダウン時間(秒) −
[実行例] show ipv6 rip targetの例
RIPngプロトコルのターゲット情報を表示します。
図5-20 ターゲット情報の表示
>show ipv6 rip target Source Address Destination Flags fe80::200:87ff:fed0:e792%Office01 Office01 <Broadcast Supply Policy> >
[表示説明]
表示項目 意味 表示詳細情報 Source Address 送信元アドレス − Destination 送信インタフェース − Flags ターゲットフラグ Broadcast:ブロードキャストで送信します Poll:Requestパケットを送信しました Supply:アップデートパケットを送信します Policy:変更されたルートを評価し,広告するかどうかを決定します MCEnabled:マルチキャスト可能であることを示します
[実行例] show ipv6 rip gatewayの例
RIPngプロトコルのゲートウェイ情報を表示します。
図5-21 ゲートウェイ情報の表示
>show ipv6 rip gateway Gateway Address Age Flags fe80::%Office3 2m 12s <Reject> fe80::200:87ff:fed0:e792%Office01 30s <Accept ImportRestrict> >
[表示説明]
表示項目 意味 表示詳細情報 Gateway Address ゲートウェイアドレス − Age 最後にUPDATEパケットを受信してからの経過時間 − Flags ゲートウェイフラグ Accept:RIPngパケットを受け付けます Reject:RIPngパケットを拒絶します Query:Requestパケットを受信しました※ ImportRestrict:インポートポリシーによってパケット受信を制限します※ Format:フォーマットエラーのパケットを受信しました※ AuthFail:認証エラーのパケットを受信しました※ 注※ 本フラグは,該当する事象が,隣接ルータを認識してから現在までの間に1回以上発生したことを示すフラグです。
[実行例] show ipv6 rip route [brief] <Prefix>/<Prefixlen>の例
RIPngで学習した経路情報を標準形式で表示します。
図5-22 標準形式でのRIPng経路の表示
>show ipv6 rip route 3ffe:501:811:ff05::/64 Status Codes: * valid, > active Destination Next Hop Interface Metric Tag Timer *> 3ffe:501:811:ff05::/64 fe80::200:87ff:fed0:e792%Office01 Office01 3 0 14s * 3ffe:501:811:ff05::/64 fe80::200:7ff:3fd0:4792%Office03 Office03 4 0 14s >RIPngで学習した経路情報を簡易形式で表示します。
図5-23 簡易形式でのRIPng経路の表示
>show ipv6 rip route brief 3ffe:501:811:ff05::/64 Status Codes: * valid, > active Destination Interface Metric Tag Timer *> 3ffe:501:811:ff05::/64 Office01 3 0 26s * 3ffe:501:811:ff05::/64 Office03 4 0 26s >
[表示説明]
表示項目 意味 表示詳細情報 Status Codes 経路情報の状態 * valid:有効な経路情報 > active:経路選択によって選択された経路情報 Destination 宛先ネットワーク 宛先アドレス/プレフィックス長 Next Hop ネクストホップアドレス Reject経路では”- - - - ”で表示されます Interface 送出インタフェース名称 − Metric 経路計算後のメトリック − Tag 経路のタグ − Timer 経路が最後に更新されてからの時間 −
[実行例] show ipv6 rip route summaryの例
RIPngで学習した経路数を表示します。
図5-24 RIPng経路数の表示
>show ipv6 rip route summary RIPng: 4 active route >
[表示説明]
なし
[実行例] show ipv6 rip received-routes [brief] [{<Gateway-Address>|<Host name>}] [<Prefix>]の例
RIPngで学習した経路情報を指定ゲートウェイおよび指定宛先ネットワークに基づき標準形式で表示します。
図5-25 標準形式でのRIPng経路のゲートウェイ単位表示
>show ipv6 rip received-routes 3ffe:501:811:ff05::/64 Status Codes: * valid, > active Gateway Address: fe80::200:87ff:fed0:e792%Office01 Destination Next Hop Interface Metric Tag Timer *> 3ffe:501:811:ff05::/64 fe80::200:87ff:fed0:e792%Office01 Office01 3 0 2s *> 3ffe:501:811:ff06::/64 fe80::200:87ff:fed0:e792%Office01 Office01 3 0 2s *> 3ffe:501:811:ffe0::/64 fe80::200:87ff:fed0:e792%Office01 Office01 3 0 2s Gateway Address: fe80::%Office03 Destination Next Hop Interface Metric Tag Timer * 3ffe:501:811:ff05::/64 fe80::200:7ff:3fd0:4792%Office03 Office03 3 0 20s *> 3ffe:801:fe01::/64 fe80::200:7ff:3fd0:4792%Office03 Office03 3 0 20s >RIPngで学習した経路情報を指定ゲートウェイおよび指定宛先ネットワークに基づき簡易形式で表示します。
図5-26 簡易形式でのRIPng経路のゲートウェイ単位表示
>show ipv6 rip received-routes brief 3ffe:501:811:ff05::/64 Status Codes: * valid, > active Gateway Address: fe80::200:87ff:fed0:e792%Office01 Destination Interface Metric Tag Timer *> 3ffe:501:811:ff05::/64 Office01 3 0 2s *> 3ffe:501:811:ff06::/64 Office01 3 0 2s *> 3ffe:501:811:ffe0::/64 Office01 3 0 2s Gateway Address: fe80::%Office03 Destination Interface Metric Tag Timer * 3ffe:501:811:ff05::/64 Office03 3 0 20s *> 3ffe:501:801:fe01::/64 Office03 3 0 20s >
[表示説明]
表示項目 意味 表示詳細情報 Status Codes 経路情報の状態 * valid:有効な経路情報 > active:経路選択によって選択された経路情報 Gateway Address ゲートウェイアドレス − Destination 宛先ネットワーク 宛先アドレス/プレフィックス長 Next Hop ネクストホップアドレス Reject経路では”- - - - ”で表示されます Interface 送出インタフェース名称 − Metric 受信経路のメトリック − Tag 経路のタグ − Timer 経路が最後に更新されてからの時間 −
[実行例] show ipv6 rip received-routes summaryの例
RIPngで学習した経路数をゲートウェイごとに表示します。
図5-27 RIPng経路数のゲートウェイ単位表示
>show ipv6 rip received-routes summary Gateway Address: fe80::%Office03 , 0 routes received Gateway Address: fe80::%Office05 , 0 routes received Gateway Address: fe80::200:87ff:fed0:e792%Office01 , 4 routes received >
[表示説明]
なし
[実行例] show ipv6 rip advertised-routes [brief] [interface <name>] [<Prefix>]の例
RIPngで広告している経路情報を指定ターゲットおよび指定宛先ネットワークに基づき標準形式で表示します。
図5-28 標準形式でのRIPng広告経路のターゲット単位表示
>show ipv6 rip advertised-routes Target Interface: Office05 Destination Next Hop Interface Metric Tag Age 3ffe:501:811:ff04::/64 3ffe:501:811:ff04::1 Office09 0 0 2h 39m Target Interface: Office07 Destination Next Hop Interface Metric Tag Age 3ffe:501:811:ff01::/64 3ffe:501:811:ff01::1 Office01 0 0 1m 12s 3ffe:501:811:ff02::/64 3ffe:501:811:ff02::1 Office01 0 0 1m 12s 3ffe:501:811:ff03::/64 3ffe:501:811:ff03::1 Office01 0 0 1m 12s 3ffe:501:811:ff05::/64 fe80::200:87ff:fed0:e792%Office01 Office01 3 0 13s 3ffe:501:811:ff06::/64 fe80::200:87ff:fed0:e792%Office01 Office01 2 0 13s 3ffe:501:811:ff07::/64 fe80::200:87ff:fed0:e792%Office01 Office01 2 0 13s 3ffe:501:811:ff08::/64 fe80::200:87ff:fed0:e792%Office01 Office01 3 0 13s >RIPngで広告している経路情報を指定ターゲットおよび指定宛先ネットワークに基づき簡易形式で表示します。
図5-29 簡易形式でのRIPng広告経路のターゲット単位表示
>show ipv6 rip advertised-routes brief Office07 Target Interface: Office07 Destination Interface Metric Tag Age 3ffe:501:811:ff01::/64 Office01 0 0 2m 2s 3ffe:501:811:ff02::/64 Office01 0 0 2m 2s 3ffe:501:811:ff03::/64 Office01 0 0 2m 2s 3ffe:501:811:ff05::/64 Office01 3 0 29s 3ffe:501:811:ff06::/64 Office01 2 0 29s 3ffe:501:811:ff07::/64 Office01 2 0 29s 3ffe:501:811:ff08::/64 Office01 3 0 29s >
[表示説明]
表示項目 意味 表示詳細情報 Target Interface インタフェース名称 − Destination 宛先ネットワーク 宛先アドレス/プレフィックス長 Next Hop ネクストホップアドレス Reject経路では”- - - - ”で表示されます Interface 送出インタフェース名称 − Metric 広告経路のメトリック − Tag 広告経路のタグ − Age 経路のエージング時間 経路生成してからの時間
[実行例] show ipv6 rip advertised-routes summaryの例
RIPngで広告している経路数をターゲットごとに表示します。
図5-30 RIPng広告経路数のターゲット単位表示
>show ipv6 rip advertised-routes summary Target Address: Office05 , 1 routes sent Target Address: Office06 , 7 routes sent >
[実行例]show ipv6 rip statisticsの例
各ゲートウェイ,ターゲットに対するRIPng経路送受信状態の統計情報をサマリー形式で表示します。
図5-31 RIPng送受信統計情報のサマリー表示
>show ipv6 rip statistics Elapsed time: 19:02:31 and 4day Incoming Gateway Request Response Entries fe80::200:e8ff:fe39:c3b3%Office05 134201 142952 214290 fe80::260:97ff:feba:19cf%Office01 132582 142532 59219 Total 266783 285484 273509 Outgoing Target Request Response Entries Office01 42 214923 432910 Office05 102 194320 328112 Total 144 409243 771022 >
[表示説明]
表示項目 意味 表示詳細情報 Elapsed time 統計情報収集経過時間 − Incoming情報 Gateway ゲートウェイアドレス − Request 受信したRequestメッセージの総数 − Response 受信したResponseメッセージの総数 − Entries 受信したRIPng経路の総数 − Total Request,ResponseおよびEntriesの合計 − Outgoing情報 Target ゲートウェイアドレス − Request 送信したRequestメッセージの総数 − Response 送信したResponseメッセージの総数 − Entries 送信したRIPng経路の総数 − Total Request,ResponseおよびEntriesの合計 −
[実行例] show ipv6 rip statistics gateway {<Gateway-Address>|<Host name>}の例
指定ゲートウェイに対するRIPng経路受信状態の統計情報を表示します。
図5-32 RIPng受信統計情報の表示
>show ipv6 rip statistics gateway fe80::200:e8ff:fe39:c3b3%Office05 Gateway fe80::200:e8ff:fe39:c3b3%Office05 Request Total Messages 134201 Invalid 0 Response Total Messages 142952 Invalid 0 Total Entries 214290 Import Restrict 10 Unreachable 4 Invalid 0 Invalid or Not Supported Total Messages 0 Added 20 Changed 25 Deleted 10 >
[表示説明]
表示項目 意味 表示詳細情報 Gateway ゲートウェイアドレス − 受信Requestメッセージ情報(Request) Total Messages 総受信メッセージ数 − Invalid 受信したエラーメッセージの総数 − 受信Responseメッセージ情報(Response) Total Messages 総受信メッセージ数 − Invalid 受信したエラーメッセージの総数 − Total Entries 受信したRIPng経路の総数 − Import Restrict 受信規制されたRIPng経路の総数 − Unreachable Metric:16のRIPng経路の総数 − Invalid エラーのあるRIPng経路の総数 − 受信エラーメッセージ情報(Invalid or Not Supported) Total Messages 受信したエラーメッセージの総数 − Added RIPng経路をルーティングテーブルに追加した回数 − Changed ルーティングテーブル上のRIPng経路を変更した回数 − Deleted ルーティングテーブルからRIPng経路を削除した回数 −
[実行例] show ipv6 rip statistics target interface <Target Interface Name>の例
指定ターゲットに対するRIPng経路送信状態の統計情報を表示します。
図5-33 RIPng受信統計情報の表示
>show ipv6 rip statistics target interface Office05 Target Office05 Request Total Messages 1 Response Total Messages 5 Total Entries 13 Triggered Updates 1 Responses to Request 1 >
[表示説明]
表示項目 意味 表示詳細情報 Target ターゲット・アドレス − 送信Requestメッセージ情報(Request) Total Messages 総送信Requestメッセージ数 − 送信Responseメッセージ情報(Response) Total Messages 総送信Responseメッセージ数 − Total Entries 送信したRIPng経路の総数 − Triggered Updates トリガードアップデートの回数 − Responses to Request Request応答アップデートの回数 −
[ユーザ通信への影響]
なし
[応答メッセージ]
表5-5 show ipv6 ripコマンド応答メッセージ
項番 メッセージ内容 意味 1 RIPng not active. RIPngが動作していません。 2 illegal address 指定ホスト名が不正です。 3 no such gateway 指定gatewayは存在しません。
show ipv6 rip gatewayで確認してください。4 no such target 指定targetは存在しません。
show ipv6 rip targetで確認してください。5 no such gateway or statistics "<Gateway address>" 指定Gatewayは存在しません。
show ipv6 rip gatewayで確認してください。6 no such target or statistics "<Target Interface Name>" 指定Targetは存在しません。
show ipv6 rip targetで確認してください。7 connection failed to rtm ユニキャストルーティングプログラムとの通信が失敗しました。コマンドを再投入してください。頻発する場合は,restart unicast(IPv6)コマンド(「restart unicast(IPv6)」参照)でユニキャストルーティングプログラムを再起動してください。 8 No response from rtm. ユニキャストルーティングプログラムからの応答がありません。コマンドを再投入してください。頻発する場合は,restart unicast(IPv6)コマンド(「restart unicast(IPv6)」参照)でユニキャストルーティングプログラムを再起動してください。 9 program error occurred: <Error Message> プログラムエラーが発生しました。
コマンドを再投入してください。<Error Message>:エラーメッセージ(発生元(エラー要因)) 10 IP routing is not configured. ルーティングプロトコルが定義されていません。
コンフィグレーションを確認してください。11 linklocal address is not displayed リンクローカルアドレスは表示されません。 12 no route 経路は存在しません。
[注意事項]
なし
Copyright (c) 2005, 2011, ALAXALA Networks Corporation. All rights reserved.