本实验为帧中继point-to-point的一个简单实验,在PT5.1上完成。需要注意一下几个问题:
1.       PT5.1不支持no frame inver 命令,故都为动态配置。
2.       必须为端口配置LMI,且还要在帧中继云中再手动设置一致,否则实验无法成功。
3.       帧中继云中的设置很重要,云的各端口设置的DLCI为其相同一侧路由器端口的DLCI.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 

下面是简单配置
R1:

Int s0/1/0
No ip add
Encap frame
Frame lmi ansi
No sh

 

Int s0/1/0.102 poin-to-point

Ip add 192.168.1.1 255.255.255.0

Frame int 102

No sh

 

 

Int s0/1/103 point-to-point

Ip add 192.168.3.1 255.255.255.0

Frame int 103

No sh

 

Int fa0/0
Ip add 192.168.10.1 255.255.255.0
No sh

 

Router rip
Ver 2
Net 192.168.1.0
Net 192.168.3.0
Net 192.168.10.0

 

R2:

Int s0/1/0
Ip add 192.168.1.2 255.255.255.0
Encap frame
Frame lmi ansi
Frame int 201
No sh

 

Int fa0/0
Ip add 192.168.20.1 255.255.255.0
No sh

 

Router rip
Ver 2
Net 192.168.1.0
Net 192.16820.0

 

R3(略)

 

验证命令:
Sh frame map

R1#sh frame map
Serial0/1/0.102 (up): point-to-point dlci, dlci 102, broadcast, status defined, active
Serial0/1/0.103 (up): point-to-point dlci, dlci 103, broadcast, status defined, active
R1#

 

R2#sh frame map
Serial0/1/0 (up): ip 192.168.1.1 dlci 201, dynamic, broadcast, CISCO, status defined, active
R2#

 

R3#sh frame map
Serial0/1/0 (up): ip 192.168.3.1 dlci 301, dynamic, broadcast, CISCO, status defined, active
R3#

 

sh frame pvc

R2#sh frame pvc

 

PVC Statistics for interface Serial0/1/0 (Frame Relay DTE)
DLCI = 201, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/1/0

 

input pkts 14055       output pkts <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />32795        in bytes 1096228
out bytes 6216155      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 32795   out bcast bytes 6216155
R2#

 

R1#sh ip rou
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

 

Gateway of last resort is not set

 

C    192.168.1.0/24 is directly connected, Serial0/1/0.102
C    192.168.3.0/24 is directly connected, Serial0/1/0.103
C    192.168.10.0/24 is directly connected, FastEthernet0/0
R    192.168.20.0/24 [120/1] via 192.168.1.2, 00:00:24, Serial0/1/0.102
R    192.168.30.0/24 [120/1] via 192.168.3.2, 00:00:26, Serial0/1/0.103
R1#