Press Enter to Start
Router>
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host router1
router1(config)#int s0
router1(config-if)#encapsulation frame-relay
router1(config-if)#encapsulation frame-relay ?
ietf Use RFC1490/RFC2427 encapsulation
<cr>
router1(config-if)#encapsulation frame-relay
router1(config-if)#frame-relay lmi-type ?
cisco
ansi
q933a
router1(config-if)#frame-relay lmi-type ansi
router1(config-if)#no sh
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINK-3-UPDOWN: Interface Serial0, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down
router1(config-if)#int s0.1 point-to-point
router1(config-subif)#ip add 192.168.1.1 255.255.255.0
router1(config-subif)#frame-relay interface-dlci 102
router1(config-subif)#no sh
router1(config-subif)#int s0.2 point-to-point
router1(config-subif)#ip add 192.168.2.1 255.255.255.0
router1(config-subif)#frame-relay interface-dlci 103
router1(config-subif)#no sh
router1(config-subif)#end
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up
21:49:39: %FR-5-DLCICHANGE: Interface Serial0.1 - DLCI 102 state changed to ACTIVE
21:49:39: %FR-5-DLCICHANGE: Interface Serial0.2 - DLCI 103 state changed to ACTIVE
router1#show frame-relay map
Serial0.1 (up): point-to-point dlci, dlci 102(0x66,0x1860), broadcast
status defined, active
Serial0.2 (up): point-to-point dlci, dlci 103(0x66,0x1860), broadcast
status defined, active
router1#show frame-relay lmi
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 160 Num Status msgs Rcvd 137
Num Update Status Rcvd 0 Num Status Timeouts 13
router1#show frame-relay pvc
PVC Statistics for interface Serial0 (Frame Relay DTE)
DLCI = 102, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0.1
input pkts 64 output pkts 7 in bytes 281
out bytes 4881 dropped pkts 19 in FECN pkts 25
in BECN pkts 6 out FECN pkts 63 out BECN pkts 11
in DE pkts 81 out DE pkts 76
out bcast pkts 35 out bcast bytes 718
pvc create time 00:32:04, last time pvc status changed 00:32:05
PVC Statistics for interface Serial0 (Frame Relay DTE)
DLCI = 103, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0.2
input pkts 56 output pkts 34 in bytes 1194
out bytes 5160 dropped pkts 68 in FECN pkts 29
in BECN pkts 28 out FECN pkts 117 out BECN pkts 117
in DE pkts 61 out DE pkts 80
out bcast pkts 109 out bcast bytes 6467
pvc create time 00:32:04, last time pvc status changed 00:32:05
router1#
router1#
router1#
router1#show frame-relay svc
%Incomplete command.
Press Enter to Start
Router>
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host router2
router2(config)#int s0
router2(config-if)#encapsulation frame-relay
router2(config-if)#ip add 192.168.1.2 255.255.255.0
router2(config-if)#no sh
%LINK-3-UPDOWN: Interface Serial0, changed state to up
router2(config-if)#end
router2#ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Press Enter to Start
Router>
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host router3
router3(config)#int s0
router3(config-if)#encapsulation frame-relay
router3(config-if)#ip add 192.168.2.2 255.255.255.0
router3(config-if)#no sh
%LINK-3-UPDOWN: Interface Serial0, changed state to up
router3(config-if)#end
router3#ping 192.168.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms