Viewing DLSw Status Information

Problem

You want to check on DLSw status on your router.

Solution

This command shows the status of a DLSw peer relationship:

Router>show dlsw peers
Peers:                state     pkts_rx   pkts_tx  type  drops ckts TCP   uptime
 TCP 10.1.1.5        CONNECT        350       350  conf      0    0   0 02:55:03
 TCP 10.1.1.9        CONNECT        124       124  conf      0    0   0 01:17:28
Total number of connected peers: 2
Total number of connections:     2

This command looks at the status of the SNA circuits carried within these peer connections:

Router>show dlsw circuits
Index           local addr(lsap)    remote addr(dsap)  state          uptime
1459617889     4000.5555.a820(04)  4000.3745.aaaa(04) CONNECTED         3d05h
2097152104     4000.5555.ac21(04)  4000.3745.aaaa(04) CONNECTED         2d18h
738197600     000c.2950.aa40(14)  4000.3745.aaaa(04) CONNECTED         3d06h
2214592610     4000.aaaa.3826(04)  4000.3745.aaaa(04) CONNECTED         3d05h
2785017948     4001.bbbb.6797(04)  4000.3745.aaaa(04) CONNECTED         3d06h
Total number of circuits connected: 5

Discussion

It is important to remember the difference between a peer and a circuit. A peer relationship exists between two DLSw routers. You can bring up a peer relationship between two routers and have no application information flowing between them. A circuit, on the other hand, is an SNA connection between a device connected to one of these routers to a device connected to the other.

The show dlsw peers command shows only information about the peer relationship. It indicates the state of each peer connection, how many packets have been sent and received along each path, ...

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.