| 关键词: nbsp config Router EIGRP microseconds 100 kbps 均衡 ip 000 |
源自:51cto.com EIGRP配置部分 Router(config)# router eigrp 100 Router(config-router)# network 172.16.0.0 无反码(指 /16)主类网络 Router(config-router)# network 172.16.0.0 0.0.3.255 (指 /22) (反码:用255.255.255.255 相应减去 子网掩码的对应位) Router(config-router)#no auto-summary Router(config-router)# maximum-path 6 设置为1则取消负载均衡 Router(config-router)#times active-time 1 修改SIA(struck-in-active)时间 默认为3分钟 Router(config-router)# variance 2 {multiplier} 不等价的负载均衡 Router(config-route)#metric maximum-hops 更改最大跳数(默认100跳,最大255跳) 查看:#sh ip route #sh ip protocol #sh ip route eigrp #sh ip eigrp neighbors #sh ip eigrp topology #sh ip eigrp interface #sh ip eigrp traffic 手动汇总RIP: (config-if)#ip summary-address eigrp 100 172.16.0.0 255.255.252.0 (1-255) 默认汇总路由管理距离为5,通过配置汇总路由管理距离,可以形成浮动汇总路由 修改hello包默认发送/保持时间间隔,在接口下:(保持3倍于发送间隔) config)#int s1/0 R1(config-if)#ip hello-interval eigrp 100 40 慢速(FR)60秒 快速(P to P)5秒 R1(config-if)#ip hold-time eigrp 100 120 慢速(FR)180秒 快速(P to P)15秒 配置EIGRP认证: 1.定义钥匙链: Router(config)# key chain {name} 2.定义钥匙: Router(config-keychain)# key {number} 3.设置密码发送和接收的有效时间.可选: Router(config-keychain-key)# {accept-lifetime|send-lifetime} {start} {infinite|end|duration seconds} 4.定义密码: Router(config-keychain-key)# key-string {password} 5.在接口下启用EIGRP认证: Router(config-if)# ip authentication key-chain eigrp 100 {name} 6.指定认证方式为MD5加密: Router(config-if)# ip authentication mode eigrp 100 md5 让钥匙加密存储: (config)#service password-encryption (用于加密本地的密码) 修改eigrp协议所使用的带宽 Router(config-if)#ip bandwidth-percent eigrp 100 {percent} 改变K值: Router(config-router)#metric weights tos k1 k2 k3 k4 k5 Tos值一般为0 # metric weights 0 0 0 1 0 0 将delay作为EIGRP的度量 配置默认网络: (config)#ip default-network 172.31.0.0 只用于rip eigrp,此命令将重分布进路由进程 注:与RIP宣告的是0.0.0.0为默认网络不同的是,EIGRP将发布172.31.0.0为默认网络 调试EIGRP: #debug eigrp packets/neighbors/transmit #debug eigrp packet update/query/reply/hello/ack (用关键字来跟踪EIGRP包) 设置接口带宽和延迟(设置为T1线路): (config)#int e0 (config-if)#bandwidth 1544 (config-if)#delay 2000 (延迟以10微秒为参考) 常用EIGRP度量: Medium Bandwidth Delay 100-Mbps ATM 100,000 kbps 100 microseconds Gigabit Ethernet 100,000 kbps 100 microseconds Fast Ethernet &n bsp; 100,000 kbps 100 microseconds FDDI 100,000 kbps 100 microseconds HSSI 45,045 kbps 20,000 microseconds 16-Mbps Token Ring 16,000 kbps 630 microseconds 10-Mbps Ethernet 10,000 kbps 1000 microseconds T1 1544 kbps &n bsp; 20,000 microseconds DS-0 64 kbps 20,000 microseconds 56-kbps media 56 kbps 20,000 microseconds 定义stub区域: (config-router)#eigrp stub receive-only/connected/static/summary 默认connected summary是开启的 在帧中继环境中(关闭水平分割): (config)#int e0 (config-if)#no ip split-horizon eigrp 100 快速交换:基于目标网络的负载均衡衡,是路由器的默认方式 过程交换:基于报文的负载均衡。 #no ip route-cache 打开过程交换 Ping 测试 #debug ip packet 调试观察,此时只能查看过程交换负载均衡 |
|
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系
[邮箱地址] 删除
|