Frame Relay show Commands

The most common commands that observe Frame Relay status and configuration are the following:

• show frame-relay map

• show frame-relay lmi

• show frame-relay pvc

This section shows and explains sample outputs from each of these commands. Example 5-5 shows output from the show frame-relay map command. Example 5-5 show frame-relay map Command

R5#show

frame

-relay map

Serial0

(up):

ip 172.16.1.3

dlci 103(0x67,0x1870),

static,

broadcast,

CISCO, status

defined, active

Serial0

(up):

ip 172.16.1.1

dlci 101(0x65,0x1850),

static,

broadcast,

CISCO, status

defined, active

The output from the show frame-relay map command shows the current status and relevant information about the mappings. Example 5-5 shows two VCs mapped on serial 0. One has local DLCI 103, IP is the network protocol in use, and the remote IP address associated with DLCI 103 is 172.16.1.3. The numbers in parenthesis display DLCI numbers in two different ways: hexadecimal representation and the value of the 16-bit address field that contains the DLCI, extended address (EA), and congestion control bits. The other mapping shows that IP address 172.16.1.1 is the remote address associated with DLCI 101. Both mappings are statically defined, are configured to broadcast over the VC, use Cisco frame encapsulation, and are active.

The next command, show frame-relay lmi, displays the statistics learned through LMI. Example 5-6 shows the output of this command.

Example 5-6 show frame-relay lmi Command

R5#show frame-relay lmi

LMI Statistics for interface Serial0

(Frame Relay DTE) LMI TYPE = ANSI

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 274284

Num Status msgs Rcvd 274285

Num Update Status Rcvd 0

Num Status Timeouts 0

The output from the command show frame-relay lmi displays the LMI statistics on all Frame Relay interfaces. Optionally, you can specify a particular serial interface with the command show frame-relay lmi interface-type interface-number. Example 5-6 shows that the LMI type on serial 0 is ansi. It also displays the statistics about LMI messages sent and received.

The show frame-relay pvc command displays information about each PVC. Optionally, you can specify a particular interface or a particular DLCI, show frame-relay pvc [interface interface] [dlci]. Example 5-7 displays information about all the Frame Relay PVCs on the router.

Example 5-7 show frame-relay pvc Command

R5#show frame-relay pvc

PVC Statistics for interface Serial0 (Frame Relay DTE)

Active

Inactive Deleted

Static

Local 4

0 0

0

Switched 0

0 0

0

Unused 1

0 0

0

DLCI = 100, DLCI USAGE

= LOCAL, PVC STATUS = ACTIVE,

INTERFACE = Serial0

input pkts 296622

output pkts 113774

in bytes 98478504

out bytes 37772968

dropped pkts 0

in FECN pkts 0

in BECN pkts 0

out FECN pkts 0

out BECN pkts 0

in DE pkts 0

out DE pkts 0

out bcast pkts 113774

out bcast bytes 37772968

pvc create time 4w3d,

last time pvc status changed

2w5d

DLCI = 101, DLCI USAGE

= LOCAL, PVC STATUS = ACTIVE,

INTERFACE = Serial0

input pkts 80902

output pkts 59187

in bytes 6773114

out bytes 4445196

dropped pkts 0

in FECN pkts 0

in BECN pkts 0

out FECN pkts 0

out BECN pkts 0

in DE pkts 0

out DE pkts 0

out bcast pkts 0

out bcast bytes 0

pvc create time 2w5d,

last time pvc status changed

2w5d

DLCI = 103, DLCI USAGE

= LOCAL, PVC STATUS = ACTIVE,

INTERFACE = Serial0

input pkts 10

output pkts 10

in bytes 1040

out bytes 1040

dropped pkts 0

in FECN pkts 0

in BECN pkts 0

out FECN pkts 0

out BECN pkts 0

in DE pkts 0

out DE pkts 0

out bcast pkts 0

out bcast bytes 0

pvc create time 2w5d,

last time pvc status changed

2w5d

The command output displayed in Example 5-7 shows that serial 0 has five PVCs. Four are local PVCs, one is unused, and all are active. PVCs are local when the router is a DTE, switched when the router is a DCE, and unused when there is no user-entered configuration information about the PVC. A PVC is marked as inactive when an LMI status report indicates that it is not active. The PVC is marked as deleted when the PVC is not listed at all in the periodic LMI status message. Detailed statistics about three of the PVCs are shown in the example. DLCI 100 is local, active, and associated with serial 0. Statistics about frames sent and received on the PVC are displayed, and you can see that the PVC was created 4 weeks and 3 days ago and that it last changed status 2 weeks and 5 days ago.

Continue reading here: ISDN Layer2 Protocols

Was this article helpful?

0 0