Configuring SDLC
Problem
You want to configure a serial port to connect to an SDLC device so that it can use DLSw to talk to a central mainframe.
Solution
The global configuration commands in this example are identical to those shown in Recipe 15.1 for using DLSw+ to connect two Token Rings. The central router’s configuration is identical to what was used in Recipe 15.1, so the following only shows the remote branch configuration:
dlsw-branch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. dlsw-branch(config)#interface
dlsw-branch(config-if)#
Loopback0
ip address
dlsw-branch(config-if)#
10.1.2.5 255.255.255.252
exit
dlsw-branch(config)#access-list
200
permit
dlsw-branch(config)#
0x0000 0x0D0D
source-bridge ring-group
dlsw-branch(config)#
101
dlsw local-peer peer-id
dlsw-branch(config)#
10.1.2.5
dlsw timer explorer-wait-time
dlsw-branch(config)#
5
dlsw remote-peer
0
tcp
10.1.1.5
lsap-output-list
dlsw-branch(config)#
200
dlsw allroute-sna
dlsw-branch(config)#interface
dlsw-branch(config-if)#
Serial1
description
dlsw-branch(config-if)#
Connection to one remote SDLC device
encapsulation sdlc
dlsw-branch(config-if)#no keepalive
dlsw-branch(config-if)#nrzi-encoding
dlsw-branch(config-if)#clock rate
dlsw-branch(config-if)#
4800
sdlc role primary
dlsw-branch(config-if)#sdlc vmac
dlsw-branch(config-if)#
4000.CCCC.0000
sdlc poll-pause-timer
dlsw-branch(config-if)#
200
sdlc address
dlsw-branch(config-if)#
20
sdlc xid
dlsw-branch(config-if)#
20 017A0006
sdlc partner
4000.3745.AAAA ...
Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.