cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
940
Views
0
Helpful
5
Replies

dlsw vmac translation problem

c.chunxia
Level 1
Level 1

I have topo like this:

(390)--sdlc---(router a)-------wan------(router b)---ethernet----(as400)

appc session can't established,so I capture frame on router b's ethernet,but I found the test frame:

smac=0200.0000.2083

dmac=4242.4242.0640

ssap=0

dsap=4

I don't know why(ios bug or ???),I think the correct frame maybe like this:

smac=0200.0000.2083

dmac=2424.2424.0640

ssap=0

dsap=4

the ios version is :

router a: c2600-is-mz.122-7b.bin

router b:rsp-a3jsv-mz_121-4.bin

following is config of router:

router a:

dlsw local-peer peer-id 10.1.1.1

dlsw remote-peer 0 tcp 10.8.1.1

interface Serial0/1

no ip address

encapsulation sdlc

no ip mroute-cache

no keepalive

sdlc role secondary

sdlc vmac 4000.0000.0400

sdlc address C1 xid-passthru

sdlc partner 4242.4242.6002 C1

sdlc dlsw C1

router b:

dlsw local-peer peer-id 10.8.1.1 promiscuous

dlsw bridge-group 13

interface FastEthernet6/1/0

no ip address

ip route-cache distributed

full-duplex

bridge-group 13

bridge 13 protocol ieee

5 Replies 5

dixho
Level 6
Level 6

Please use "show dlsw reach" on both routers and find out if the MAC address in DLSw reachability cache is correct or not.

Please also try debug DLSw reach.

My as/400 eth's mac is 4242.4242.0640,so I think the correct config of dlsw partner is

2424.2424.6002. If I config 2424.2424.6002,the mac can't be found. if I config

4242.4242.6002,the mac can be found. Like something is error,DLSw is try to chang my MAC

addresses between canonical format and noncanonical format, but it only change the last two byte. And you can see,dlsw can translate correctly the destionation of as/400 0200.0000.4080 to router's vmac 4000.0000.0201.

interface Serial0/0

no ip address

encapsulation sdlc

no ip mroute-cache

no keepalive

sdlc role secondary

sdlc vmac 4000.0000.0200

sdlc address 01 xid-passthru

sdlc partner 4242.4242.6002 01

sdlc dlsw 1

!

interface Serial0/1

no ip address

encapsulation sdlc

no ip mroute-cache

no keepalive

sdlc role secondary

sdlc vmac 4000.0000.0400

sdlc address C1 xid-passthru

sdlc partner 2424.2424.6002 C1

sdlc dlsw C1

!

router a#sh dlsw rea mac

DLSw Local MAC address reachability cache list

Mac Addr status Loc. port rif

4000.0000.0201 FOUND LOCAL Serial0/0 --no rif--

4000.0000.04c1 FOUND LOCAL Serial0/1 --no rif--

4242.4242.6002 SEARCHING LOCAL

DLSw Remote MAC address reachability cache list

Mac Addr status Loc. peer

4242.4242.6002 FOUND REMOTE 10.8.1.1(2065)

2424.2424.6002 SEARCHING REMOTE

router a#sh dlsw cir

Index local addr(lsap) remote addr(dsap) state uptime

3556770440 4000.0000.0201(04) 4242.4242.6002(04) CKT_ESTABLISHED -

There are certain pattern is the same in both canonical and non-canonical format. 42 is one of it. The binary for 0x42 is 0100 0010. If you read from right to left (canonical), it is 0x42. Similarly, it is 0x42 if you read from left to right (non-canonical). It looks to me that the router translate the MAC address correctly.

Please sign on to CCO and go to the following URL:

http://www.cisco.com/cgi-bin/Support/Bitswap/bitswap.pl

The above URL helps you to translate MAC address between non-canonical and canonical.

From the output of show dlsw circuit, it shows that there is a DLSw circuit between the host and the AS/400. The state of the circuit (ckt_established) means that the host and the AS/400 is exchange XIDs. If the circuit does not go to "connect" state, it means that the host and the AS/400 do not agree on certain parameters. It is usually caused by a configuration issue on the mainframe and the AS/400.

I need the switched major node definition on the host and the host controller description on the AS/400. You may want to open a TAC case.

thank you.

And I found other device on the same ethernet can be translated correctly

So have the as/400 's problem ?

(390)--sdlc---(router a)-------wan------(router b)---ethernet----(as400)

|

cisco 7507

cisco 7507 's ethernet mac is :

r7507#sh int f4/0/0

FastEthernet4/0/0 is up, line protocol is up

Hardware is cyBus FastEthernet Interface, address is 0007.ece1.2080 (bia 0007.ece1.2080)

0007.ece1.2080 <---------> 00e0.3787.0401

router a #sh dlsw re

DLSw Local MAC address reachability cache list

Mac Addr status Loc. port rif

4000.0000.04c1 FOUND LOCAL Serial0/1 --no rif--

4242.4242.6002 SEARCHING LOCAL

DLSw Remote MAC address reachability cache list

Mac Addr status Loc. peer

00e0.3787.0401 FOUND REMOTE 10.8.1.1(2065)

4242.4242.6002 FOUND REMOTE 10.8.1.1(2065) max-lf(1500)

Review Cisco Networking for a $25 gift card