选择区域语言: EN CN HK

DLSW LLC2 典型配置指导

手册下载

 

 

DLSw LLC2特性

典型配置指导

Hangzhou H3C Technologies Co., Ltd.

杭州华三通信技术有限公司

All rights reserved

版权所有  侵权必究


 

1   特性介绍................................................................................................................................. 1

2   使用指南................................................................................................................................. 1

2.1    使用场合......................................................................................................................... 1

2.2    配置步骤......................................................................................................................... 1

2.2.1   DLSw的基础配置................................................................................................... 2

2.2.2   LLC2的相关配置.................................................................................................... 2

2.3    注意事项......................................................................................................................... 2

2.4    举例................................................................................................................................ 3

2.4.1   组网需求............................................................................................................... 3

2.4.2   组网图.................................................................................................................. 3

2.4.3   配置..................................................................................................................... 3

2.4.4   验证结果............................................................................................................... 6

2.4.5   故障排除............................................................................................................... 8

3   相关资料............................................................................................................................... 16

3.1    相关协议和标准.............................................................................................................. 16

3.2    其它相关资料................................................................................................................. 16

 


关键词:DLSwLLC2SDLC

    要:本文档主要介绍DLSw LLC2特性在LLC2-LLC2LLC2-SDLC组网方式下的配置和故障排除等内容。

缩略语:

缩略语

英文全名

中文解释

DLSw

Data Link Switching

数据链路交换

SDLC

Synchronous Data Link Control

同步数据链路控制

PU

Physical Unit

IBM设备中的物理单元

PU2.1

Physical Unit 2.1

物理单元为2.1类型的IBM设备

PU2.0

Physical Unit 2.0

物理单元为2.0类型的IBM设备

LLC2

Logic Link Control Type 2

逻辑链路控制类型2

 

1         特性介绍

LLC2802.2标准定义的面向连接的逻辑链路控制协议,它应用于以太口下,能够为以SNAAPPN为代表的IBM网络提供可靠的二层链路服务。与SDLC协议不同,LLC2不区分IBM的设备类型,也没有主从站的概念,即无论是主机还是PU2.0PU2.1等终端设备,LLC2都同等对待。

IBM网络里,LLC2的应用十分广泛,DLSw作为解决SNA网络与TCP/IP网络互通问题的方案,能支持LLC2协议。本文主要介绍在IBM网络里,如何配置DLSwLLC2特性,已实现IBM主机与终端设备之间以LLC2-LLC2方式或LLC2-SDLC方式互通。

2         使用指南

2.1        使用场合

在金融系统里,一般组网情况为:中心机房内有一台IBM主机(如S390大型机、AS/400小型机等),该IBM主机通过中心路由器跨广域网与分散在各地局点的边缘路由器相连,在边缘路由器上的终端设备通过DLSw方式进行通讯。

2.2        配置步骤

LLC2DLSw特性的一部分,所以完成LLC2的配置之前,应当首先保证DLSw的基础配置能够正确完成。

DLSw的基础配置包括在系统视图下:

l       创建DLSw本地对等体

l       远端对等体

l       关联桥组

在完成以上配置以后,才可在以太口视图下进行LLC2的相关配置,需要的基础配置为:

l       指定以太口连接桥组

2.2.1       DLSw的基础配置

步骤

操作说明

命令

1

创建DLSw本地对等体

Dlsw local ip-address [ init-window init-window-size ] [ keepalive keepalive-interval ] [ max-frame max-frame-size ] [ max-window max-window-size ] [ permit-dynamic ]

2

创建DLSw远端对等体

dlsw remote ip-address [ backup backup-address ] [ priority priority] [ keepalive keepalive-interval ] [ max-frame max-frame-size ] [ max-queue max-queue-length ] [ linger minutes ]

3

配置连接DLSw的桥组

dlsw bridge-set bridge-set-number

 

&  说明:

配置DLSw首先要配置dlsw local,然后才能配置其他命令,其中,IP地址是必须的,配置的IP地址必须是可达的本机的IP地址,当配置dlsw local命令时带上permit-dynamic参数,就意味着该路由器可以被动等待其他路由器与自己建立tcp连接,不使用dlsw remote命令创建DLSw远端对等体。

配置dlsw remote时,IP地址是必须的,配置的IP地址必须是可达的远端DLSw路由器的IP地址。

2.2.2       LLC2的相关配置

步骤

操作说明

命令

1

进入以太网接口视图

interface Ethernet interface-Ethernet-number

2

配置以太口连接桥组

bridge-set bridge-set-number

2.3        注意事项

在以太口视图下配置桥组时,命令行“bridge-set bridge-set-number”中的参数“bridge-set-number”与“dlsw bridge-set bridge-set-number”命令中的参数“bridge-set-number”必须一致。

2.4        举例

2.4.1       组网需求

IBM小型机AS/400AR4640通过以太口相连,它们之间运行LLC2协议;AR2830-a与一台PU2.1设备a通过以太口相连,它们之间运行LLC2协议;AR2830-b与另一台PU2.1设备b通过串口相连,该PU2.1设备的SDLC地址为oxc1,它们之间运行SDLC协议。AR4640AR2830-aAR2830-b之间跨广域网相连。

在这种组网方式下,AS/400PU2.1设备a之间以LLC2-LLC2的方式互通,AS/400PU2.1设备b之间以LLC2-SDLC的方式互通。

有关SDLC的配置步骤可参见《PU2.1环境下DLSW SDLC特性典型配置指导》。

2.4.2       组网图

1        DLSw LLC2-LLC2LLC2-SDLC方式互通示例组网图

由于实验环境限制,如上组网图所标示的IP地址并不是实际组网的广域网地址。在实际组网中,应当保证各个路由器DLSw所用到的IP地址是互通的。

2.4.3       配置

1.     使用的版本

1)    2830-a版本信息

<2830-a>vrbd

Routing Platform Software

Version AR28-30 8040V300R003B02D014 (COMWAREV300R002B13D004), RELEASE SOFTWARE

Compiled Jul 18 2005 16:16:19 by Houming

 

<2830-a>display version

 Copyright Notice:

 All rights reserved (Jul 18 2005).

 Without the owner's prior written consent, no decompiling

 nor reverse-engineering shall be allowed.

 H3C Comware Platform Software

 Comware software, Version 3.40, Release RT-0012

 Copyright (c) 2004-2006 Hangzhou H3C Tech Co.,Ltd. All rights reserved

.

H3C AR28-30 uptime is 0 week, 0 day, 0 hour, 1 minute

 

 CPU type: PowerPC 8245 300MHz

 128M bytes SDRAM Memory

 32M bytes Flash Memory

 128K bytes NvRAM Memory

 Pcb      Version:0.0

 Logic    Version:1.0

 BootROM  Version:9.09

  [SLOT 1] 2FE      (Hardware)2.0, (Driver)2.0, (Cpld)0.0

  [SLOT 2] 2SAE     (Hardware)0.1, (Driver)1.0, (Cpld)1.0

 

2)    2830-版本信息

<2830-b>vrbd

Routing Platform Software

Version AR28-30 8040V300R003B02D014 (COMWAREV300R002B13D004), RELEASE SOFTWARE

Compiled Jul 18 2005 16:16:19 by Houming

<2830-b>display version

 Copyright Notice:

 All rights reserved (Jul 18 2005).

 Without the owner's prior written consent, no decompiling

 nor reverse-engineering shall be allowed.

 H3C Comware Platform Software

 Comware(R) software, Version 3.40, Release RT-0012

 Copyright (c) 2004-2006 Hangzhou H3C Tech. Co.,Ltd. All rights reserved.

H3C AR28-30 uptime is 0 week, 0 day, 0 hour, 5 minutes

 CPU type: PowerPC 8245 300MHz

 128M bytes SDRAM Memory

 32M bytes Flash Memory

 128K bytes NvRAM Memory

 Pcb      Version:0.0

 Logic    Version:1.0

 BootROM  Version:9.09

  [SLOT 1] 2SAE     (Hardware)0.1, (Driver)1.0, (Cpld)2.0

  [SLOT 2] 2FE      (Hardware)2.1, (Driver)2.0, (Cpld)0.0

3)    4640版本信息

<4640>vrbd

Routing Platform Software

Version AR46-40 8040V300R003B02D014 (COMWAREV300R002B13D004), RELEASE SOFTWARE

Compiled Jul 18 2005 16:06:30 by Houming

<4640>display version

 Copyright Notice:

 All rights reserved (Jul 18 2005).

 Without the owner's prior written consent, no decompiling

 nor reverse-engineering shall be allowed.

 H3C Comware Platform Software

 Comware software, Version 3.40, Release RT-0012

 Copyright (c) 2004-2006 Hangzhou H3C Tech. Co.,Ltd. All rights reserved.

H3C AR46-40 uptime is 0 week, 0 day, 0 hour, 7 minutes

 Rpu's version information:

 Router AR46-40 with 1 PowerPC 750 Processor

 256M     bytes SDRAM

 32M      bytes FLASH

 512K     bytes NVRAM

 Pcb      Version : RTM1RPUA.1

 RPE Logic Version : RPE3.4

 SBG Logic Version : 012

 Small BootROM  Version :  3.04

 Big BootROM  Version :  5.12

 Config Register points to FLASH

 

  [SLOT 0] AUX0     (Hardware)A.1, (Driver)1.0, (Cpld)3.4

  [SLOT 0] ETH0     (Hardware)A.1, (Driver)1.0, (Cpld)3.4

  [SLOT 0] ETH1     (Hardware)A.1, (Driver)1.0, (Cpld)3.4

  [SLOT 1] 2FE      (Hardware)2.1, (Driver)2.0, (Cpld)0.0

  [SLOT 2] 1FE      (Hardware)2.0, (Driver)2.0, (Cpld)0.0

  [SLOT 3] 4SAE     (Hardware)0.1, (Driver)1.0, (Cpld)1.0

2.     配置路由器4640

1     4640命令配置

当前视图

配置命令

简单说明

[4640]

Interface ethernet 0/0/0

进入以太口0/0/0模式

[4640-Ethernet 0/0/0]

ip add 1.1.1.1 24

配置1.1.1.1作为该以太口ip地址

[4640-Ethernet 0/0/0]

quit

从以太口0/0/0模式退回到系统视图

[4640]

dlsw local 1.1.1.1 permit-dynamic

创建本地实体,1.1.1.1是路由器4640eth0/0/0上的IP地址,并且配置为动态学习模式

[4640]

dlsw bridge-set 1

配置dlsw 关联桥组1

[4640]

Interface ethernet 0/0/1

进入以太口0/0/1模式

[4640-Ethernet 0/0/1]

bridge-set 1

将以太口0/0/1关联桥组1

3.     配置路由器2830-a

2     2830-a命令配置

当前视图

配置命令

简单说明

[2830-a]

Interface ethernet 1/0

进入以太口1/0模式

[2830-a-Ethernet 1/0]

Ip address 1.1.1.3 24

配置1.1.1.3作为该以太口ip地址

[2830-a-Ethernet 1/0]

quit

从以太口1/0模式退回到系统视图

[2830-a]

dlsw local 1.1.1.3

创建本地实体,1.1.1.3是路由器2830-a上以太口1/0IP地址

[2830-a]

dlsw remote 1.1.1.1

创建远端对等体,1.1.1.1是远端路由器4640上的可达IP地址

[2830-a]

dlsw bridge-set 1

配置dlsw 关联桥组1

[2830-a]

Interface ethernet 1/1

进入以太口1/1模式

[2830-a-Ethernet 1/1]

bridge-set 1

将以太口1/1关联桥组1

4.     配置路由器2830-b

3     2830-b命令配置

当前视图

配置命令

简单说明

[2830-b]

Interface ethernet 0/0

进入以太口0/0模式

[2830-b-Ethernet 0/0]

Ip address 1.1.1.2 24

配置1.1.1.2作为该以太口ip地址

[2830-b-Ethernet 0/0]

quit

从以太口0/0模式退回到系统视图

[2830-b]

dlsw local 1.1.1.2

创建本地实体,1.1.1.2是路由器2830-b以太口0/0IP地址

[2830-b]

dlsw remote 1.1.1.1

创建远端对等体,1.1.1.1是远端路由器4640上的可达IP地址

[2830-b]

dlsw bridge-set 1

配置dlsw 关联桥组1

[2830-b]

Interface serial 1/0

进入串口1/0模式

[2830-b-Serial 1/0]

link-protocol sdlc

串口封装sdlc协议

[2830-b-Serial 1/0]

sdlc status primary

sdlc角色指定为主站

[2830-b-Serial 1/0]

sdlc mac-map local 0000-0001-0000

配置2830-b sdlcmac地址

[2830-b-Serial 1/0]

sdlc controller c1

配置sdlc地址c1

[2830-b-Serial 1/0]

sdlc mac-map remote 0020-357b-e065 c1

配置c2地址下对应的远端对等体AS/400mac地址

0020-357b-e065AS/400的令牌序mac地址

[2830-b-Serial 1/0]

bridge-set 1

将串口1/0关联桥组1

[2830-b-Serial 1/0]

undo detect dsr-dtr

取消DCE端对端口的检测

2.4.4       验证结果

1)    4640验证结果

<4640>dis dlsw remote

IP address     frame-in   frame-out  frame-dop     state         life-time

* 1.1.1.2            53          65          0         CONNECT    00:18:07

* 1.1.1.3            65          65          0         CONNECT    00:15:59

<4640>display dlsw reachable

LOCAL MAC addresses in cache

---------------------------------------------------------------------

 MAC address       Status           Interface            Remain time

 0020.357b.e065    FOUND            Ethernet0/0/1        9

 

REMOTE MAC addresses in cache:

---------------------------------------------------------------------

 MAC address       Status          Peer                  Remain time

 0000.1722.3435    FOUND             1.1.1.3              8

 0000.0001.00c1    FOUND             1.1.1.2              14

 <4640>display dlsw circuit

Cir-Id       Port      Local-MAC       Remote-MAC        State    Lifetime

b70002 Ethernet0/0/1 0020.357b.e065 0000.1722.3435 CONNECTED     00:02:09

d70003 Ethernet0/0/1 0020.357b.e065 0000.0001.00c1 CONNECTED     00:00:45

2)    2830-a验证结果

<2830-a>display dlsw remote

IP address     frame-in    frame-out   frame-dop      state      life-time

* 1.1.1.1           44         42            0          CONNECT  00:11:14

<2830-a>display dlsw reachable

LOCAL MAC addresses in cache

---------------------------------------------------------------------

 MAC address       Status           Interface            Remain time

 0000.1722.3435    FOUND            Ethernet1/1          14

REMOTE MAC addresses in cache:

---------------------------------------------------------------------

 MAC address       Status          Peer                  Remain time

 0020.357b.e065    FOUND             1.1.1.1              14

<2830-a>display dlsw circuit

Cir-Id        Port      Local-MAC       Remote-MAC       State     Lifetime

b70001 Ethernet1/1   0000.1722.3435 0020.357b.e065 CONNECTED    00:00:33

3)    2830-b验证结果

<2830-b>display dlsw remote

IP address     frame-in    frame-out   frame-dop     state       life-time

* 1.1.1.1          63           51          0         CONNECT    00:17:50

<2830-b>display dlsw reachable

LOCAL MAC addresses in cache

---------------------------------------------------------------------

 MAC address       Status           Interface            Remain time

 0000.0001.00c1    FOUND            Serial1/0            15

 

REMOTE MAC addresses in cache:

---------------------------------------------------------------------

 MAC address       Status                  Peer                  Remain time

 0020.357b.e065    FOUND             1.1.1.1              15

 

<2830-b>display dlsw circuit

Cir-Id       Port     Local-MAC    Remote-MAC         State      Lifetime

d70006 Serial1/0     0000.0001.00c1 0020.357b.e065 CONNECTED       00:00:23

 

<2830-b>display interface serial 1/0

Serial1/0 current state :UP

Line protocol current state :UP

Description : Serial1/0 Interface

The Maximum Transmit Unit is 1500, Hold timer is 10(sec)

Internet protocol processing : disabled

link-protocol is SDLC

Local Mac is 0000.0001.0000

SDLC Status is Primary

Poll Timer is 1000ms

Max-Send-Queue:50  Window:7

Ack-Timer:3000ms  Life-Time-Timer:500ms

Max-PDU:265  Max-Transmission:20

    SDLC Controller:C1  State is SDLC_CONNECT

    XID:00000000  Local-Sap:04  Remote-Sap:04

Output queue : (Urgent queuing : Size/Length/Discards)  0/50/0

Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0

Output queue : (FIFO queuing : Size/Length/Discards)  0/75/0

Physical layer is synchronous,Baudrate is 64000 bps

Interface is DCE, Cable type is V24

Last clearing of counters: Never

    Last 300 seconds input rate 0.02 bytes/sec, 0 bits/sec, 0.01 packets/sec

    Last 300 seconds output rate 0.34 bytes/sec, 2 bits/sec, 0.17 packets/sec

    Input: 46 packets, 388 bytes

           0 broadcasts, 0 multicasts

           0 errors, 0 runts, 0 giants

           0 CRC, 0 align errors, 0 overruns

           0 dribbles, 0 aborts, 0 no buffers

           0 frame errors

    Output:219 packets, 712 bytes

           0 errors, 0 underruns, 0 collisions

           0 deferred

    DCD=UP  DTR=UP  DSR=UP  RTS=DOWN  CTS=UP

2.4.5       故障排除

1.    调试信息解析

对于使用LLC2功能的路由器,在DLSw电路建立过程中,可以在用户视图下打开“debugging dlsw circuit”和“debugging llc2 packet”观察电路建立和报文的收发情况。

对于使用SDLC功能的路由器,在DLSw电路建立过程中,可以在用户视图下打开“debugging dlsw circuit”和“debugging sdlc packet”观察电路建立和报文的收发情况。

1)    4640DLSW电路调试信息

<4640>debugging dlsw circuit

<4640>terminal debugging

<4640>terminal monitor

*0.1502690 4640 DLSW/8/CIR:

DLSW FSM, Circuit b70002:

    Event  RCV_CANUREACH_CS #收到远端实体发来的 CANUREACH_CS报文

    State  DISCONNECTED  -->  RESOLVE_PENDING.#电路状态变为RESOLVE_PENDING

    Action LLC2_CTRL_TEST_CMD.#AS/400发送test命令

 

*0.1502690 4640 DLSW/8/CIR:

DLSW FSM, Circuit b70002:

    Event  DLC_DL_STARTED#收到AS/400test res回复

    State  RESOLVE_PENDING  -->  CIRCUIT_PENDING.#电路状态变为CIRCUIT_PENDING

    Action SSP_TYPE_ICANREACH_CS.#向远端回复ICANREACH_CS报文

*0.1502980 4640 DLSW/8/CIR:

DLSW FSM, Circuit b70002:

    Event  RCV_REACH_ACK#收到远端发来的ACK确认报文

    State  CIRCUIT_PENDING  -->  CIRCUIT_ESTABLISHED.#电路状态变为CIRCUIT_ESTABLISHED

    Action Drop frame.#对该报文不做任何处理

*0.1503260 4640 DLSW/8/CIR:

Circuit b70002 Receive a Rpt FCI

 

*0.1503550 4640 DLSW/8/CIR:

DLSW FSM, Circuit b70002:

    Event  RCV_XIDFRAME#收到远端发来的空XID

    State  CIRCUIT_ESTABLISHED  -->  CIRCUIT_ESTABLISHED.#电路状态不做改变

    Action LLC2_CTRL_XID_CMD.#AS/400发送XID报文

 

#进入XID交互阶段

*0.1504260 4640 DLSW/8/CIR:

Circuit b70002 repeat the current receive window.

*0.1504360 4640 DLSW/8/CIR:

DLSW FSM, Circuit b70002:

    Event  DLC_XID

    State  CIRCUIT_ESTABLISHED  -->  CIRCUIT_ESTABLISHED.

    Action SSP_TYPE_XIDFRAME.

 

*0.1505200 4640 DLSW/8/CIR:

Circuit b70002 repeat the current receive window.

*0.1505300 4640 DLSW/8/CIR:

DLSW FSM, Circuit b70002:

    Event  DLC_XID

    State  CIRCUIT_ESTABLISHED  -->  CIRCUIT_ESTABLISHED.

    Action SSP_TYPE_XIDFRAME.

*0.1505600 4640 DLSW/8/CIR:

Circuit b70002 Receive a Rpt FCI

 

*0.1506240 4640 DLSW/8/CIR:

DLSW FSM, Circuit b70002:

    Event  RCV_XIDFRAME

    State  CIRCUIT_ESTABLISHED  -->  CIRCUIT_ESTABLISHED.

    Action LLC2_CTRL_XID_CMD.

*0.1506530 4640 DLSW/8/CIR:

Circuit b70002 Receive a Rpt FCI

 

*0.1507170 4640 DLSW/8/CIR:

DLSW FSM, Circuit b70002:

    Event  RCV_XIDFRAME

    State  CIRCUIT_ESTABLISHED  -->  CIRCUIT_ESTABLISHED.

    Action LLC2_CTRL_XID_CMD.

 

*0.1508010 4640 DLSW/8/CIR:

Circuit b70002 repeat the current receive window.

*0.1508110 4640 DLSW/8/CIR:

DLSW FSM, Circuit b70002:

    Event  DLC_XID

    State  CIRCUIT_ESTABLISHED  -->  CIRCUIT_ESTABLISHED.

    Action SSP_TYPE_XIDFRAME.

 

*0.1508950 4640 DLSW/8/CIR:

Circuit b70002 repeat the current receive window.

*0.1509050 4640 DLSW/8/CIR:

DLSW FSM, Circuit b70002:

    Event  DLC_XID

    State  CIRCUIT_ESTABLISHED  -->  CIRCUIT_ESTABLISHED.

    Action SSP_TYPE_XIDFRAME.

*0.1509340 4640 DLSW/8/CIR:

Circuit b70002 Receive a Rpt FCI

 

*0.1509980 4640 DLSW/8/CIR:

DLSW FSM, Circuit b70002:

    Event  RCV_XIDFRAME

    State  CIRCUIT_ESTABLISHED  -->  CIRCUIT_ESTABLISHED.

    Action LLC2_CTRL_XID_CMD.

*0.1510280 4640 DLSW/8/CIR:

Circuit b70002 Receive a Rpt FCI

 

*0.1510920 4640 DLSW/8/CIR:

DLSW FSM, Circuit b70002:

    Event  RCV_XIDFRAME

    State  CIRCUIT_ESTABLISHED  -->  CIRCUIT_ESTABLISHED.

    Action LLC2_CTRL_XID_CMD.

 

#XID报文交互结束,正式建立电路

*0.1511630 4640 DLSW/8/CIR:

DLSW FSM, Circuit b70002:

    Event  DLC_CONTACTED_SABME#收到AS/400SABME命令,开始建立电路

    State  CIRCUIT_ESTABLISHED  -->  CONNECT_PENDING.#电路状态变为CONNECT_PENDING

    Action SSP_TYPE_CONTACT. #向远端发送CONTACT报文

 

*0.1512140 4640 DLSW/8/CIR:

Circuit b70002 repeat the current receive window.

*0.1512240 4640 DLSW/8/CIR:

DLSW FSM, Circuit b70002:

    Event  RCV_CONTACTED_UA#收到远端的回复,电路正式建立

    State  CONNECT_PENDING  -->  CONNECTED.#电路状态变为CONNECTED

    Action LLC2_CTRL_UA_RSP. #AS/400发送SABME命令的回复UA报文

*0.1512520 4640 DLSW/8/CIR:

Circuit b70002 repeat the current receive window.

2)    4640 DLSW LLC2报文调试信息

<4640>debugging llc2 packet

*0.149308234 4640 LLC2/8/debug:

 LLC2_PACKET Ethernet0/0/1 (Output) U frame#从远端收到CANUREACH_CS报文,向本地发送test

*0.149308320 4640 LLC2/8/debug:#报文,报文控制域为f3,dsap04ssap04

 048b2428  00 04 ac de 07 a6 00 00 e8 1c b6 bf 00 03 04 04

 048b2438  f3

 

*0.149308460 4640 LLC2/8/debug:

 LLC2_PACKET Ethernet0/0/1 (Input) U frame#Eth0/0/1收到AS/400test res回复,报文的控制域为f3,

*0.149308550 4640 LLC2/8/debug:# dsap04ssap05,将向远端发送ICANREACH_cs报文

 0488a130  00 00 e8 1c b6 bf 00 04 ac de 07 a6 00 03 04 05

 0488a140  f3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 0488a150  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 0488a160  00 00 00 00 00 00 00 00 00 00 00 00

 

*0.149308880 4640 LLC2/8/debug:

 LLC2_PACKET Ethernet0/01 (Output) U frame#从远端收到NULL_XID报文,向本地Eth0/0/1转发

*0.149308970 4640 LLC2/8/debug:#报文的控制域为bfdsap04ssap04

 0488779a  00 04 ac de 07 a6 00 00 e8 1c b6 bf 00 03 04 04

 048877aa  bf

 

#进入XID交互阶段

*0.149309110 4640 LLC2/8/debug:

 LLC2_PACKET Ethernet0/0/1 (Input) U frame#Eth2/1收到

*0.149309200 4640 LLC2/8/debug:

 048bb110  00 00 e8 1c b6 bf 00 04 ac de 07 a6 00 03 04 05

 048bb120  bf 01 00 00 01 b9 52 30 00 00 00 01 00 00 00 01

 048bb130  00 00 00 00 a1 70 00 25 01 e0 5a f0 01 e6 aa e0

 048bb140  00 00 00 2c e1 e6 a0 01 01 e6 ab 24

 

*0.149309530 4640 LLC2/8/debug:

 LLC2_PACKET Ethernet0/0/1 (Input) U frame

*0.149309620 4640 LLC2/8/debug:

 048b98b0  00 00 e8 1c b6 bf 00 04 ac de 07 a6 00 49 04 04

 048b98c0  bf 32 46 05 62 e5 50 00 00 00 08 00 00 00 00 00

 048b98d0  00 00 01 0b 70 00 05 d8 00 00 00 00 07 00 0e 0e

 048b98e0  f4 c1 d7 d7 d5 4b e2 f6 f5 c3 f2 c6 c2 c1 10 17

 048b98f0  f1 16 11 01 13 00 11 f9 f4 f0 f6 f1 f7 f0 f6 f5

 048b9900  c3 f2 c6 c2 c1 40 40

 

*0.149310100 4640 LLC2/8/debug:

 LLC2_PACKET Ethernet0/0/1 (Output) U frame

*0.149310190 4640 LLC2/8/debug:

 04896f5a  00 04 ac de 07 a6 00 00 e8 1c b6 bf 00 4d 04 04

 04896f6a  bf 32 4a 05 60 00 01 00 00 00 bb d1 00 00 00 00

 04896f7a  80 00 01 0b 71 00 01 09 00 00 00 00 07 00 0e 0b

 04896f8a  f4 c1 d7 d7 d5 4b e2 d5 c1 f0 f1 10 1e 00 1d 11

 04896f9a  0c 08 04 f0 f5 f0 f1 f0 f1 09 06 e6 c1 d5 e6 c1

 04896faa  d9 c5 09 08 e4 e2 c5 d9 f0 40 40

 

*0.149310670 4640 LLC2/8/debug:

 LLC2_PACKET Ethernet0/0/1 (Output) U frame

*0.149310760 4640 LLC2/8/debug:

 048b24fa  00 04 ac de 07 a6 00 00 e8 1c b6 bf 00 4d 04 04

 048b250a  bf 32 4a 05 60 00 01 00 00 00 b7 d1 00 00 00 00

 048b251a  80 00 01 0b 71 00 01 09 00 00 00 00 07 00 0e 0b

 048b252a  f4 c1 d7 d7 d5 4b e2 d5 c1 f0 f1 10 1e 00 1d 11

 048b253a  0c 08 04 f0 f5 f0 f1 f0 f1 09 06 e6 c1 d5 e6 c1

 048b254a  d9 c5 09 08 e4 e2 c5 d9 f0 40 40

 

*0.149311240 4640 LLC2/8/debug:

 LLC2_PACKET Ethernet0/0/1 (Input) U frame

*0.149311330 4640 LLC2/8/debug:

 048a2510  00 00 e8 1c b6 bf 00 04 ac de 07 a6 00 49 04 05

 048a2520  bf 32 46 05 62 e5 50 00 00 00 b4 c0 00 00 00 00

 048a2530  80 15 01 0b 70 00 05 d8 00 00 00 00 07 00 0e 0e

 048a2540  f4 c1 d7 d7 d5 4b e2 f6 f5 c3 f2 c6 c2 c1 10 17

 048a2550  f1 16 11 01 13 00 11 f9 f4 f0 f6 f1 f7 f0 f6 f5

 048a2560  c3 f2 c6 c2 c1 40 40

 

*0.149311800 4640 LLC2/8/debug:

 LLC2_PACKET Ethernet0/0/1 (Output) U frame

*0.149311890 4640 LLC2/8/debug:

 048a251a  00 04 ac de 07 a6 00 00 e8 1c b6 bf 00 4d 04 04

 048a252a  bf 32 4a 05 60 00 01 00 00 00 b7 d1 00 00 00 00

 048a253a  80 15 01 0b 41 00 01 09 00 00 00 00 07 00 0e 0b

 048a254a  f4 c1 d7 d7 d5 4b e2 d5 c1 f0 f1 10 1e 00 1d 11

 048a255a  0c 08 04 f0 f5 f0 f1 f0 f1 09 06 e6 c1 d5 e6 c1

 048a256a  d9 c5 09 08 e4 e2 c5 d9 f0 40 40

 

*0.149312370 4640 LLC2/8/debug:

 LLC2_PACKET Ethernet0/0/1 (Input) U frame

*0.149312460 4640 LLC2/8/debug:

 048988b0  00 00 e8 1c b6 bf 00 04 ac de 07 a6 00 49 04 05

 048988c0  bf 32 46 05 62 e5 50 00 00 00 b4 c0 00 00 00 00

 048988d0  80 15 01 0b 50 00 05 d8 00 00 00 00 07 00 0e 0e

 048988e0  f4 c1 d7 d7 d5 4b e2 f6 f5 c3 f2 c6 c2 c1 10 17

 048988f0  f1 16 11 01 13 00 11 f9 f4 f0 f6 f1 f7 f0 f6 f5

 04898900  c3 f2 c6 c2 c1 40 40

 

*0.149312940 4640 LLC2/8/debug:

 LLC2_PACKET Ethernet0/0/1 (Output) U frame

*0.149313030 4640 LLC2/8/debug:

 048988ba  00 04 ac de 07 a6 00 00 e8 1c b6 bf 00 4d 04 04

 048988ca  bf 32 4a 05 60 00 01 00 00 00 b7 d1 00 00 00 00

 048988da  80 15 01 0b 41 00 01 09 00 00 00 00 07 00 0e 0b

 048988ea  f4 c1 d7 d7 d5 4b e2 d5 c1 f0 f1 10 1e 00 1d 11

 048988fa  0c 08 04 f0 f5 f0 f1 f0 f1 09 06 e6 c1 d5 e6 c1

 0489890a  d9 c5 09 08 e4 e2 c5 d9 f0 40 40

 

#完成XID交互,正式建立电路

*0.149313510 4640 LLC2/8/debug:

 LLC2_PACKET Ethernet0/0/1 (Input) U frame#Eth0/0/1收到AS/400发来的SABME报文,要求与对端建立电

*0.149313600 4640 LLC2/8/debug:#路,报文的控制域为7f,dsap04ssap04,将向远端发送

 048a7750  00 00 e8 1c b6 bf 00 04 ac de 07 a6 00 03 04 04#CONTACT报文

 048a7760  7f 01 89 98 01 d9 89 68 00 00 00 00 00 00 00 00

 048a7770  32 00 00 00 00 00 00 00 01 d9 89 b0 01 d9 89 70

 048a7780  00 00 00 2c e1 d9 80 01 01 d9 89 b4

 

*0.149313930 4640 LLC2/8/debug:

 LLC2_PACKET Ethernet0/0/1 (Output) U frame#从远端收到CONTACTED报文,向Eth0/0/1转发报文

*0.149314020 4640 LLC2/8/debug:#报文控制域为73,dsap04,ssap05,电路进入CONNECTED状态

 048a775a  00 04 ac de 07 a6 00 00 e8 1c b6 bf 00 03 04 05

 048a776a  73

3)    2830-a DLSW电路调试信息

*0.12667010 2830-a DLSW/8/CIR:

DLSW FSM, Circuit b70001:

    Event  DLC_XID #收到PUa发来的DLC_XID报文

    State  DISCONNECTED  -->  CIRCUIT_START. #电路状态变为CIRCUIT_START

    Action SSP_TYPE_CANUREACH_CS. # 向远端实体发送CANUREACH_CS报文

 

*0.12667290 2830-a DLSW/8/CIR:

Circuit b70001 repeat the current receive window.

 

*0.12667390 2830-a DLSW/8/CIR:

DLSW FSM, Circuit b70001:

    Event  RCV_ICANREACH_CS #收到远端实体发来的ICANREACH_CS报文

    State  CIRCUIT_START  -->  CIRCUIT_ESTABLISHED. #电路状态变为CIRCUIT_ESTABLISHED

    Action SSP_TYPE_REACH_ACK & SSP_TYPE_XIDFRAME. #向远端实体发送ACK回应和空XID报文

*0.12667710 2830-a DLSW/8/CIR:

Circuit b70001 Receive a Rpt FCI

 

#开始进行XID报文交互

*0.12668020 2830-a DLSW/8/CIR:

DLSW FSM, Circuit b70001:

    Event  RCV_XIDFRAME

    State  CIRCUIT_ESTABLISHED  -->  CIRCUIT_ESTABLISHED.

    Action LLC2_CTRL_XID_CMD.

 

*0.12668890 2830-a DLSW/8/CIR:

Circuit b70001 repeat the current receive window.

 

*0.12668990 2830-a DLSW/8/CIR:

DLSW FSM, Circuit b70001:

    Event  DLC_XID

    State  CIRCUIT_ESTABLISHED  -->  CIRCUIT_ESTABLISHED.

    Action SSP_TYPE_XIDFRAME.

 

*0.12669280 2830-a DLSW/8/CIR:

Circuit b70001 Receive a Rpt FCI

 

*0.12669920 2830-a DLSW/8/CIR:

DLSW FSM, Circuit b70001:

    Event  RCV_XIDFRAME

    State  CIRCUIT_ESTABLISHED  -->  CIRCUIT_ESTABLISHED.

    Action LLC2_CTRL_XID_CMD.

 

*0.12670790 2830-a DLSW/8/CIR:

Circuit b70001 repeat the current receive window.

*0.12670890 2830-a DLSW/8/CIR:

DLSW FSM, Circuit b70001:

    Event  DLC_XID

    State  CIRCUIT_ESTABLISHED  -->  CIRCUIT_ESTABLISHED.

    Action SSP_TYPE_XIDFRAME.

 

*0.12671180 2830-a DLSW/8/CIR:

Circuit b70001 Receive a Rpt FCI

 

*0.12671810 2830-a DLSW/8/CIR:

DLSW FSM, Circuit b70001:

    Event  RCV_XIDFRAME

    State  CIRCUIT_ESTABLISHED  -->  CIRCUIT_ESTABLISHED.

    Action LLC2_CTRL_XID_CMD.

 

*0.12672680 2830-a DLSW/8/CIR:

Circuit b70001 repeat the current receive window.

 

*0.12672780 2830-a DLSW/8/CIR:

DLSW FSM, Circuit b70001:

    Event  DLC_XID

    State  CIRCUIT_ESTABLISHED  -->  CIRCUIT_ESTABLISHED.

    Action SSP_TYPE_XIDFRAME.

 

*0.12673070 2830-a DLSW/8/CIR:

Circuit b70001 Receive a Rpt FCI

 

*0.12673700 2830-a DLSW/8/CIR:

DLSW FSM, Circuit b70001:

    Event  RCV_XIDFRAME

    State  CIRCUIT_ESTABLISHED  -->  CIRCUIT_ESTABLISHED.

    Action LLC2_CTRL_XID_CMD.

 

*0.12674580 2830-a DLSW/8/CIR:

Circuit b70001 repeat the current receive window.

 

*0.12674680 2830-a DLSW/8/CIR:

DLSW FSM, Circuit b70001:

    Event  DLC_XID

    State  CIRCUIT_ESTABLISHED  -->  CIRCUIT_ESTABLISHED.

    Action SSP_TYPE_XIDFRAME.

 

#XID报文交互结束,正式开始建立电路

*0.12675200 2830-a DLSW/8/CIR:

DLSW FSM, Circuit b70001:

    Event  RCV_CONTACT#收到远端发来的CONTACT报文,要求建立电路

    State  CIRCUIT_ESTABLISHED  -->  CONTACT_PENDING.#电路状态变为CONTACT_PENDING

    Action LLC2_CTRL_SABME_CMD.#PUa转发SABME命令

 

*0.12675910 2830-a DLSW/8/CIR:

Circuit b70001 repeat the current receive window.

 

*0.12676010 2830-a DLSW/8/CIR:

DLSW FSM, Circuit b70001:

    Event  DLC_CONTACTED_UA#收到PUaSABME命令回复,电路建立

    State  CONTACT_PENDING  -->  CONNECTED. #电路状态变为CONNECTED

    Action SSP_TYPE_CONTACTED.#向远端回复CONTACTED报文

4)    2830-a DLSW LLC2报文调试信息

<2830-a>debugging llc2 packet

*0.149597960 2830-a LLC2/8/debug:

 LLC2_PACKET Ethernet1/1 (Input) U frame#从以太口收到test_cmd报文,报文的控制域为f3,dsap00,ssap

*0.149598050 2830-a LLC2/8/debug:#04,收到该报文后,DLSw将向远端发送CANUREACH_cs报文

 043930d0  00 04 ac de 07 a6 00 00 e8 44 2c ac 00 03 00 04

 043930e0  f3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 043930f0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 04393100  00 00 00 00 00 00 00 00 00 00 00 00

 

*0.149598380 2830-a LLC2/8/debug:

 LLC2_PACKET Ethernet1/1 (Output) U frame#从远端收到ICANREACH_cs报文,向Eth1/1口转发报文

*0.149598470 2830-a LLC2/8/debug:#报文的控制域为f3,dsap04ssap01

 043930d0  00 00 e8 44 2c ac 00 04 ac de 07 a6 00 03 04 01

 043930e0  f3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 043930f0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 04393100  00 00 00 00 00 00 00 00 00 00 00 00

 

*0.149599640 2830-a LLC2/8/debug:

 LLC2_PACKET Ethernet1/1 (Input) U frame#Eth收到xid_cmd报文, 报文的控制域为bf,dsap04, ssap04

*0.149599730 2830-a LLC2/8/debug: #将向对端发送NULL_XID报文

 04394a30  00 04 ac de 07 a6 00 00 e8 44 2c ac 00 03 04 04

 04394a40  bf 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 04394a50  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 04394a60  00 00 00 00 00 00 00 00 00 00 00 00

 

*0.149600490 2830-a LLC2/8/debug:

 LLC2_PACKET Ethernet1/1 (Output) U frame#从远端收到xid res回复,向Eth 1/1转发,报文的控制域为bf

*0.149600580 2830-a LLC2/8/debug:#dsap04,ssap05

 052c3e5a  00 00 e8 44 2c ac 00 04 ac de 07 a6 00 03 04 05

 052c3e6a  bf

 

#进入XID交互阶段

*0.149600720 2830-a LLC2/8/debug:

 LLC2_PACKET Ethernet1/1 (Output) U frame

*0.149600810 2830-a LLC2/8/debug:

 052c57ba  00 00 e8 44 2c ac 00 04 ac de 07 a6 00 49 04 05

 052c57ca  bf 32 46 05 62 e5 50 00 00 00 08 00 00 00 00 00

 052c57da  00 15 01 0b 70 00 05 d8 00 00 00 00 07 00 0e 0e

 052c57ea  f4 c1 d7 d7 d5 4b e2 f6 f5 c3 f2 c6 c2 c1 10 17

 052c57fa  f1 16 11 01 13 00 11 f9 f4 f0 f6 f1 f7 f0 f6 f5

 052c580a  c3 f2 c6 c2 c1 40 40

 

*0.149601280 2830-a LLC2/8/debug:

 LLC2_PACKET Ethernet1/1 (Input) U frame

*0.149601370 2830-a LLC2/8/debug:

 04396ab0  00 04 ac de 07 a6 00 00 e8 44 2c ac 00 4d 04 04

 04396ac0  bf 32 4a 05 60 00 02 00 00 00 bb d1 00 00 00 00

 04396ad0  80 00 01 0b 71 00 04 09 00 00 00 00 07 00 0e 0b

 04396ae0  f4 c1 d7 d7 d5 4b e2 d5 c1 f0 f2 10 1e 00 1d 11

 04396af0  0c 08 04 f0 f5 f0 f1 f0 f1 09 06 e6 c1 d5 e6 c1

 04396b00  d9 c5 09 08 e4 e2 c5 d9 f0 40 40

 

*0.149601850 2830-a LLC2/8/debug:

 LLC2_PACKET Ethernet1/1 (Output) U frame

*0.149601940 2830-a LLC2/8/debug:

 052c887a  00 00 e8 44 2c ac 00 04 ac de 07 a6 00 49 04 05

 052c888a  bf 32 46 05 62 e5 50 00 00 00 b4 c0 00 00 00 00

 052c889a  80 15 01 0b 70 00 05 d8 00 00 00 00 07 00 0e 0e

 052c88aa  f4 c1 d7 d7 d5 4b e2 f6 f5 c3 f2 c6 c2 c1 10 17

 052c88ba  f1 16 11 01 13 00 11 f9 f4 f0 f6 f1 f7 f0 f6 f5

 052c88ca  c3 f2 c6 c2 c1 40 40

 

*0.149602420 2830-a LLC2/8/debug:

 LLC2_PACKET Ethernet1/1 (Input) U frame

*0.149602510 2830-a LLC2/8/debug:

 043972d0  00 04 ac de 07 a6 00 00 e8 44 2c ac 00 4d 04 04

 043972e0  bf 32 4a 05 60 00 02 00 00 00 b7 d1 00 00 00 00

 043972f0  80 15 01 0b 41 00 04 09 00 00 00 00 07 00 0e 0b

 04397300  f4 c1 d7 d7 d5 4b e2 d5 c1 f0 f2 10 1e 00 1d 11

 04397310  0c 08 04 f0 f5 f0 f1 f0 f1 09 06 e6 c1 d5 e6 c1

 04397320  d9 c5 09 08 e4 e2 c5 d9 f0 40 40

 

*0.149602990 2830-a LLC2/8/debug:

 LLC2_PACKET Ethernet1/1 (Output) U frame

*0.149603080 2830-a LLC2/8/debug:

 052ccafa  00 00 e8 44 2c ac 00 04 ac de 07 a6 00 49 04 05

 052ccb0a  bf 32 46 05 62 e5 50 00 00 00 b4 c0 00 00 00 00

 052ccb1a  80 15 01 0b 50 00 05 d8 00 00 00 00 07 00 0e 0e

 052ccb2a  f4 c1 d7 d7 d5 4b e2 f6 f5 c3 f2 c6 c2 c1 10 17

 052ccb3a  f1 16 11 01 13 00 11 f9 f4 f0 f6 f1 f7 f0 f6 f5

 052ccb4a  c3 f2 c6 c2 c1 40 40

 

*0.149603550 2830-a LLC2/8/debug:

 LLC2_PACKET Ethernet1/1 (Input) U frame

*0.149603640 2830-a LLC2/8/debug:

 04397af0  00 04 ac de 07 a6 00 00 e8 44 2c ac 00 4d 04 04

 04397b00  bf 32 4a 05 60 00 02 00 00 00 b7 d1 00 00 00 00

 04397b10  80 15 01 0b 41 00 04 09 00 00 00 00 07 00 0e 0b

 04397b20  f4 c1 d7 d7 d5 4b e2 d5 c1 f0 f2 10 1e 00 1d 11

 04397b30  0c 08 04 f0 f5 f0 f1 f0 f1 09 06 e6 c1 d5 e6 c1

 04397b40  d9 c5 09 08 e4 e2 c5 d9 f0 40 40

 

#完成XID交互,正式建立电路

*0.149604120 2830-a LLC2/8/debug:

 LLC2_PACKET Ethernet1/1 (Output) U frame#从远端收到CONTACT报文,向Eth1/1转发SABME报文

*0.149604210 2830-a LLC2/8/debug:#报文的控制域为7fdsap04ssap04

 052cf39a  00 00 e8 44 2c ac 00 04 ac de 07 a6 00 03 04 04

 052cf3aa  7f

 

*0.149604350 2830-a LLC2/8/debug:

 LLC2_PACKET Ethernet1/1 (Input) U frame#Eth1/1收到SABME UA报文,报文的控制域为73,dsap04

*0.149604440 2830-a LLC2/8/debug:#ssap05,将向远端发送CONTACTED报文,电路进入CONNECT

 04398310  00 04 ac de 07 a6 00 00 e8 44 2c ac 00 03 04 05

 04398320  73 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 04398330  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 04398340  00 00 00 00 00 00 00 00 00 00 00 00

2.    故障排除

1)    LLC2-LLC2方式不能建立电路

l       检查以太口上的桥组是否配置正确。

l       输入命令“display interface ethernet ethernet-number”确认端口的物理已经UP

l       打开“debugging llc2 packet”命令观察以太口收发报文的情况。如果没有收到报文,检查SNA终端运行是否正常;如果没有向以太口发送报文,配置命令“display dlsw remote”检查DLSw与远端PeerTCP连接是否正常,如果正常,请检查远端设备运行是否正常。

2)    LLC2-SDLC方式不能建立电路

l       检查SDLC所配置“sdlc mac-map remote remote-mac controller”命令中的remote-mac地址是否为远端SNA设备的真实以太口令牌序mac地址。

l       打开”debugging sdlc packet”命令,观察是否接收或发送了SDLC报文,按照SDLC的故障排除方法排除故障。

3         相关资料

3.1        相关协议和标准

4     相关协议与标准

标准号

标题

RFC1795

Data Link Switching: Switch-to-Switch Protocol

802.2标准

Logic Link Control

3.2        其它相关资料

Comware V3 操作手册》中《05-操作手册-网络协议》

Comware V3 命令手册》中《05-命令手册-网络协议》

PU2.1环境下DLSW SDLC特性典型配置指导》