Typical Configuration Of X.25 on AR28、AR46 Series Router--Connecting the Router to the X.25 PPSN
[Requirements]
RouterA serves as the headquarters, and the branches RouterB and RouterC are interconnected through the X.25 PPSN.
[Networking diagram]
[Configuration script]
Configuration script (RouterA)
#
sysname RouterA
#
radius scheme system
#
domain system
#
interface Serial1/0
link-protocol x25 /Set the encapsulation mode to X.25/
x25 x121-address 30561001 /Configure the local x121 address/
x25 vc-range bi-channel 1 16 /Set HTC to 16/
x25 map ip 168.173.24.2 x121-address 30561002 /Configure static address mapping to RouterB/
x25 map ip 168.173.24.3 x121-address 30561003 /Configure static address mapping to RouterC/
ip address 168.173.24.1 255.255.255.0
#
interface Ethernet0/0
ip address 192.168.1.1 255.255.255.0
#
interface NULL0
#
user-interface con 0
user-interface vty 0 4
#
return
Configuration script (RouterB)
#
sysname RouterB
#
radius scheme system
#
domain system
#
interface Serial1/0/0
link-protocol x25 /Set the encapsulation mode to X.25/
x25 x121-address 30561001 /Configure the local x121 address/
x25 vc-range bi-channel 1 16 /Set HTC to 16/
x25 map ip 168.173.24.1 x121-address 30561001 /Configure static address mapping to RouterA/
x25 map ip 168.173.24.3 x121-address 30561003 /Configure static address mapping to RouterC/
ip address 168.173.24.2 255.255.255.0
#
interface Ethernet0/0
ip address 192.168.2.1 255.255.255.0
#
interface NULL0
#
user-interface con 0
user-interface vty 0 4
#
return
Configuration script (RouterC)
#
sysname RouterC
#
radius scheme system
#
domain system
#
interface Serial1/0/0
link-protocol x25 /Set the encapsulation mode to X.25/
x25 x121-address 30561003 /Configure the local x121 address/
x25 vc-range bi-channel 1 16 /Set HTC to 16/
x25 map ip 168.173.24.1 x121-address 30561001 /Configure static address mapping to RouterA/
x25 map ip 168.173.24.2 x121-address 30561002 /Configure static address mapping to RouterB/
ip address 168.173.24.3 255.255.255.0
#
interface Ethernet0/0
ip address 192.168.3.1 255.255.255.0
#
interface NULL0
#
user-interface con 0
user-interface vty 0 4
#
return
Configuration script (Switch–SVC)
#
sysname switch
#
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 x25 dce /Set X.25 working in the DCE mode/
#
interface Serial2/0/2
link-protocol x25 dce /Set X.25 working in the DCE mode/
#
interface NULL0
#
x25 switch svc 30561001 interface Serial2/0/0 /Configure SVC routing/
x25 switch svc 30561002 interface Serial2/0/1
x25 switch svc 30561003 interface Serial2/0/2
#
user-interface con 0
user-interface vty 0 4
#
return
[Verification]
The headquarters can interwork with the branches.
X.25 vc information on RouterA:
<RouterA>disp x25 vc
Interface: Serial1/0
SVC 15
State: P4(transmit)
Map: ip 168.173.24.3 to 30561003
Window size: input 2 output 2
Packet Size: input 128 output 128
Local PS: 1 Local PR: 1 Remote PS: 0 Remote PR: 1
Local Busy: FALSE Reset times: 0
Input/Output:
DATA 1/1 INTERRUPT 0/0
RR 0/0 RNR 0/0 REJ 0/0
Bytes 84/84
Send Queue(Current/Max): 0/200
Interface: Serial1/0
SVC 16
State: P4(transmit)
Map: ip 168.173.24.2 to 30561002
Window size: input 2 output 2
Packet Size: input 128 output 128
Local PS: 1 Local PR: 1 Remote PS: 0 Remote PR: 1
Local Busy: FALSE Reset times: 0
Input/Output:
DATA 1/1 INTERRUPT 0/0
RR 0/0 RNR 0/0 REJ 0/0
Bytes 84/84
Send Queue(Current/Max): 0/200
X.25 route table information on the switch:
<switch>disp x25 switch-table svc dynamic
#1 (In: Serial2/0/0 - SVC16 ) <--> (Out: Serial2/0/1 - SVC1 )
#2 (In: Serial2/0/0 - SVC15 ) <--> (Out: Serial2/0/2 - SVC1 )
[Tip]
1. The X121 address is provided by the ISP, and is meaningful globally, similar to the telephone number.
2. The HTC parameter is also provided by the ISP, and defaults to [1,1024]. You must use the x25 vc-range bi-channel 1 16 command to change it to that value; otherwise, the equipment fails to ping the peer address.
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作