Bisync序列通道(BSTUN)功能支援使用Bisync資料連結通訊協定的裝置。此通訊協定允許企業透過支援其系統網路架構(SNA)和多通訊協定流量的同一網路傳輸Bisync流量,消除對獨立Bisync設施的需要。通過幀中繼,您可以使用本地確認功能在BSTUN對等體上提供會話的本地終止。
在本示例中,BSTUN點對點使用幀中繼本地確認進行配置。show bstun命令輸出中的相關狀態在本文檔中突出顯示。
註:雖然debug bstun packet/event和debug bsc packet/event命令不應導致CPU使用率過高,但使用logging buffered命令將輸出複製到日誌檔案。
本文件沒有特定需求。
本檔案中的資訊是根據Cisco IOS®軟體版本12.1(5)。
如需文件慣例的詳細資訊,請參閱思科技術提示慣例。
本節提供用於設定本文件中所述功能的資訊。
注意:要查詢有關本文檔中使用的命令的其他資訊,請使用命令查詢工具(僅限註冊客戶)。
本檔案會使用以下網路設定:
本檔案會使用以下設定:
基爾科特 |
---|
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輸出時:
序列資料傳入(SDI) — 從同步資料連結控制(SDLC)介面接收的封包。
網路資料傳入(NDI) — 從WAN解封裝的資料包。
注意:發出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