试验32 EIGRP试验



R1配置
r1(config)#int lo0
r1(config-if)#ip add 1.1.1.1 255.255.255.0
r1(config-if)#int s1/2
r1(config-if)#ip add 10.1.1.1 255.255.255.0
r1(config-if)#no sh
r1(config-if)#int s1/3
r1(config-if)#ip add 10.1.2.1 255.255.255.0
r1(config-if)#no sh
r1(config)#router eigrp 100
r1(config-router)#net 1.1.1.1
r1(config-router)#net 10.1.1.1
r1(config-router)#^Z

R2配置
r2(config)#
r2(config)#int lo0
r2(config-if)#ip add 2.2.2.2 255.255.255.0
r2(config-if)#int lo1
r2(config-if)#ip add 172.16.1.2 255.255.255.0
r2(config-if)#int s2/1
r2(config-if)#ip add 10.1.1.2 255.255.255.0
r2(config-if)#no sh
r2(config)#router eigrp 100
r2(config-router)#net 2.0.0.0
r2(config-router)#net 172.16.0.0
r2(config-router)#net 10.0.0.0

R3配置
r3(config)#int lo0
r3(config-if)#ip add 3.3.3.3 255.255.255.0
r3(config-if)#int lo1
r3(config-if)#ip add 192.168.1.3 255.255.255.0
r3(config-if)#int s3/1
r3(config-if)#ip add 10.1.2.3 255.255.255.0
r3(config-if)#no sh
r3(config)#router eigrp 100
r3(config-router)#net 3.3.3.3
r3(config-router)#net 192.168.1.3
r3(config-router)#net 10.0.0.0
r3(config-router)#exit
r3(config)#^Z

查看配置
r1#sh ip protocols
Routing Protocol is “eigrp 100″
Outgoing update filter list for all interfaces is
Incoming update filter list for all interfaces is
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: eigrp 100
Automatic network summarization is in effect
Automatic address summarization:
1.0.0.0/8 for Serial1/2, Serial1/3
Summarizing with metric 128256
10.0.0.0/8 for Loopback0
Summarizing with metric 2169856
Routing for Networks:
1.0.0.0
10.0.0.0
Routing Information Sources:
Gateway         Distance      Last Update
(this router)          5      00:02:07
10.1.1.2              90      00:00:34
10.1.2.3              90      00:00:31
Distance: internal 90 external 170

协议已经运行了

r1#sh ip route
Codes: C �C connected, S �C static, I �C IGRP, R �C RIP, M �C mobile, B �C BGP
D �C EIGRP, EX �C EIGRP external, O �C OSPF, IA �C OSPF inter area
N1 �C OSPF NSSA external type 1, N2 �C OSPF NSSA external type 2
E1 �C OSPF external type 1, E2 �C OSPF external type 2, E �C EGP
i �C IS-IS, L1 �C IS-IS level-1, L2 �C IS-IS level-2, * �C candidate default
U �C per-user static route, o �C ODR
T �C traffic engineered route
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D       1.0.0.0/8 is a summary, 00:02:58, Null0
C       1.1.1.0/24 is directly connected, Loopback0
D    2.0.0.0/8 [90/2297856] via 10.1.1.2, 00:02:25, Serial1/2
D    3.0.0.0/8 [90/2297856] via 10.1.2.3, 00:01:25, Serial1/3
D    172.16.0.0/16 [90/2297856] via 10.1.1.2, 00:02:25, Serial1/2
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C       10.1.2.0/24 is directly connected, Serial1/3
D       10.0.0.0/8 is a summary, 00:02:58, Null0
C       10.1.1.0/24 is directly connected, Serial1/2
D    192.168.1.0/24 [90/2297856] via 10.1.2.3, 00:01:25, Serial1/3

已经有了6条eigrp路由

r1#sh ip eigrp topology
IP-EIGRP Topology Table for process 100
Codes: P �C Passive, A �C Active, U �C Update, Q �C Query, R �C Reply,
r �C Reply status
P 1.0.0.0/8, 1 successors, FD is 128256
via Summary (128256/0), Null0
P 1.1.1.0/24, 1 successors, FD is 128256
via Connected, Loopback0
P 2.0.0.0/8, 1 successors, FD is 2297856
via 10.1.1.2 (2297856/128256), Serial1/2
P 3.0.0.0/8, 1 successors, FD is 2297856
via 10.1.2.3 (2297856/128256), Serial1/3
P 10.1.2.0/24, 1 successors, FD is 2169856
via Connected, Serial1/3
P 10.0.0.0/8, 1 successors, FD is 2169856
via Summary (2169856/0), Null0
P 10.1.1.0/24, 1 successors, FD is 2169856
via Connected, Serial1/2
P 192.168.1.0/24, 1 successors, FD is 2297856
via 10.1.2.3 (2297856/128256), Serial1/3
P 172.16.0.0/16, 1 successors, FD is 2297856
via 10.1.1.2 (2297856/128256), Serial1/2
r1#sh ip eigrp neighbors
IP-EIGRP neighbors for process 100
H   Address                 Interface   Hold Uptime   SRTT   RTO  Q  Seq
(sec)         (ms)       Cnt Num
1   10.1.2.3                Se1/3         11 00:09:57   56   336  0  2
0   10.1.1.2                Se1/2         10 00:10:55   20   200  0  3
r1#sh ip eigrp interfaces
IP-EIGRP interfaces for process 100
Xmit Queue   Mean   Pacing Time   Multicast    Pending
Interface    Peers  Un/Reliable  SRTT   Un/Reliable   Flow Timer   Routes
Lo0            0        0/0         0       0/10           0           0
Se1/2          1        0/0        20       0/15          79           0
Se1/3          1        0/0        56       0/15          50           0
r1#sh ip eigrp traffic
IP-EIGRP Traffic Statistics for process 100
Hellos sent/received: 471/444
Updates sent/received: 8/6
Queries sent/received: 0/0
Replies sent/received: 0/0
Acks sent/received: 2/5
Input queue high water mark 2, 0 drops

你可能感兴趣的:(职场,休闲,试验,EIGRP)