R1 S2/0 192.168.10.49/30
R2 S2/0 192.168.10.50/30
R2 FO/0 192.168.20.1/24
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R1(config-if)#exit
R1(config)#interface loopback 1
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to upR1(config-if)#ip address 192.168.10.41 255.255.255.248
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface serial 2/0
R1(config-if)#ip address 192.168.10.49 255.255.255.252
R1(config-if)#clock rate 64000//DCE端設置時鐘頻率爲64000
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#route eigrp 10//啓用eigrp路由協議,自治號爲10
R1(config-router)#network 192.168.10.0//通告直連網絡
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to upR2(config-if)#ip address 192.168.20.1 255.255.255.0
R2(config-if)#exit
R2(config)#interface serial 2/0
R2(config-if)#ip address 192.168.10.50 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
R2(config-if)#exit
R2(config)#route eigrp 10//啓用eigrp路由協議,自治號爲10
R2(config-router)#network 192.168.10.0//通告直連網絡
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
C 192.168.10.32/29 is directly connected, Loopback0
C 192.168.10.40/29 is directly connected, Loopback1
C 192.168.10.48/30 is directly connected, Serial2/0
D 192.168.20.0/24 [90/20640000] via 192.168.10.50, 00:00:09, Serial2/0
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
D 192.168.10.0/24 is a summary, 00:01:02, Null0
D 192.168.10.32/29 [90/20640000] via 192.168.10.49, 00:04:10, Serial2/0
D 192.168.10.40/29 [90/20640000] via 192.168.10.49, 00:04:10, Serial2/0
C 192.168.10.48/30 is directly connected, Serial2/0
C 192.168.20.0/24 is directly connected, Loopback0
R1(config-router)#no auto-summary
R2(config-router)#no auto-summary
R2(config-if)#ip summary-address eigrp 10 192.168.10.32 255.255.255.240//eigrp的手動彙總
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
D 192.168.10.32/28 [90/20640000] via 192.168.10.49, 00:00:15, Serial2/0
C 192.168.10.48/30 is directly connected, Serial2/0
C 192.168.20.0/24 is directly connected, Loopback0