思科EIGRP小实验

实验名称:思科EIFRP小实验
实验目的:验证EIGRP工作表
实验思路:在每个路由器设置相应IP地址,在每个路由器设置EIGRP,输入自己对应的网段,注意添加反掩码。
实验拓扑:

实验命令:
R1>en 
R1#conf
R1#configure t
R1#configure terminal 
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int f0/0
R1(config-if)#no shu
R1(config-if)#ip add 192.168.
Dec 15 12:56:36.715: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
Dec 15 12:56:37.715: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1(config-if)#ip add 192.168.12.1 255.255.255.0
R1(config-if)#exi
R1(config)#int l 0
R1(config-if)#ip add 10.10.1.1 255.255.255.0
R1(config-if)#
R1(config-if)#
R1(config-if)#exi
R1(config)#router ei
R1(config)#router eigrp 100
R1(config-router)#no au
R1(config-router)#no auto-summary 
R1(config-router)#net 192.168.12.0 0.0.0.255
R1(config-router)#net 10.10.1.0 0.0.0.255 
R1(config-router)#
*Dec 15 13:00:28.091: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.12.2 (FastEthernet0/0) is up: new adjacency
R1(config-router)#

R2>en
R2#conf 
R2#configure t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int f 0/1
R2(config-if)#no shu
R2(config-if)#ip add
Dec 15 12:56:51.671: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
Dec 15 12:56:52.671: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R2(config-if)#ip add 192.168.12.2 255.255.255.0
R2(config-if)#exi
R2(config)#int l 0
R2(config-if)#ip add 10.10.2.2 255.255.255.0
R2(config-if)#exi
R2(config)#int f0/0
R2(config-if)#no shu
R2(config-if)#ip add 192.16
Dec 15 12:57:23.639: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
Dec 15 12:57:24.639: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R2(config-if)#ip add 192.168.23.2 255.255.255.0
R2(config-if)#
R2(config-if)#
R2(config-if)#exi
R2(config)#router ei
R2(config)#router eigrp 100
R2(config-router)#no au
R2(config-router)#no auto-summary 
R2(config-router)#net 192.168.12.0 0.0.0.255
R2(config-router)#net 192.168.23.0 0. 
Dec 15 13:00:12.027: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.12.1 (FastEthernet0/1) is up: new adjacency
R2(config-router)#net 192.168.23.0 0.0.0.255
R2(config-router)#net 10.10.2.0 0.0.0.255 
R2(config-router)#
Dec 15 13:00:59.371: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.23.3 (FastEthernet0/0) is up: new adjacency
R2(config-router)#

R3>
R3>en
R3#conf 
R3#configure t
R3#configure terminal 
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#int f0/1
R3(config-if)#no shu
R3(config-if)#ip add 
Dec 15 12:57:25.167: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
Dec 15 12:57:26.167: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R3(config-if)#ip add 192.168.23.3 255.255.255.0
R3(config-if)#exi
R3(config)#int l 0
R3(config-if)#ip add 10.10.3.3 255.255.255.0
R3(config-if)#exi
R3(config)#int f 0/0
R3(config-if)#no shu
R3(config-if)#ip add 192.168.
Dec 15 12:57:58.759: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
Dec 15 12:57:59.759: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R3(config-if)#ip add 192.168.34.3 255.255.255.0
R3(config-if)#
R3(config-if)#
R3(config-if)#
R3(config-if)#router ei
R3(config-if)#router ei
R3(config-if)#exi 
R3(config)#router ei
R3(config)#router eigrp 100
R3(config-router)#no au
R3(config-router)#no auto-summary 
R3(config-router)#net 192.168.23.0 0.0.0.255
R3(config-router)#net 192. 
Dec 15 13:00:39.647: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.23.2 (FastEthernet0/1) is up: new adjacency
R3(config-router)#net 192.168.34.0 0.0.0.255
R3(config-router)#net 10.10.3.0 0.0.0.255 
R3(config-router)# 
Dec 15 13:01:28.351: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.34.4 (FastEthernet0/0) is up: new adjacency
R3(config-router)#

R4>en
R4#conf
R4#configure t
R4#configure terminal 
Enter configuration commands, one per line. End with CNTL/Z.
R4(config)#int f0/1
R4(config-if)#no shu
R4(config-if)#ip add 192.168.34.
Dec 15 12:57:48.639: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
Dec 15 12:57:49.639: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R4(config-if)#ip add 192.168.34.4 255.255.255.0
R4(config-if)#exi
R4(config)#int l 0
R4(config-if)#ip add 10.10.4.4 255.255.255.0
R4(config-if)#exi
R4(config)#
R4(config)#
R4(config)#router ei
R4(config)#router eigrp 100
R4(config-router)#no au
R4(config-router)#no auto-summary 
R4(config-router)#net 192.168.34.0 0.0.0.255
R4(config-router)#net 10.10.4.0 0 
Dec 15 13:01:02.771: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.34.3 (FastEthernet0/1) is up: new adjacency
R4(config-router)#net 10.10.4.0 0.0.0.255
R4(config-router)#end
R4#show
Dec 15 13:01:12.007: %SYS-5-CONFIG_I: Configured from console by console
R4#show ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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

D 192.168.12.0/24 [90/33280] via 192.168.34.3, 00:00:13, FastEthernet0/1
10.0.0.0/24 is subnetted, 4 subnets
D 10.10.1.0 [90/161280] via 192.168.34.3, 00:00:13, FastEthernet0/1
D 10.10.2.0 [90/158720] via 192.168.34.3, 00:00:13, FastEthernet0/1
D 10.10.3.0 [90/156160] via 192.168.34.3, 00:00:13, FastEthernet0/1
C 10.10.4.0 is directly connected, Loopback0
D 192.168.23.0/24 [90/30720] via 192.168.34.3, 00:00:13, FastEthernet0/1
C 192.168.34.0/24 is directly connected, FastEthernet0/1
R4#show ip ei 
R4#show ip eigrp nei
R4#show ip eigrp neighbors 
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 192.168.34.3 Fa0/1 11 00:00:26 252 1512 0 6
R4#show ip eigrp p 
R4#show ip eigrp to
R4#show ip eigrp topology 
IP-EIGRP Topology Table for AS(100)/ID(10.10.4.4)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status

P 10.10.1.0/24, 1 successors, FD is 161280
via 192.168.34.3 (161280/158720), FastEthernet0/1
P 10.10.2.0/24, 1 successors, FD is 158720
via 192.168.34.3 (158720/156160), FastEthernet0/1
P 10.10.3.0/24, 1 successors, FD is 156160
via 192.168.34.3 (156160/128256), FastEthernet0/1
P 10.10.4.0/24, 1 successors, FD is 128256
via Connected, Loopback0
P 192.168.34.0/24, 1 successors, FD is 28160
via Connected, FastEthernet0/1
P 192.168.12.0/24, 1 successors, FD is 33280
via 192.168.34.3 (33280/30720), FastEthernet0/1
P 192.168.23.0/24, 1 successors, FD is 30720
via 192.168.34.3 (30720/28160), FastEthernet0/1
R4#show ip rout 
R4#show ip route ei
R4#show ip route eigrp 
D 192.168.12.0/24 [90/33280] via 192.168.34.3, 00:00:49, FastEthernet0/1
10.0.0.0/24 is subnetted, 4 subnets
D 10.10.1.0 [90/161280] via 192.168.34.3, 00:00:49, FastEthernet0/1
D 10.10.2.0 [90/158720] via 192.168.34.3, 00:00:49, FastEthernet0/1
D 10.10.3.0 [90/156160] via 192.168.34.3, 00:00:49, FastEthernet0/1
D 192.168.23.0/24 [90/30720] via 192.168.34.3, 00:00:49, FastEthernet0/1
R4#



本文转自 linuxpp 51CTO博客,原文链接:http://blog.51cto.com/13505118/2051005,如需转载请自行联系原作者

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值