Using BSTUN
Problem
You want to connect two Bisync (BSC) devices through an IP network.
Solution
This pair of router configurations shows how to define a tunnel connecting two serial ports supporting Bisync (BSC or Binary Synchronous Communications) devices:
BSTUN-A#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. BSTUN-A(config)#interface
BSTUN-A(config-if)#
Loopback0
ip address
BSTUN-A(config-if)#
10.1.16.5 255.255.255.252
exit
BSTUN-A(config)#bstun peer-name
BSTUN-A(config)#
10.1.16.5
bstun protocol-group
1
bsc
BSTUN-A(config)#interface
BSTUN-A(config-if)#
Serial1
encapsulation bstun
BSTUN-A(config-if)#clock rate
BSTUN-A(config-if)#
19200
bstun group
BSTUN-A(config-if)#
1
bsc char-set ebcdic
BSTUN-A(config-if)#bsc secondary
BSTUN-A(config-if)#bstun route all tcp
BSTUN-A(config-if)#
10.1.16.9
exit
BSTUN-A(config)#end
BSTUN-A#
And the configuration of the second router is similar:
BSTUN-B#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. BSTUN-B(config)#interface
BSTUN-B(config-if)#
Loopback0
ip address
BSTUN-B(config-if)#
10.1.16.9 255.255.255.252
exit
BSTUN-B(config)#bstun peer-name
BSTUN-B(config)#
10.1.16.9
bstun protocol-group
1
bsc
BSTUN-B(config)#interface
BSTUN-B(config-if)#
Serial1
encapsulation bstun
BSTUN-B(config-if)#clock rate
BSTUN-B(config-if)#
19200
bstun group
BSTUN-B(config-if)#
1
bsc char-set ebcdic
BSTUN-B(config-if)#bsc primary
BSTUN-B(config-if)#bstun route all tcp
BSTUN-B(config-if)#
10.1.16.5
exit
BSTUN-B(config)# ...
Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.