Bisync Serial Tunnel (BSTUN)功能使得支持使用双同步数据链路协议的设备。此协议使得企业在支持他们的系统网络体系结构(SNA)和多协议数据流的同一个网络上传输Bisync数据流,减少对独立的双同步设备的需求。使用帧中继,您可以使用本地确认功能提供会话在BSTUN对等体的本地终接。
在本例中,使用帧中继为 BSTUN 点对点配置了本地确认功能。本文档突出显示了 show bstun 命令输出中的相关状态。
注意:虽然debug bstun packet/event和debug bsc packet/event命令不应导致CPU使用率过高,但logging buffered 命令用于将输出复制到日志文件。
本文档没有任何特定的要求。
本文档中的信息基于Cisco IOS®软件版本12.1(5)。
本文档中的信息都是基于特定实验室环境中的设备编写的。本文档中使用的所有设备最初均采用原始(默认)配置。如果您使用的是真实网络,请确保您已经了解所有命令的潜在影响。
有关文档规则的详细信息,请参阅 Cisco 技术提示规则。
本部分提供有关如何配置本文档所述功能的信息。
注意:使用命令查找工具(仅限注册客户)可查找有关本文档中使用的命令的详细信息。
本文档使用以下网络设置:
本文档使用以下配置:
Blutch |
---|
Building configuration ! version 12.1 service timestamps debug datetime msec ! hostname Blutch ! ! bstun peer-name 100.1.1.1 bstun protocol-group 72 bsc-local-ack ! ! interface Loopback0 ip address 100.1.1.1 255.0.0.0 ! interface Serial0/0 ip address 10.1.1.1 255.0.0.0 encapsulation frame-relay no ip mroute-cache frame-relay interface-dlci 16 frame-relay lmi-type ansi ! interface Serial1/0 no ip address ip directed-broadcast encapsulation bstun no ip mroute-cache no keepalive full-duplex clockrate 9600 bstun group 72 bsc secondary bstun route all tcp 200.2.2.2 ! ! router rip network 10.0.0.0 network 100.0.0.0 ! end |
Newbury |
---|
Building configuration... version 12.1 ! service timestamps debug datetime msec ! hostname Newbury ! bstun peer-name 200.2.2.2 bstun protocol-group 72 bsc-local-ack ! ! interface Loopback0 ip address 200.2.2.2 255.255.255.0 ! interface Serial0 no ip address encapsulation bstun load-interval 30 no keepalive full-duplex clockrate 9600 bstun group 72 bsc primary bstun route all tcp 100.1.1.1 ! interface Serial1 ip address 10.1.1.2 255.0.0.0 encapsulation frame-relay IETF no ip mroute-cache frame-relay interface-dlci 17 frame-relay lmi-type ansi ! ! router rip network 10.0.0.0 network 200.2.2.0 ! end |
使用本部分可确认配置能否正常运行。
命令输出解释程序(仅限注册用户)(OIT) 支持某些 show 命令。使用 OIT 可查看对 show 命令输出的分析。
show bstun
show bsc
Blutch #show bsc BSC local-ack on Serial1/0: secondary state is CU_Idle. Control units on this interface: Poll address: 40. Select address: 60 *CURRENT-CU* State is Initializing. Tx Counts: 0 frames(total). 0 frames(data). 0 bytes. Rx Counts: 3 frames(total). 0 frames(data). 15 bytes. Total Tx Counts: 0 frames(total). 0 frames(data). 0 bytes. Total Rx Counts: 19 frames(total). 0 frames(data). 59 bytes. Blutch #show bstun This peer: 100.1.1.1 *Serial1/0 (group 72 [bsc-local-ack]) route transport address dlci lsap state rx_pkts tx_pkts drops all TCP 200.2.2.2 open 1 3 0 Newbury #show bsc BSC local-ack on Serial0: primary state is TCU_Polled. Control units on this interface: Poll address: 40. Select address: 60 *CURRENT-CU* State is Inactive. Tx Counts: 126 frames(total). 0 frames(data). 378 bytes. Rx Counts: 0 frames(total). 0 frames(data). 0 bytes. Total Tx Counts: 126 frames(total). 0 frames(data). 378 bytes. Total Rx Counts: 0 frames(total). 0 frames(data). 0 bytes. Newbury #show bstun This peer: 200.2.2.2 *Serial0 (group 72 [bsc-local-ack]) route transport address dlci lsap state rx_pkts tx_pkts drops all TCP 100.1.1.1 open 3 2 0
本部分提供的信息可用于对配置进行故障排除。
注意:在使用debug命令之前,请参阅有关Debug命令的重要信息。
debug bstun packet/event
debug bsc packet/event
注意:当解释此debug命令输出时:
SDI(传入的串行数据)- 从同步数据链路控制 (SDLC) 接口接收的数据包/
NDI:(传入的网络数据)- 从 WAN 解封的数据包。
blutch#debug bstun event BSTUN event debugging is on blutch#debug bstun packet BSTUN packet debugging is on blutch# Aug 26 11:29:04.534: BSTUN bsc: Serial0 SDI: Data: 40520040407F7F2D Aug 26 11:29:04.570: BSTUN bsc: Serial0 NDI: Data: 40D20037 Aug 26 11:29:04.734: BSTUN bsc: Serial0 SDI: Data: 40530040407F7F2D Aug 26 11:29:04.770: BSTUN bsc: Serial0 NDI: Data: 40D30037 Aug 26 11:29:04.934: BSTUN bsc: Serial0 SDI: Data: 40540040407F7F2D Aug 26 11:29:04.970: BSTUN bsc: Serial0 NDI: Data: 40D40037 Aug 26 11:29:05.134: BSTUN bsc: Serial0 SDI: Data: 40550040407F7F2D Aug 26 11:29:05.170: BSTUN bsc: Serial0 NDI: Data: 40D50037 Aug 26 11:29:05.334: BSTUN bsc: Serial0 SDI: Data: 40560040407F7F2D Aug 26 11:29:05.370: BSTUN bsc: Serial0 NDI: Data: 40D60037 Aug 26 11:29:05.534: BSTUN bsc: Serial0 SDI: Data: 40570040407F7F2D Aug 26 11:29:05.570: BSTUN bsc: Serial0 NDI: Data: 40D70037 Aug 26 11:29:05.734: BSTUN bsc: Serial0 SDI: Data: 40580040407F7F2D Aug 26 11:29:05.770: BSTUN bsc: Serial0 NDI: Data: 40D80037 Aug 26 11:29:05.934: BSTUN bsc: Serial0 SDI: Data: 40590040407F7F2D Aug 26 11:29:05.970: BSTUN bsc: Serial0 NDI: Data: 40D90037 Aug 26 11:29:06.134: BSTUN bsc: Serial0 SDI: Data: 405A0040407F7F2D Aug 26 11:29:06.170: BSTUN bsc: Serial0 NDI: Data: 40DA0037 Aug 26 11:29:06.334: BSTUN bsc: Serial0 SDI: Data: 405B0040407F7F2D Aug 26 11:29:06.370: BSTUN bsc: Serial0 NDI: Data: 40DB0037 newbury#debug bstun event BSTUN event debugging is on newbury#debug bstun packet BSTUN packet debugging is on newbury# Aug 26 11:26:24.968: BSTUN bsc: Serial0 NDI: Data: 40780040407F7F2D Aug 26 11:26:24.992: BSTUN bsc: Serial0 SDI: Data: 40F80037 Aug 26 11:26:25.148: BSTUN bsc: Serial0 NDI: Data: 40790040407F7F2D Aug 26 11:26:25.172: BSTUN bsc: Serial0 SDI: Data: 40F90037 Aug 26 11:26:25.348: BSTUN bsc: Serial0 NDI: Data: 407A0040407F7F2D Aug 26 11:26:25.372: BSTUN bsc: Serial0 SDI: Data: 40FA0037 Aug 26 11:26:25.548: BSTUN bsc: Serial0 NDI: Data: 407B0040407F7F2D Aug 26 11:26:25.572: BSTUN bsc: Serial0 SDI: Data: 40FB0037 Aug 26 11:26:25.748: BSTUN bsc: Serial0 NDI: Data: 407C0040407F7F2D Aug 26 11:26:25.772: BSTUN bsc: Serial0 SDI: Data: 40FC0037 Aug 26 11:26:25.948: BSTUN bsc: Serial0 NDI: Data: 407D0040407F7F2D Aug 26 11:26:25.972: BSTUN bsc: Serial0 SDI: Data: 40FD0037 Aug 26 11:26:26.148: BSTUN bsc: Serial0 NDI: Data: 407E0040407F7F2D Aug 26 11:26:26.172: BSTUN bsc: Serial0 SDI: Data: 40FE0037 Aug 26 11:26:26.348: BSTUN bsc: Serial0 NDI: Data: 407F0040407F7F2D Aug 26 11:26:26.372: BSTUN bsc: Serial0 SDI: Data: 40FF0037 Aug 26 11:26:26.548: BSTUN bsc: Serial0 NDI: Data: 40400040407F7F2D Aug 26 11:26:26.572: BSTUN bsc: Serial0 SDI: Data: 40C00037 Aug 26 11:26:26.748: BSTUN bsc: Serial0 NDI: Data: 40410040407F7F2D Aug 26 11:26:26.772: BSTUN bsc: Serial0 SDI: Data: 40C10037