(完整word版)EIGRP高级配置

  • 格式:doc
  • 大小:74.50 KB
  • 文档页数:10

EIGRP高级配置

本节主要针对EIGRP协议配置申的被动接口和不等度量值负载均衡的配置进行演示和讲解。

1.实验目的

通过本实验,读者可以掌握以下技能

配置EIGRP被动接口;

配置不等度量值负载均衡;

监测EIGRP协议相关信息。

2.设备需求

本实验需要以下设备。

●Cisco路由器3台,分别命名为R1、R2和R3。其中R1具有1个串行接口;R2具有

●2个串行接口和1个以太网接口;R3具有1个串行接口和2个以太网接口。

●2条DCE电缆和2条DTE电缆,或2条DCE转DTE电缆。

●1条交叉线序双绞线。

●1台终端服务器,如Cisco2509路由器,及用于反向Telnet的相应电缆。

●1台带有超级终端程序的PC机,以及Console电缆及转接器。

3.拓扑结构及配置说明

实验的拓扑结构如图6-3所示。首先把DCE申缆和DTE电缆进行对接,组成2对电缆,然后用这2对电缆把R1和R3,R2和R3连接起来。然后通过交叉线序双绞线把R2和R3连接起来。

各路由器使用的接口及其编号见图6-3中的标注。

各接口IP地址分配如下:

R1: s1 201.1.13.1/30, L0 192.1.1.1/24

R2: s0 201.1.23.1/30, E0 200.1.1.2/24, L0 192.1.2.2/24

R3: s0 201.1.23.2/30, S1 201.1.13.2/30, E0 200.1.1.3/24

实验中R1、R3之间和R2、R3之间的串行线路速率设置为2000kbit/s。

4.实验配置及监测结果

首先对3台路由器进行接口配置和EIGRP基本配置,各路由器的配置见配置清单6-2。

配置清单6-2实验3路由器基本配置

第1段:R1路由器配置清单

R1#sh runn

Building configuration...

Current configuratptime

service timestamps log uptime

no service password-encryption

!

hostname R1

!

ip subnet-zero !

interface Loopback0

ip address 192.1.1.1255.255.255.0

!

interface Serial 1

bandwidth 2000

ip address 201.1.13.1 255.255.255.252

clockrate 2000000

!

router eigrp 200

network 192.1.1.0

network 201.1.13.0 0.0.0.3

no auto-summary

no eigrp Sog-neighbor-chailges

!

ip classless

ip http server

!

line con 0

line aux 0

line vty 0 4

password cisco

login

!

end

R1#

第2段:R2路由器配置清单

R2#sh run

Building configuration...

Current configuration : 733 bytes

!

version 12.1

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname R2

!

no logging console

ip subnet-zero

no ip finger!

!

interface Loopback0 ip address 192.1.2.2 255.255.255.0

!

interface Ethemet0

ip address 200.1.1.2 255.255.255.0

!

interface Serial0

bandwidth 2000

ip address 201.1.23.1 255.255.255.252

!

router eigrp 200

network 192.1.2.0

network 200.1.1.0

network 201.1.23.0 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

R2#

第3段:R3路由器配置清单

R3#sh runn

Building configuration...

Current configuration : 744 bytes

!

version 12.1

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname R3

!

ip subnet-zero

no ip finger

!

interface Ethemet0

ip address 200.1.1.3 255.255.255.0

!

interface Serial0 bandwidth 2000

ip address 201.1.23.2 255.255.255.252

no fair-queue

clockrate 2000000

!

interface Serial 1

bandwidth 2000

ip address 201.1.13.2 255.255.255.252

!

router eigrp 200

network 200.1.1.0

network 201.1.13.0 0.0.0.3

network 201.1.23.0 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 04

!

end

对于上述配置,没有太多需要说明的,请读者注意串行接口配置和网络声明语句两处容易出现错误的部分。

在以上EIGRP路由正常配置的基础上,我们来进行被动接口和不等度量值负载均衡方面的实验。监测清单6-3记录了实验的全过程。

监测清单6-3设置EIGRP被动接口及不等度量值负载均衡

第1段:设置被动接口

R3#sh ip route eigrp

D 192.1.1.0/24[90/40640000]via 201.1.13.1,00:01:40,Serial1

D 192.1.2.0/24[90/409600]via 200.1.12.1,00:03:36,Ethernet0

R3#sh ip eigrp neighbor

IP-EIGRP neighbors for process 200

H Address Interface Hold Uptime SRTT RTO Q Seq Type

(sec) (ms) Cnt Num

1 201.1.13.1 Se1 10 00:01:51 810 4860 0 10

2 201.1.23.1 Se0 12 00:34:57 224 1344 0 23

0 200.1.1.2 Et0 12 00:38:57 12 200 0 24

R3#sh

Enter configuration commands,one per line.End with CNTL/Z. R3(config)#router eigrp 200

R3(config-router)#passive-interface s1

R3(config-router)#^Z

R3#sh

01:40:23:%SYS-5-CONFIG_I:Configured from console by console

R3:sh ip route eigrp

D 192.1.2.0/24[90/409600]via 200.1.12.1,00:04:16,Ethernet0

R3#sh ip eigr neighbor

IP-EIGRP neighbor

IP-EIGRP neighbors for process 200

H Address Interface Hold Uptime SRTT RTO Q Seq Type

(sec) (ms) Cnt Num

2 201.1.13.1 Se0 11 00:35:35 149 894 0 28

0 200.1.1,2 Et0 11 00:39:36 11 200 0 27

R3#sh ip protocol

Routing Protocol is "eigrp 200"

Outgoing update filter list for all interfaces is