background image
268 Chapter 9: Frame Relay Connection Controlling Traffic Flow
show frame-relay lmi Command
Along with checking the status of individual PVCs, you can monitor the communication status
between the router and the switch. Example 9-5 shows the output from the show frame-relay
lmi
command, which shows the number of LMI messages sent and received across the link
between the router and the switch.
The shaded line highlights an important aspect of this output: The LMI type can be specified
differently for each interface, so the type is specified in the output.
Another critical piece of this output is the LMI input/output information. This is shown in the
second highlighted line. If the number of sent enquiries is incrementing, but the number of
received messages remains at 0, LMI is not being received from the switch. As long as both
numbers are greater than zero and continue to increment on a regular basis (every few seconds),
LMI is being exchanged. The output also shows timeouts, errors, and so on.
debug frame-relay lmi Command
Probably the most useful tool in verifying and troubleshooting Frame Relay comes in the form
of the debug frame-relay lmi command, as demonstrated by Example 9-6.
Example 9-5
show frame-relay lmi Command Output
RouterA#show frame-relay lmi
LMI Statistics for interface Serial0 (Frame Relay DTE) LMI TYPE = CISCO
Invalid Unnumbered info 0 Invalid Prot Disc 0
Invalid dummy Call Ref 0 Invalid Msg Type 0
Invalid Status Message 0 Invalid Lock Shift 0
Invalid Information ID 0 Invalid Report IE Len 0
Invalid Report Request 0 Invalid Keep IE Len 0
Num Status Enq. Sent 8060 Num Status msgs Rcvd 8061
Num Update Status Rcvd 0 Num Status Timeouts 0
LMI Statistics for interface Serial1 (Frame Relay DTE) LMI TYPE = CISCO
Invalid Unnumbered info 0 Invalid Prot Disc 0
Invalid dummy Call Ref 0 Invalid Msg Type 0
Invalid Status Message 0 Invalid Lock Shift 0
Invalid Information ID 0 Invalid Report IE Len 0
Invalid Report Request 0 Invalid Keep IE Len 0
Num Status Enq. Rcvd 6711 Num Status msgs Sent 6711
Num Update Status Sent 0 Num St Enq. Timeouts 2