How to Simulate SNA Traffic through DLSW Peers: Finally

From: CHRIS HUGO (chrishugo@xxxxxxxxx)
Date: Fri Feb 15 2002 - 04:51:39 GMT-3


   
 First of all I want to thank everybody who helped me on this setup(2 days long
). This lab setup is simulating SNA traffic through 2 DLSW peers.Here is the co
nfigs straight from the routers. I have also added what to test for in each rou
ter.Not sure if needed but make sure you reload r1 and r2 before you start tes
ting the lab.
thank you again,
chris hugo
Here is the topology of the lab.
r1(eth)----(eth)r2(serial)----(serial)r3(eth)----(eth)r4
!
hostname r1
!
!
ip subnet-zero
!
!
!
!
!
dspu pu ETH1 rmac 4000.1010.0001 rsap 4 lsap 4
!
interface Ethernet0
 mac-address 4000.3745.0001
 no ip address
 no ip directed-broadcast
 dspu enable-pu lsap 4
 dspu start ETH1
!
interface Serial0
 no ip address
 no ip directed-broadcast
 no ip mroute-cache
 shutdown
 no fair-queue
!
interface Serial1
 no ip address
 no ip directed-broadcast
 shutdown
!
interface TokenRing0
 no ip address
 no ip directed-broadcast
 shutdown
!
ip classless
!
!
!
line con 0
 transport input none
line aux 0
line vty 0 4
 login
!
end
!Test your PU
r1#sh dspu pu ETH1
dspu pu ETH1 Ethernet0 PU STATUS Active
     RMAC 4000.1010.0001 RSAP 4 LSAP 4
     XID 01010101 RETRIES 4 RETRY_TIMEOUT 30
     WINDOW 7 MAXIFRAME 1472
     ACT BUFFERS 0 SAP ACT BUFFERS 0
     FRAMES RECEIVED 1 FRAMES SENT 1
     LUs USED BY DSPU 0 LUs ACTIVE 0
     LUs USED BY API 0 LUs ACTIVE 0
     LUs ACTIVATED BY HOST BUT NOT USED 0
hostname r2
!
!
ip subnet-zero
!
!
bridge crb
!
dlsw local-peer peer-id 10.1.1.1
dlsw remote-peer 0 tcp 10.1.1.2
dlsw bridge-group 1
!
!
interface Ethernet0
 no ip address
 no ip directed-broadcast
 bridge-group 1
!
interface Serial0
 no ip address
 no ip directed-broadcast
 no ip mroute-cache
 no fair-queue
!
interface Serial1
 ip address 10.1.1.1 255.255.255.0
 no ip directed-broadcast
 clockrate 64000
!
interface Serial2
 no ip address
 no ip directed-broadcast
 shutdown
!
interface Serial3
 no ip address
 no ip directed-broadcast
 shutdown
!
interface BRI0
 no ip address
 no ip directed-broadcast
 shutdown
!
ip classless
!
!
bridge 1 protocol ieee
!
line con 0
 transport input none
line aux 0
line vty 0 4
!
end
!Verify DLSW peering
r2#sh dlsw peer
Peers: state pkts_rx pkts_tx type drops ckts TCP uptim
e
 TCP 10.1.1.2 CONNECT 416 204 conf 0 1 0 01:39:1
0
Total number of connected peers: 1
Total number of connections: 1

!Verify Non-Routable (SNA) Traffic is passing thru DLSW peers
r2#sh dlsw circuit de
Index local addr(lsap) remote addr(dsap) state uptime
2181038080 0200.eca2.0080(04) 0200.0808.0080(04) CONNECTED 00:30:32
        PCEP: 327C68 UCEP: 32E884
        Port:TB1 peer 10.1.1.2(2065)
        Flow-Control-Tx CW:20, Permitted:39; Rx CW:20, Granted:19; Op: Repeat
        Congestion: Low(02), Flow Op: Half: 0/0 Reset 0/0
        RIF = --no rif--
Total number of circuits connected: 1

hostname r3
!
!
ip subnet-zero
!
!
bridge crb
!
dlsw local-peer peer-id 10.1.1.2
dlsw remote-peer 0 tcp 10.1.1.1
dlsw bridge-group 1
!
!
interface Ethernet0
 no ip address
 no ip directed-broadcast
 bridge-group 1
!
interface Serial0
 no ip address
 no ip directed-broadcast
 no ip mroute-cache
 shutdown
 no fair-queue
!
interface Serial1
 ip address 10.1.1.2 255.255.255.0
 no ip directed-broadcast
!
interface BRI0
 no ip address
 no ip directed-broadcast
 shutdown
!
ip classless
!
!
bridge 1 protocol ieee
!
line con 0
 transport input none
line aux 0
line vty 0 4
!
end
!Verify DLSW peering
r3#sh dlsw peers
Peers: state pkts_rx pkts_tx type drops ckts TCP uptim
e
 TCP 10.1.1.1 CONNECT 206 424 conf 0 1 0 01:39:5
3
Total number of connected peers: 1
Total number of connections: 1
!Verify Non-Routable (SNA) Traffic is passing thru DLSW peers
r3#sh dlsw cir de
Index local addr(lsap) remote addr(dsap) state uptime
1862270976 0200.0808.0080(04) 0200.eca2.0080(04) CONNECTED 00:30:02
        PCEP: 2FC1D4 UCEP: 30524C
        Port:TB1 peer 10.1.1.1(2065)
        Flow-Control-Tx CW:20, Permitted:19; Rx CW:20, Granted:39; Op: Repeat
        Congestion: Low(02), Flow Op: Half: 0/0 Reset 0/0
        RIF = --no rif--
Total number of circuits connected: 1
hostname r4
!
!
ip subnet-zero
!
!
!
!
!
dspu host ETH2 xid-snd 01010101 rmac 4000.3745.0001 rsap 4 lsap 4
!
interface Ethernet0
 mac-address 4000.1010.0001
 no ip address
 no ip directed-broadcast
 dspu enable-host lsap 4
 dspu start ETH2
!
interface Serial0
 no ip address
 no ip directed-broadcast
 no ip mroute-cache
 shutdown
 no fair-queue
!
interface Serial1
 no ip address
 no ip directed-broadcast
!
interface TokenRing0
 no ip address
 no ip directed-broadcast
 shutdown
!
ip classless
!
!
!
line con 0
 transport input none
line aux 0
line vty 0 4
 login
!
end
!Test your PU
r4# sh dspu pu ETH2
dspu host ETH2 Ethernet0 PU STATUS Active
     RMAC 4000.3745.0001 RSAP 4 LSAP 4
     XID 01010101 RETRIES 255 RETRY_TIMEOUT 30
     WINDOW 7 MAXIFRAME 1472
     ACT BUFFERS 0 SAP ACT BUFFERS 0
     FRAMES RECEIVED 1 FRAMES SENT 1
     LUs USED BY DSPU 0 LUs ACTIVE 0
     LUs USED BY API 0 LUs ACTIVE 0
     LUs ACTIVATED BY HOST BUT NOT USED 0
r4#

  ying chang <ying_c@hotmail.com> wrote: Hi,

You do need additional 2 routers to make it to work. I took a quick look at
chapter 15 in Cisco IOS Bridging and IBM Network Solutions, it supports
quite a few different medias, but does not support HDLC. Since I don't have
2513, and could not make it to work over FR, the only one I made it to work
is on pure ethernet:

R1-dspu pu-e0-e1--R2--e0-DLSW-e0--R3--e1--e0-dspu host-R4

I think we can use this to test SNA filtering, but I don't think I would use
it in the real lab to verify DLSW - I have my serious doubt that we will
have the right media and enough routers to set it up.

You should have no problems to make it to work with your environment.
There's no need to do bit swapping with ethernet. If you decide to use token
ring's mac as reference point, I think you need to use translational
bridging.

Please let me know if you run into problems. I'll try FR again when I have a
chance.

Chang



This archive was generated by hypermail 2.1.4 : Thu Jun 20 2002 - 13:46:23 GMT-3