EIGRP配置规则

EIGRP
增强型内部网关路由协议(Enhanced Interior Gateway Routing Protocol,EIGRP),
原为Cisco的私有协议,2013年3月才将该协议以及RFC文档交给了国际互联网工程任务组(The Internet Engineering Task Force,IETF),使EIGRP公有化.
EIGRP综合了链路状态和距离矢量型路由选择协议这两个技术,采用扩散更新算法(Diffusing Update ALgorithm,DUAL)来实现快速收捡,可以不发送定期的路由更新信息,以减少带宽的占用,并支持Apple Talk,IP,Novell和NetWare等多种网络层协议.
前身为
内部网关路由协议(Interior Gateway Routing Protocol,IGRP).
IGRP为Cisco私有协议,基于距离向量的路由协议.
IGRP使用TCP层端口9进行报文交换,
RIP使用TCP层的端口号520进行报文交换.
距离矢量协议:从它的相邻路由器得到更新信息
链路状态协议:保存一个拓扑表,通过自己的DUAL选择一个最佳的无环路径.
EIGRP收检时间很短.
内部EIGRP管理距离90,外部EIGRP管理距离170,支持等价和非等价负载均衡.
IP数据包中,EIGRP的协议字段取值为88.
EIGRP的优点:
1.快速收检
2.部分更新
3.支持多种网络层协议
4.使用组播和单播
5.支持变长子网掩码
6.无缝连接数据链路层协议和拓扑结构
7.配置简单.
EIGRP关键技术:
可靠传输协议(Reliable Transport Protocol,RTP),
协议相关模块(Protocol-Dependent Module,PDM),
邻居的发现/恢复(Neighbor Discovery/Recovery)技术,
扩散更新算法(Diffusing Update ALgorithm,DUAL),
DUAL有限状态机(Finite State Machine,FSM)等
EIGRP配置和管理
1.router eigrp 进程编号ID
ID:1~65535,在同一个EIGRP域内,所有的路由器都必须使用相同的ID编号.
2.network 网络地址
3.show ip eigrp neighbors
4.show ip protocols
5.show ip route
6.show interface
7.bandwidth带宽值

EIGRP调试命令
show run | begin router eigrp //查看配置文件中eigrp的配置命令
show ip protocols //查看当前路由器运行的eigrp协议状态
show ip route summary //查看eigrp路由汇总状态
show ip eigrp neighbors //查看eigrp邻居状态
show ip eigrp interface //查看各个运行eigrp的接口状态
show ip eigrp interface detail //查看各个运行eigrp的接口详细状态
show ip route eigrp //查看eigrp协议许欸小到的路由表
show ip eigrptopology //查看eigrp的拓扑表
show ip eigrptopology all - links //查看eigrp完整的拓扑表
show ip eigrptopglogy 10.1.1.0 255.255.255.0 //查看指定的某个网络参数信息
debug eigrp packets //调试eigrp的查询包
debug eigrp fsm //调试eigrp的DUAL信息

Router1
router eigrp 100
no auto-summary
network 10.0.0.0
network 20.0.0.0
end

100是自治系统号
Router2
router eigrp 100
no auto-summary
network 10.0.0.0
network 172.0.0.0
end
Router3
router eigrp 100
no auto-summary
network 20.0.0.0
network 172.0.0.0
end

show ip route
show ip route eigrp
show ip protocols
show ip eigrp topology
show ip eigrp neighbors

IPv6的EIGRP
EIGRP使用新的类型卡度值(Type-Length-Value,TLV)来携带IPv6路由信息
(1)EIGRP IPv6进程直接运行在接口上,并没有类似IPv4下的network命令.
只要接口下启用了EIGRP,不需要在路由器模式下配置任何命令,就可以运行
(2)EIGRP需要路由器ID号,这个ID号就是IPv4地址
(3)接口在被动(Passive)模式下不需要配置IPv6进程
(4)EIGRPv6进程可以关闭
配置EIGRPv6命令
ipv6 unicast-routing
ipv6 router eigrp 自治区编号 //在指定编号的整个自治区内启用EIGRPv6进程
router - id ID号 //配置路由器ID号
ipv6 eigrp 自治区编号 //在接口上启用EIGRPv6进程
ipv6 enable //在接口上启用IPv6
测试EIGRPv6命令
show ipv6 protocols //查看当前运行的路由协议
show ipv6 route //查看完整的路由表
show ipv6 route eigrp //仅查看路由表中的EIGRP路由
show ipv6 eigrp neighbors //查看eigrp协议的邻居表
show ipv6 eigrp topology //查看eigrp协议的拓扑表
show ipv6 eigrp traffic //查看eigrp收发数据包的次数
show ip eigrptopology //查看eigrp的拓扑表
ping ipv6地址 //测试网络的连通性
Router1
ipv6 unicast-routing
ipv6 router eigrp 100
router-id 1.1.1.1
no shutdown
exit
interface f0/0
ipv6 address 1000::1/64
ipv6 enable
ipv6 eigrp 100
exit
interface f0/1
ipv6 address 2000::1/64
ipv6 enable
ipv6 eigrp 100
end
Router2
ipv6 unicast-routing
ipv6 router eigrp 100
router-id 2.2.2.2
no shutdown
exit
interface f0/0
ipv6 address 1000::2/64
ipv6 enable
ipv6 eigrp 100
exit
interface f0/1
ipv6 address F800::1/64
ipv6 enable
ipv6 eigrp 100
end
Router3
ipv6 unicast-routing
ipv6 router eigrp 100
no shutdown
exit
interface f0/0
ipv6 address 2000::2/64
ipv6 enable
ipv6 eigrp 100
exit
interface f0/1
ipv6 address F800::2/64
ipv6 enable
ipv6 eigrp 100
end
验证
show ipv6 protocols
查看邻居表
show ipv6 eigrp neighbors
查看拓扑表
show ipv6 eigrp topology
查看路由表
show ipv6 route
测试IPv6网络的连通性
ping 1000::2
ping 2000::2
ping F800::2

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

低调的小哥哥

你的关注就是我为你服务的动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值