1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

IBM i Services Directory : QSYS2.NETSTAT_Route_Info ビュー

Last updated at Posted at 2025-03-02

5250でのNETSTATコマンド オプション 2. IPV4経路情報の処理 (and/or 5. IPV6経路情報)と同様な結果を返します。
Windowsのコマンドだと route printコマンドに相当する結果を返します。

概要

■ビュー名:QSYS2.NETSTAT_ROUTE_INFO
■カテゴリ:通信サービス
■サポート:IBM i 7.2 SF99702 Level 9以降, Level 11 で拡張
■参照URL(IBM i 7.5):https://www.ibm.com/docs/ja/i/7.5?topic=services-netstat-route-info-view

実行例①

アクティブなIPルーティング情報IPV4 and IPV6 をすべて返します。

SELECT * FROM QSYS2.NETSTAT_ROUTE_INFO
  WHERE ROUTE_STATUS = 'YES' OR ROUTE_STATUS = 'ACTIVE' ;

実行結果例はこちら、
image.png

IPアドレスに加え、MTUほか各種情報が返されます。

右にスクロールさせるとルーティングをバインドしているインターフェース情報等も表示されます。
image.png

参考:5250 NETSTAT オプション2.の実行例

image.png

全部マスクしちゃったみたいでわかり難いかもですが(^^;

上記でOPT欄に5を入力すると、以下のような詳細情報を表示します。
image.png

バインドされているインターフェース情報も表示されますが、情報量はIBM i サービスの方が多いようです。
image.png

1
0
5

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?