The show frame-relay lmi Command

The show frame-relay lmi command shows you the LMI statistics for an interface, as in the
following example:

Router#show frame 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 109087 Num Status msgs Rcvd 109087
Num Update Status Rcvd 0 Num Status Timeouts 0
Router#

The important statistics to notice are the number of inquiries sent and received. This
indicates the number of LMI status messages sent by the DTE device. The DCE sends a
status message in return. Noticing this statistic enables you to see whether data is passing
between the two devices.

The show frame-relay map Command

You can see the current map entries and information about the connections by using the show
frame-relay map command. This command shows the Network-layer-to-DLCI mappings
table in the router. An example output of this command is given here:
Router_A#show frame-relay map
Serial0 (up): ip 172.16.1.2 dlci 500(0x64,0x1840), dynamic,
broadcast, status defined, active
Router_A#
LMI used IARP to determine the address of the remote router and created this dynamic mapping.
If you want to clear the Network layer-to-DLCI mappings on a router, you can
use the command clear frame-relay-inarp, which clears dynamically created
maps on the router.