Skip to content

EIGRP 路由协议简介

EIGRP(Enhanced Interior Gateway Routing Protocol,增强型内部网关路由协议)是 Cisco 提出的混合型路由协议,结合了距离矢量和链路状态协议的优点,具有快速收敛、低带宽占用等特性。

EIGRP 主要特点

  • 采用 DUAL(Diffusing Update Algorithm) 算法,支持快速收敛。
  • 仅在路由更新时发送部分更新,减少带宽占用。
  • 支持 VLSM(可变长子网掩码)CIDR(无类域间路由)
  • 负载均衡(等价与不等价负载均衡)。
  • 使用 自动汇总,但可以手动关闭(no auto-summary)。
  • 可靠的多播更新(使用 224.0.0.10)。

EIGRP 基本配置示例

网络拓扑

假设有两台路由器 R1R2 直连,网络 192.168.12.0/24 作为互连网段。

R1 配置

shell
Router(config)# router eigrp 100            # 启动 EIGRP,自治系统号为 100
Router(config-router)# network 192.168.12.0 0.0.0.255  # 宣告直连网段
Router(config-router)# network 10.1.1.0 0.0.0.255      # 宣告内部网段
Router(config-router)# no auto-summary       # 关闭自动汇总
Router(config-router)# exit

R2 配置

shell
Router(config)# router eigrp 100
Router(config-router)# network 192.168.12.0 0.0.0.255
Router(config-router)# network 10.2.2.0 0.0.0.255
Router(config-router)# no auto-summary
Router(config-router)# exit

验证

shell
Router# show ip route eigrp       # 查看 EIGRP 路由表
Router# show ip eigrp neighbors   # 查看 EIGRP 邻居表
Router# show ip eigrp topology    # 查看 EIGRP 拓扑表