debug frame-relay lmi

Use the debug frame-relay lmi privileged EXEC command to display information on the local management interface (LMI) packets exchanged by the router and the Frame Relay service provider. The no form of this command disables debugging output.

debug frame-relay lmi [interface name]

no debug frame-relay lmi [interface name]

Syntax Description

interface name

(Optional) Name of interface.

Usage Guidelines

You can use this command to determine whether the router and the Frame Relay switch are sending and receiving LMI packets properly.


  Note Because the debug frame-relay lmi command does not generate much output, you can use it at any time, even during periods of heavy traffic, without adversely affecting other users on the system.

Examples

The following is sample output from the debug frame-relay lmi command:

The first four lines describe an LMI exchange. The first line describes the LMI request the router has sent to the switch. The second line describes the LMI reply the router has received from the switch. The third and fourth lines describe the response to this request from the switch. This LMI exchange is followed by two similar LMI exchanges. The last six lines consist of a full LMI status message that includes a description of the router's two permanent virtual circuits (PVCs).

The table below describes significant fields in the first line of the debug frame-relay lmi output.


Table 50: debug frame-relay lmi Command Field Descriptions
Field Description

Serial1(out)

Indicates that the LMI request was sent out on the Serial1 interface.

StEnq

Command mode of message:

StEnq---Status inquiry

Status---Status reply

clock 20212760

System clock (in milliseconds). Useful for determining whether an appropriate amount of time has transpired between events.

myseq 206

Myseq counter maps to the router's CURRENT SEQ counter.

yourseen 136

Yourseen counter maps to the LAST RCVD SEQ counter of the switch.

DTE up

Line protocol up/down state for the DTE (user) port.

The table below describes significant fields in the third and fourth lines of debug frame-relay lmi output.


Table 51: debug frame-relay lmi Command Field Descriptions
Field Description

RT IE 1

Value of the report type information element.

length 1

Length of the report type information element (in bytes).

type 1

Report type in RT IE.

KA IE 3

Value of the keepalive information element.

length 2

Length of the keepalive information element (in bytes).

yourseq 138

Yourseq counter maps to the CURRENT SEQ counter of the switch.

myseq 206

Myseq counter maps to the router's CURRENT SEQ counter.

The table below describes significant fields in the last line of debug frame-relay lmi output.


Table 52: debug frame-relay lmi Command Field Descriptions
Field Description

PVC IE 0x7

Value of the permanent virtual circuit information element type.

length 0x6

Length of the PVC IE (in bytes).

dlci 401

DLCI decimal value for this PVC.

status 0

Status value. Possible values include the following:

  • 0x00---Added/inactive

  • 0x02---Added/active

  • 0x04---Deleted

  • 0x08---New/inactive

  • 0x0a---New/active

bw 56000

Committed information rate in decimal, for the DLCI.