第1段:R1路由器的配置 version 12.1 service timestamps debug uptime service timestamps log uptime no service passWord-encryption ! hostname R1 ! ip subnet-zero ! interface Loopback0 ip address 10.1.1.1255.255.255.0 ! interface Serial0 no ip address esscapsulation frame-relay no fair-queue no frame-relay inverse-arp ! Interface Serial0.102 point-to-point ip address 192.168.1,1255.255.255.252 bandwidth 64 frame-relay interface-dlci 102 ! interface Serial0. 103 point-to-point ip address 192.168.1.5 255.255.255.252 bandwidth 64 frame-relay interface-dici 103 ! router eigrp 100 network 10.1.1.0 0.0.0.255 network 192.168.1.00.0.0.3 network 192.168.1.4 0.0.0.3 no auto-summary no eigrp log-neighbor-changes ! ip classless ip http server ! line con 0 line aux 0 line vty 0 4 ! end 第2段:R2路由器的配置 version 12.1 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname R2 ! ip subnet-zero no ip finger ! interface Loopback0 ip address 10.1.2.1255.255.255.0 ! interface Serial0 bandwidth 64 ip address 192.168.1.2 255.255.255.252 encapsulation frame-relay no fair-queue frame-relay map ip 192.168.1.1 201 broadcast frame-relay interface-dici 201 no frame-relay inverse-arp ! router eigrp 100 network 10.1.2.00.0.0.255 network 192.168.1.00.0.0.3 no auto-summary no eigrp log-neighbor-changes ! ip classless ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! end 第3段:R3路由器的配置 version 12.1 service timestamps debug uptime service timestamps log uptime no service password-encryption hostname R3 ! ip subnet-zero no ip finger ! interface Loopback0 ip address 10.1.3.1255.255.255.0 ! interface Serial0 bandwidth 64 ip address 192.168.1.6 255.255.255.252 encapsulation frame-relay no fair-queue frame-relay map ip 192.168.1.5 301 broadcast frame-relay interface-dici 301 no frame-relay inverse-arp ! router eigrp 100 network 10.1.3.00.0.0.255 network 192.168.1.40.0.0.3 no auto-summary no eigrp log-neighbor-changes ! ip classless ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! end
监测清单8-4 查看帧中继点到点子接口配置结果 R3#sh ip route eigrp 10.0.0.0/24 is subnetted, 3 subnets D 10.1.2.0 [90/41152000] via 192.168.1.5, 00:02:08, Serial0 D 10.1.1.0 [90/406400003 via 192.168.1.5,00:02:08, Serial0 192.168.1.0/30 is subnetted, 2 subnets D 192.168.1.0 [90/41024000] via 192.168.1.5, 00:02:09, Serial0 R3# Term_Server#2 [Resuming connection 2 to r2 ... ] R2#sh ip route eigrp 10.0.0.0/24 is D 10.1.3.0 [90/41152000] via 192.168.1.1, 00:02:39, Serial0 D 10.1.1.0 [90/40640000] via 192.168.1.1, 00:05:21, Serial0 192.168.1.0/30 is subnetted, 2 subnets D 192.168.1.4 [90/41024000] via 192.168.1.1,00:04:14, Serial0 R2# Term_Server#1 [Resuming connection 1 to r1 ... ] R1#sh ip route eigrp 10.0.0.0/24 is subnetted, 3 subnets D 10.1.3.0 [90/40640000] via 192.168.1.6, 00:03:45, Serial0.103 D 10.1.2.0 [90/40640000] via 192.168.1.2, 00:06:24,.Serial0.102 R1#sh frame pvc PVC Statistics for interface Serial0 (Frame Relay DTE) Active Inactive Deleted Static Local 2 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0
input pkts 23 output pkts 223 in bytes 1585 out bytes 18481 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 beast pkts 193 out beast bytes 15792 pvc create time 00:35:47, last time pvc status changed 00:13:37