CCIE学习笔记之EIGRP

CCIE学习笔记

eigrp域宣告一条默认路由:

1.      ipdefault-network

wKioL1Pq4nOQ6YakAADtETgZiec877.jpg

R2关键配置:

Ip route 2.0.0.0255.0.0.0 null 0  //在路由表中制造一条主类网络

Router eigrp 1

Network2.0.0.0            //宣告主类网络

Ipdefault-network 2.0.0.0    //相当于告诉EIGRP域内的路由器默认网关在2.0.0.0,所以发布这个网关的路由器的路由表要可达这个地址

Ip route 0.0.0.00.0.0.0 f1/0 12.1.1.2   //R2到外网可达

R2路由表:

wKioL1Pq4vHwZnjDAAF6zQs6lQ0485.jpg

R3路由表:

wKiom1Pq4eXj4SkXAAFkbghzkKk898.jpg

R3ping外网:

wKioL1Pq4xOQ2CozAACnAhu_n9Q550.jpg

2.      R2写一条静态默认路由并重发布:

R2关键配置:

Ip route 0.0.0.0 0.0.0.0 f1/0 12.1.1.1

Router eigrp 1

redistribute static metric 100000 10 255 1 1500

 

3.      R2写一条静态默认路由并network

R2关键配置:

Ip route 0.0.0.0 0.0.0.0 f1/0 12.1.1.1

Router eigrp 1

Network 0.0.0.0

 

4.      R2R3汇总一条明细路由:

R2关键配置:

Int f0/1

ip summary-address eigrp 1 0.0.0.0 0.0.0.0

 

注意:如果用方法1ip default-network)向外宣告一条eigrp默认路由那么可以用default-informationin/out来控制默认路由的发送与接收,其他三种方法不能用default-information控制:

wKioL1Pq43uSIGkzAAGBWmGPjtM358.jpg

 

ip bandwidth-percent eigrp as-number percent:设置eigrp能用带宽的百分比

 

ip authentication key-chain eigrpas-number key-chain

ip authentication mode eigrp as-number md5

ip hello-interval eigrp as-number seconds

ip hold-time eigrp as-number seconds

ip next-hop-self eigrp:在hub spoke多路访问环境中,hub的一个接口连接多个spoke(如帧中继网络),运行eigrpspokespoke的下一跳默认路由为hub连接spoke的接口(因为更新从这个接口发出来),使用这条命令后下一跳变为目的spoke的接口(即spoke的更新经过hub转发给另一个spoke下一条不改变)。

ip split-horizon eigrp as-number:帧中继网络EIGRP默认开启水平分割而RIP默认关闭

ip summary-address eigrp as-number ip-address mask[admin-distance] [leak-map name]

leak-map: (Optional) Specifies theroute-map reference that is

used to configure the route leaking throughthe

summary.如:

R2(config)#access-list 1 permit 2.2.2.20.0.0.0

R2(config)#route-map leak permit 10

R2(config-route-map)#match ip address 1

R2(config-if)#ip summary-address eigrp 12.0.0.0 255.0.0.0 100 leak-map leak

接收到汇总路由的路由表:

wKiom1Pq4nKCGCVvAAFDdgUzWWw671.jpg

 

metric maximum-hops

(config-router)#metric maximum-hops 10  //指定最大跳数为10

metric weights tos k1 k2 k3 k4 k5

tos: Type of service. This value mustalways be zero.

Router(config-router)# metric weights 0 2 02 0 0

neighbor {ip-address | ipv6-address} interface-typeinterface-number [remote maximum-hops]

在多路访问网络中用neighbor就不会发送也不会接受多播hello,只能通过neighbor建立邻居

neighbor ip-address maximum-prefix maximum [threshold][warning-only]

address family模式中指定从某邻居接收的最大前缀数量:

Router(config)# router eigrp 1

Router(config-router)# address-family ipv4

Router(config-router-af)# autonomous-system1

Router(config-router-af)# neighbor 10.0.0.1maximum-prefix 1000 80

Nsf

开启NONE STOP FORWARDING

Router(config)# router eigrp 101

Router(config-router)# nsf

offset-list

Router(config-router)# offset-list 21 in 10ethernet 0   //e0口学来的且符合标准ACL21metric10

redistribute maximum-prefix maximum [threshold][[dampened] [reset-time minutes] [restart minutes] [restart-count number] |[warning-only]]

限制重发布到EIGRP的路由,只能用在address family模式下

timers active-time [time-limit | disabled]

设置从发送query进入到宣告这条路由进入stuck in activeSIA)的等待时间

Router(config-router)# timers active-time200

traffic-share balanced

traffic-share balance:开启不等价负载均衡(默认)

traffic-share min:只用开销最小的链路,如果有多条则负载均衡(等价负载)

Router(config-router)# traffic-sharebalanced

汇总

接口下:ip summary-addresseigrp

EIGRP通告的汇总路由不会被标记为外部路由(即使汇总前为D EX


你可能感兴趣的:(学习笔记,EIGRP,CCIE)