R2(config)#frame-relay switching
[s1]
R2(config)#interface serial 1/0
R2(config-if)#encapsulation frame-relay
R2(config-if)#frame-relay intf-type dce
R2(config-if)#frame-relay lmi-type cisco
R2(config-if)#frame-relay route 100 interface serial 1/1 101
R2(config-if)#frame-relay route 200 interface serial 1/1 201
[l2]
R2(config-if)#clock rate 64000
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface serial 1/1
R2(config-if)#encapsulation frame-relay
R2(config-if)#frame-relay intf-type dce
R2(config-if)#frame-relay lmi-type ansi
R2(config-if)#frame-relay route 101 interface serial 1/0 100
R2(config-if)#frame-relay route 201 interface serial 1/0 200
R2(config-if)#clock rate 64000
R2(config-if)#no shutdown
R2(config-if)#exit
R2#sh frame route
[l3]
Input Intf Input Dlci Output Intf Output Dlci Status
Serial1/0 100 Serial1/1 101 active
Serial1/0 200 Serial1/1 201 active
Serial1/1 101 Serial1/0 100 active
Serial1/1 201 Serial1/0 200 active
|
R1(config)#int s1/1
R1(config-if)#encapsulation frame-relay
R1(config-if)#no ip addr
R1(config-if)#no sh
R1(config-if)#exit
R1(config)#int s1/1.100 point-to-point
R1(config-subif)#ip address 172.16.1.1 255.255.255.0
R1(config-subif)#frame-relay interface-dlci 100
R1(config-fr-dlci)#exit
R1(config-subif)#exit
R1(config)#
R1(config)#int s1/1.200 point-to-point
R1(config-subif)#ip add 172.16.2.1 255.255.255.0
R1(config-subif)#frame-relay interface-dlci 200
R1(config-fr-dlci)#exit
R1(config-subif)#exit
R1(config)#
|
R3(config)#int s1/0
R3(config-if)#encapsulation frame-relay
/*R3(config-if)#frame-relay lmi-type ansi
[s4]
*/
R3(config-if)#no ip addr
R3(config-if)#no sh
R3(config-if)#exit
R3(config)#int s1/1.101 point-to-point
R3(config-subif)#ip add 172.16.1.2 255.255.255.0
R3(config-subif)#frame-relay interface-dlci 101
R3(config-fr-dlci)#exit
R3(config-subif)#exit
R3(config)#
R3(config)#int s1/1.201 point-to-point
R3(config-subif)#ip add 172.16.2.2 255.255.255.0
R3(config-subif)#frame-relay interface-dlci 201
R3(config-fr-dlci)#exit
R3(config-subif)#exit
R3(config)#
|
R1#sh frame-relay lmi
LMI Statistics for interface Serial1/1 (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 716 Num Status msgs Rcvd 717
Num Update Status Rcvd 0 Num Status Timeouts 0R1#
|
R1#sh frame-relay map
Serial1/1.200 (up): point-to-point dlci, dlci 200(0xC8,0x3080), broadcast
status defined, active
Serial1/1.100 (up): point-to-point dlci, dlci 100(0x64,0x1840), broadcast
status defined, active
|
R3#sh frame-relay map
Serial1/0.201 (up): point-to-point dlci, dlci 201(0xC9,0x3090), broadcast
status defined, active
Serial1/0.101 (up): point-to-point dlci, dlci 101(0x65,0x1850), broadcast
status defined, active
|
R1#ping 172.16.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/61/120 ms
R1#ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/67/96 ms
|