Typical Configuration Of XOT on AR28、AR46 Series Routers
[Requirements]
RTA and RTD are the X.25 terminals and connected to the X.25 switching RTB and RTC. TCP connection is set up in between, and transmits X.25 packets.
[Networking diagram]
[Configuration script]
Configuration script (RTA)
#
sysname RTA
#
radius scheme system
#
domain system
#
interface Serial2/0/0
link-protocol x25
x25 x121-address 1111 /Configure the local x121 address/
x25 map ip 1.1.1.2 x121-address 2222 /Configure static address mapping to RTD/
ip address 1.1.1.1 255.255.255.0
#
interface NULL0
#
user-interface con 0
user-interface vty 0 4
#
return
Configuration script (RTB)
#
sysname RTB
#
x25 switching /Enable X.25 switching/
#
radius scheme system
#
domain system
#
interface Serial2/0/0
link-protocol x25 dce /Set X.25 working in the DCE mode/
#
interface Serial2/0/1
link-protocol ppp
ip address 10.1.1.1 255.255.255.0
#
interface NULL0
#
x25 switch svc 2222 xot 10.1.1.2 /Configure XOT switching of X.25/
x25 switch svc 1111 interface Serial2/0/0 /Configure local switching of X.25/
#
user-interface con 0
user-interface vty 0 4
#
return
Configuration script (RTC)
#
sysname RTC
#
x25 switching /Enable X.25 switching/
#
radius scheme system
#
domain system
#
interface Serial2/0/0
link-protocol ppp
ip address 10.1.1.2 255.255.255.0
#
interface Serial2/0/1
link-protocol x25 dce /Set X.25 working in the DCE mode/
#
interface NULL0
#
x25 switch svc 2222 interface Serial2/0/1 /Configure local switching of X.25/
x25 switch svc 1111 xot 10.1.1.1 /Configure XOT switching of X.25/
#
user-interface con 0
user-interface vty 0 4
#
return
Configuration script (RTD)
#
sysname RTD
#
radius scheme system
#
domain system
#
interface Serial2/0/0
link-protocol x25
x25 x121-address 2222 /Configure the local x121 address/
x25 map ip 1.1.1.1 x121-address 1111 /Configure static address mapping to RTA/
ip address 1.1.1.2 255.255.255.0
#
interface NULL0
#
user-interface con 0
user-interface vty 0 4
#
return
[Verification]
X.25 vc information on RTA:
<RTA>disp x25 vc
Interface: Serial2/0/0
SVC 1
State: P4(transmit)
Map: ip 1.1.1.2 to 2222
Window size: input 2 output 2
Packet Size: input 128 output 128
Local PS: 5 Local PR: 5 Remote PS: 5 Remote PR: 4
Local Busy: FALSE Reset times: 0
Input/Output:
DATA 5/5 INTERRUPT 0/0
RR 0/0 RNR 0/0 REJ 0/0
Bytes 420/420
Send Queue(Current/Max): 0/200
X.25 XOT information on RTB:
[RTB]disp x25 xot
SVC 1024: ( ESTAB )
tcp peer ip: 10.1.1.2, peer port: 1025
tcp local ip: 10.1.1.1, local port: 1998
XoT interface name: Serial2/0/0-10.1.1.2
X25 interface name: Serial2/0/0
X.25 switching table information on RTB:
[RTB]disp x25 switch-table svc dynamic
#1 (In: Serial2/0/0-10.1.1.2 - SVC1024) <--> (Out: Serial2/0/0 - SVC1 )
[RTB]disp x25 switch-table svc sta
Number Destination Substitute-src Substitute-dst CUD SwitchTo(type/name)
1 2222 T/10.1.1.2
2 1111 I/Serial2/0/0
Total of static svc is 2.
The item type of SwitchTo meaning:
I: interface H: hunt-group T: xot
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作