XOT(X.25 Over TCP)はシスコが設計したもので、Request For Comments(RFC)1613に詳細が記載されており、X.25 over IPインターネットを転送します。XOT を使用すると、Link Access Procedure Balanced(LAPB; 平衡型リンク アクセス手順)リンクではなく、Transmission Control Protocol/Internet Protocol(TCP/IP)ネットワークで X.25 パケットを送信できます。XOT は、TCP パケット内に X.25 パケット レベルをカプセル化することによって、IP インターネット上に X.25 パケットを送信する方法です。
このドキュメントでは、次の 2 つの変換を説明する設定例を示しています。
Transmission Control Protocol(TCP)から X.25 への変換。
X.25 から TCP への変換。
このドキュメントに特有の要件はありません。
この変換には Cisco ルータ プラットフォーム 26xx 以上のみでサポートされる ENTERPRISE フィーチャ セットが必要です。
このドキュメントの情報は、特定のラボ環境にあるデバイスに基づいて作成されました。このドキュメントで使用するすべてのデバイスは、初期(デフォルト)設定の状態から起動しています。対象のネットワークが実稼働中である場合には、どのようなコマンドについても、その潜在的な影響について確実に理解しておく必要があります。
ドキュメントの表記法の詳細は、「シスコ テクニカル ティップスの表記法」を参照してください。
このセクションでは、このドキュメントで説明する機能を設定するために必要な情報を提供しています。
注:この文書で使用されているコマンドの詳細を調べるには、「Command Lookup ツール」を使用してください(登録ユーザのみ)。
このドキュメントでは、次のネットワーク セットアップを使用します。
図に示すように、ルータ 1 と 2 の間およびルータ 2 および 3 の間でバックツーバック リンクが使用されます。
このドキュメントでは、次の構成を使用します。
Router1
Router2
ルータ3
注:関連情報を表示するために、次の設定を切り詰めました。
| Router1 |
|---|
version 12.1 service timestamps debug datetime msec service timestamps log datetime msec ! hostname Router1 ! interface Serial0 description DCE connection to s1 Router2 ip address 10.0.0.6 255.255.255.252 no ip mroute-cache clockrate 56000 ! ip route 192.168.7.0 255.255.255.0 10.0.0.5 |
| Router2 |
|---|
version 12.1 service timestamps debug datetime msec service timestamps log datetime msec ! hostname Router2 ! x25 routing ! interface Loopback0 ip address 192.168.7.1 255.255.255.0 ! interface Serial0 description DCE connection to s1 Router3 encapsulation x25 dce no ip mroute-cache clockrate 64000 ! interface Serial1 description DTE connection to s0 Router1 ip address 10.0.0.5 255.255.255.252 ! x25 route 123 interface Serial0 ! translate tcp 192.168.7.2 x25 123 translate x25 345 tcp 10.0.0.6 |
| ルータ3 |
|---|
Router3#show running-config Building configuration... Current configuration: ! version 12.1 service timestamps debug datetime msec service timestamps log datetime msec hostname Router3 ! ip subnet-zero ! x25 routing ! interface Serial1 description DTE connection to s0 Router2 encapsulation x25 x25 address 123 ! x25 route 345 interface Serial1 |
ネットワークが正常に動作しているかどうかをテストするには、次のコマンドを使用します。
一部の show コマンドはアウトプット インタープリタ ツールによってサポートされています(登録ユーザ専用)。このツールを使用することによって、show コマンド出力の分析結果を表示できます。
show debug:さまざまなデバッグ情報を表示したり、特定のトラブルシューティング処理を実行したりできます。
telnet 192.168.7.2:プロンプト モードでインターネット上のコンピュータ システムに接続します。
Pad 345:PAD にログオンします。
show x25 vc:特権EXECモードで、アクティブな相手先選択接続(SVC)および相手先固定接続(PVC)に関する情報を表示します。
下記のテストに示す出力は、上記のネットワーク ダイアグラムにあるデバイス上で、これらのコマンドを入力した結果です。この出力結果は、ネットワークが正常に稼動していることを示しています。
このテストでは、ルータ 1 からルータ 2 の IP アドレスへの Telnet セッションを行います。
ルータ 1 から Telnet 192.168.7.2。
注:このアドレスは、Router2のネットワーク192.168.7.0 /24に属しています。このアドレスは、ネットワーク内の他のシステムに割り当てることはできません。
Router2は、Router3に到達するためにTCPからX.25への変換を行います。出力は次のとおりです。
Router2#show debug
TCP:
TCP special event debugging is on
X.29 PAD:
X25 PAD debugging is on
X.25:
X.25 special event debugging is on
Protocol translation:
Protocol Translation debugging is on
Router2#
Router1#telnet 192.168.7.2
Trying 192.168.7.2 ... Open
Trying 123...Open
User Access Verification
Password:
Router3>
Router2#
*Mar 1 01:50:28.759: TCP0: state was LISTEN -> SYNRCVD [23 -> 10.0.0.6(11007)]
*Mar 1 01:50:28.763: TCB00499CAC setting property TCP_TOS (11) C0094
*Mar 1 01:50:28.767: tcppad2: fork started
*Mar 1 01:50:28.767: TCP: sending SYN, seq 3338770911, ack 4026886977
*Mar 1 01:50:28.771: TCP2: Connection to 10.0.0.6:11007, advertising MSS 1460
*Mar 1 01:50:28.775: TCP2: Connection to 10.0.0.6:11007, received MSS 556, MSS is 556
*Mar 1 01:50:28.791: TCP2: state was SYNRCVD -> ESTAB [23 -> 10.0.0.6(11007)]
*Mar 1 01:50:28.803: pad_open_connection: found a valid route
*Mar 1 01:50:28.807: Serial0: X.25 O R1 Call (11) 8 lci 1
*Mar 1 01:50:28.811: From (0): To (3): 123
*Mar 1 01:50:28.811: Facilities: (0)
*Mar 1 01:50:28.815: Call User Data (4): 0x01000000 (pad)
*Mar 1 01:50:28.827: Serial0: X.25 I R1 Call Confirm (5) 8 lci 1
*Mar 1 01:50:28.831: From (0): To (0):
*Mar 1 01:50:28.835: Facilities: (0)
*Mar 1 01:50:28.835: PAD2: Call completed
*Mar 1 01:50:28.839: PAD2: Control packet received.
*Mar 1 01:50:28.851: PAD2: Input X29 packet type 4 (Read X.3 param) len 1
*Mar 1 01:50:28.855: PAD2: Output X29 packet type 0 (Parameter indication) len 45
1:1, 2:1, 3:2, 4:1, 5:0, 6:0, 7:4,
8:0, 9:0, 10:0, 11:14, 12:0, 13:0, 14:0, 15:0,
16:127, 17:21, 18:18, 19:0, 20:0, 21:0, 22:0,
*Mar 1 01:50:28.879: PAD2: Control packet received.
*Mar 1 01:50:28.883: PAD2: Input X29 packet type 6 (Set and Read) len 9
2:0, 4:1, 15:0, 7:21, *Mar 1 01:50:28.887: tcppad2: Sending WILL ECHO *Mar 1 01:50:28.891: PAD2: Output X29 packet type 0 (Parameter indication) len 9
2:0, 4:1, 15:0, 7:21,
Router2#show x25 vc
SVC 1, State: D1, Interface: Serial0
Started 00:00:25, last input 00:00:22, output 00:00:22
Line: 2 vty 0 Location: Host: 10.0.0.6
connected to 123 PAD <--> X25
Window size input: 2, output: 2
Packet size input: 128, output: 128
PS: 5 PR: 4 ACK: 4 Remote PR: 5 RCNT: 0 RNR: no
P/D state timeouts: 0 timer (secs): 0
data bytes 57/62 packets 5/4 Resets 0/0 RNRs 0/0 REJs 0/0 INTs 0/0
Router2#
このテストでは、ルータ 3 から ルータ 2 の X.25 アドレスにパケット アセンブラ/ディスアセンブラ(PAD)セッションを開始します。
ルータ 3 から 345 に PAD を実行します。
Router2は、Router1に到達するためにX.25からTCPへの変換を行います。出力は次のとおりです。
Router2#show debug
TCP:
TCP special event debugging is on
X.29 PAD:
X25 PAD debugging is on
X.25:
X.25 special event debugging is on
Protocol translation:
Protocol Translation debugging is on
Router2#
Router3#pad 345
Trying 345...Open
Trying 10.0.0.6 ... Open
User Access Verification
Password: CCCC
Router1>
Router2#
*Mar 1 01:51:31.475: Serial0: X.25 I R1 Call (12) 8 lci 1024
*Mar 1 01:51:31.479: From (3): 123 To (3): 345
*Mar 1 01:51:31.483: Facilities: (0)
*Mar 1 01:51:31.483: Call User Data (4): 0x01000000 (pad)
*Mar 1 01:51:31.487: PAD: translate call to 345
*Mar 1 01:51:31.491: Call User Data (4): 0x01000000 (pad)
*Mar 1 01:51:31.495: PAD: Creating proto translation on tty2 for vc 1024
*Mar 1 01:51:31.499: Serial0: X.25 O R1 Call Confirm (5) 8 lci 1024
*Mar 1 01:51:31.503: From (0): To (0):
*Mar 1 01:51:31.503: Facilities: (0)
*Mar 1 01:51:31.507: PAD2: Call completed
*Mar 1 01:51:31.511: padtcp2: fork started
*Mar 1 01:51:31.515: PAD2: Output X29 packet type 4 (Read X.3 param) len 1
*Mar 1 01:51:31.523: TCB0049E7A4 created
*Mar 1 01:51:31.523: TCB0049E7A4 setting property TCP_TOS (11) 49C853
*Mar 1 01:51:31.527: TCB0049E7A4 bound to UNKNOWN.44034
*Mar 1 01:51:31.531: PAD2: Control packet received.
*Mar 1 01:51:31.531: TCP: sending SYN, seq 3401534831, ack 0
*Mar 1 01:51:31.535: TCP2: Connection to 10.0.0.6:23, advertising MSS 1460
*Mar 1 01:51:31.539: TCP2: state was CLOSED -> SYNSENT [44034 -> 10.0.0.6(23)]
*Mar 1 01:51:31.559: TCP2: state was SYNSENT -> ESTAB [44034 -> 10.0.0.6(23)]
*Mar 1 01:51:31.563: TCP2: Connection to 10.0.0.6:23, received MSS 1460, MSS is 1460
*Mar 1 01:51:31.567: TCB0049E7A4 connected to 10.0.0.6.23
*Mar 1 01:51:31.571: PAD2: Input X29 packet type 0 (Parameter indication) len 45
1:1, 2:1, 3:2, 4:1, 5:0, 6:0, 7:4,
8:0, 9:0, 10:0, 11:14, 12:0, 13:0, 14:0, 15:0,
16:127, 17:21, 18:18, 19:0, 20:0, 21:0, 22:0,
*Mar 1 01:51:31.583: PAD2: Setting ParamsIn, length 44
*Mar 1 01:51:31.587: PAD2: Output X29 packet type 6 (Set and Read) len 9
2:0, 4:1, 15:0, 7:21, *Mar 1 01:51:31.599: PADTCP2: Telnet received WILL ECHO (1) *Mar 1 01:51:31.599: PAD2: Control packet received. *Mar 1 01:51:31.607: PADTCP2: Telnet received DO TTY-TYPE (24) *Mar 1 01:51:31.611: PAD2: Output X29 packet type 6 (Set and Read) len 3 2:0, *Mar 1 01:51:31.619: PAD2: Input *Mar 1 01:51:31.619: PAD2: Control packet received.X29 packet type 0
(Parameter indication) len 9 2:0, 4:1, 15:0, 7:21,
*Mar 1 01:51:31.627: PAD2: Setting ParamsIn, length 8
*Mar 1 01:51:31.631: PAD2: Input X29 packet type 0 (Parameter indication) len 3 2:0,
*Mar 1 01:51:31.635: PAD2: Setting ParamsIn, length 2
*Mar 1 01:51:31.643: PADTCP2: Telnet received DONT TTY-LOCATION (23)
*Mar 1 01:51:31.647: PADTCP2: Telnet received DONT TTY-SPEED (32)
Router2#
Router2#show x25 vc
SVC 1024, State: D1, Interface: Serial0
Started 00:00:10, last input 00:00:07, output 00:00:05
Line: 2 vty 0 Location: Host: 123
123 connected to 345 PAD <--> X25
Window size input: 2, output: 2
Packet size input: 128, output: 128
PS: 1 PR: 6 ACK: 6 Remote PR: 1 RCNT: 0 RNR: no
P/D state timeouts: 0 timer (secs): 0
data bytes 3057/60 packets 33/6 Resets 0/0 RNRs 0/0 REJs 0/0 INTs 0/0
Router2#
Router2#
debug コマンドを使用する前に、『debug コマンドの重要な情報』を参照してください。
現在、この設定に関する特定のトラブルシューティング情報はありません。
| 改定 | 発行日 | コメント |
|---|---|---|
1.0 |
12-Dec-2007 |
初版 |