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 技术提示规则。
本部分提供有关如何配置本文档所述功能的信息。
注:要查找有关本文档中使用的命令的其他信息,请使用命令查找工具(仅注册客户)。
本文档使用以下网络设置:
本文档使用以下配置:
基尔科 |
---|
Building configuration ! version 12.1 service timestamps debug datetime msec ! hostname kilcot ! ! 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 |
政党 |
---|
Building configuration... version 12.1 ! service timestamps debug datetime msec ! hostname party ! 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 |
本部分提供的信息可帮助您确认您的配置是否可正常运行。
命令输出解释程序工具(仅限注册用户)支持某些 show 命令,使用此工具可以查看对 show 命令输出的分析。
show bstun
show bsc
kilcot#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. kilcot#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 party#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. party#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 bstun packet/event和debug bsc packet/event 输出已被复制到日志文件。当您解释此debug输出时:
Serial Data Incoming (SDI) -从同步数据链路控制(SDLC)接口接收的数据包。
Network Data Incoming (NDI) - 从广域网解封装的数据包。
注意:在发出debug命令之前,请参阅有关debug命令的重要信息。
kilcot#show log Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns) Console logging: disabled Monitor logging: level debugging, 0 messages logged Buffer logging: level debugging, 5088 messages logged Trap logging: level informational, 70 message lines logged Log Buffer (100000 bytes): Dec 28 09:43:21.748: BSC: Serial1/0: POLLEE-FSM event: E_LineUp old_state: CU_Down. new_state: CU_Idle. Dec 28 09:43:21.756: BSC: Serial1/0: SDI-rx: Data (5 bytes): 40407F7F2D Dec 28 09:43:36.756: BSTUN bsc-local-ack: Serial1/0 SDI: Data: 401100 Dec 28 09:43:36.756: BSTUN: Change state for peer (all[72])200.2.2.2/1976 (closed->opening) Dec 28 09:43:36.756: BSC: Serial1/0: POLLEE-FSM event: E_RxEnq Dec 28 09:43:36.760: BSTUN: Change state for peer (all[72])200.2.2.2/1976 (opening->open wait) Dec 28 09:43:36.764: %BSTUN-6-OPENING: CONN: opening peer (all[72])200.2.2.2/1976, 3 Dec 28 09:43:36.792: bsttcpd_connect: Refreshing tcp_encaps for group 72 Dec 28 09:43:36.792: %BSTUN-6-OPENED: CONN: peer (all[72])200.2.2.2/1976 opened, [previous state open wait] Dec 28 09:43:36.792: BSTUN: Change state for peer (all[72])200.2.2.2/1976 (open wait->open) Dec 28 09:43:36.844: BSTUN bsc-local-ack: Serial1/0 NDI: Data: 401400 Dec 28 09:43:36.848: BSC: Serial1/0: NDI-rx: Data (3 bytes): 401400 Dec 28 09:43:37.640: %SYS-5-CONFIG_I: Configured from console by vty0 party#show log Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns) Console logging: disabled Monitor logging: level debugging, 114 messages logged Logging to: vty2(114) Buffer logging: level debugging, 5199 messages logged Trap logging: level informational, 79 message lines logged Log Buffer (100000 bytes): ec 28 09:48:09.816: %BSTUN-6-PASSIVEOPEN: passive open 100.1.1.1(11017) -> 1976 Dec 28 09:48:09.836: %BSTUN-6-OPENED: PHDR: peer (all[72])100.1.1.1/1976 opened, [previous state closed] Dec 28 09:48:09.836: BSTUN: Change state for peer (all[72])100.1.1.1/1976 (closed->open) Dec 28 09:48:09.836: BSTUN bsc-local-ack: Serial0 NDI: Data: 401100 Dec 28 09:48:09.836: BSC: Serial0: NDI-rx: Data (3 bytes): 401100 Dec 28 09:48:09.836: BSTUN bsc-local-ack: Serial0 SDI: Data: 401400 Dec 28 09:48:09.836: BSC: Serial0: SDI-tx: Data (10 bytes): 37FF32323240407F7F2D