CCNA EIGRP 实验

3d8e1948e8c04ff5a984c3af2699f098

dac73f8e2f58411c85c490680043fb73

47a5e66f537146d09c267c54ba235fc5

6a5b35274f4c4a6b95d4a7f1bd32642e

1adadb4b309844a8bcf5655e22659367

39f6ee7fc00f421b9d39bbb9c59a9489

先配接口

R1(config)#int f0/0

R1(config-if)#ip add 12.1.1.1 255.255.255.0

R1(config-if)#no sh

R1(config-if)#

*Mar 1 00:02:18.967: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up

*Mar 1 00:02:19.967: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R1(config-if)#

R1#sh ip int b

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 12.1.1.1 YES manual up up

R1#ping 12.1.1.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 12.1.1.2, timeout is 2 seconds:

.!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 16/19/20 ms

R2#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R2(config)#int f0/0

R2(config-if)#ip add 12.1.1.2 255.255.255.0

R2(config-if)#no sh

R2(config-if)#

*Mar 1 00:03:38.003: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up

*Mar 1 00:03:39.003: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R2(config-if)#exit

R2(config)#int f1/0

R2(config-if)#ip add 23.1.1.1 255.255.255.0

R2(config-if)#no sh

R2(config-if)#do s

*Mar 1 00:04:56.455: %LINK-3-UPDOWN: Interface FastEthernet1/0, changed state to up

*Mar 1 00:04:57.455: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up

R2(config-if)#exit

R2(config)#exit

R2#s

*Mar 1 00:05:04.815: %SYS-5-CONFIG_I: Configured from console by console

R2#sh ip int b

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 12.1.1.2 YES manual up up

FastEthernet1/0 23.1.1.1 YES manual up up

R2#ping 12.1.1.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 12.1.1.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 16/20/28 ms

R2#ping 23.1.1.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 23.1.1.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 20/21/24 ms

R3(config)#int f1/0

R3(config-if)#ip add

R3(config-if)#ip address 23.1.1.2 255.255.255.0

R3(config-if)#no sh

R3(config-if)#^Z

R3#pi

*Mar 1 00:06:15.551: %SYS-5-CONFIG_I: Configured from console by console

R3#ping 2

*Mar 1 00:06:16.431: %LINK-3-UPDOWN: Interface FastEthernet1/0, changed state to up

*Mar 1 00:06:17.431: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up

R3#ping 23.1.1.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 23.1.1.1, timeout is 2 seconds:

.!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 20/21/24 ms

R3#

然后宣告EIGRP

R1(config)#router eigrp 100

R1(config-router)#net

R1(config-router)#network 12.1.1.1 0.0.0.0

R1(config-router)#no auto-summary

R1(config-router)#end

R2(config)#router eigrp 100

R2(config-router)#net

R2(config-router)#network 12.1.1.2 0.0.0.0

R2(config-router)#net

R2(config-router)#network

*Mar 1 00:11:55.879: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 12.1.1.1 (FastEthernet0/0) is up: new adjacency

R2(config-router)#network 23.1.1.1 0.0.0.0

R2(config-router)#no au

R2(config-router)#no auto-summary

R2(config-router)#

*Mar 1 00:12:21.943: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 12.1.1.1 (FastEthernet0/0) is down: summary configured

R2(config-router)#

*Mar 1 00:12:23.803: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 12.1.1.1 (FastEthernet0/0) is up: new adjacency

R2(config-router)#

R3(config)#router eigrp 100

R3(config-router)#net

R3(config-router)#network 23.1.1.2 0.0.0.0

R3(config-router)#no au

R3(config-router)#no auto-summary

R3(config-router)#

*Mar 1 00:16:19.751: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 23.1.1.1 (FastEthernet1/0) is up: new adjac ency

*Mar 1 00:16:20.251: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 23.1.1.1 (FastEthernet1/0) is down: summary configured

R3(config-router)#

*Mar 1 00:16:24.263: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 23.1.1.1 (FastEthernet1/0) is up: new adjacency

然后用R1 R3 互ping

R1#ping 23.1.1.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 23.1.1.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 20/37/48 ms

R1#

R3#ping

*Mar 1 00:17:53.979: %SYS-5-CONFIG_I: Configured from console by console

R3#ping 12.1.1.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 12.1.1.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 40/45/56 ms

看邻居状态

R2#sh ip eigrp neighbors

IP-EIGRP neighbors for process 100

H Address Interface Hold Uptime SRTT RTO Q Seq

(sec) (ms) Cnt Num

1 23.1.1.2 Fa1/0 12 00:04:23 1348 5000 0 3

0 12.1.1.1 Fa0/0 14 00:07:56 1 3000 0 6

R2#

9ad72f98fed148d09f8c5798c8dcf020

R2#sh ip eigrp topology

IP-EIGRP Topology Table for AS(100)/ID(23.1.1.1)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,

r - reply Status, s - sia Status

P 12.1.1.0/24, 1 successors, FD is 28160

via Connected, FastEthernet0/0

P 23.1.1.0/24, 1 successors, FD is 28160

via Connected, FastEthernet1/0

R2#

f05b7fc95fdf483f817ad8b97e778a4a

猜你喜欢

转载自blog.51cto.com/433266/2113174