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, how many circuits are active, and how long the peers have been up. The example shows two peer routers, as would be the case in Recipe 15.12. In this example, both peers are in a CONNECTED state, and neither has any active circuits passing through it (as shown in the ckts column).

The show dlsw circuits command looks at the status of the circuits. In this case, there are five active circuits. The output shows how long each of the circuits has been connected, and the MAC addresses involved. It also shows the SSAP and DSAP associated with each session. This can be helpful in determining which circuits apply to which applications.

The index number associated with each circuit is just an identifying number that you can use to manually disconnect a particular circuit. You can clear all of the circuits at once, as follows:

Router#clear dlsw circuits

Or, to clear only the second circuit listed in the example output, you would type the following:

Router#clear dlsw circuits 2097152104


Router Configuration and File Management

Router Management

User Access and Privilege Levels

TACACS+

IP Routing

RIP

EIGRP

OSPF

BGP

Frame Relay

Handling Queuing and Congestion

Tunnels and VPNs

Dial Backup

NTP and Time

DLSw

Router Interfaces and Media

Simple Network Management Protocol

Logging

Access-Lists

DHCP

NAT

First Hop Redundancy Protocols

IP Multicast

IP Mobility

IPv6

MPLS

Security

Appendix 1. External Software Packages

Appendix 2. IP Precedence, TOS, and DSCP Classifications

Index



Cisco IOS Cookbook
Cisco IOS Cookbook (Cookbooks (OReilly))
ISBN: 0596527225
EAN: 2147483647
Year: 2004
Pages: 505

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net