CCNP备考:EIGRP命令手册

EIGRP配置部分
Router(config)#router eigrp 100
Router(config-router)#network 172.16.0.0
Router(config-router)#network 172.16.0.0  0.0.3.255
Router(config-router)#no auto-summary
Router(config-router)#maximum-path 6
Router(config-router)#times active-time 1  修改SIA(struck-in-active)时间默认为3分钟
Router(config-router)#variance 2 {multiplier} 不等价的负载均衡
Router(config-router)#metric maximum-hops更改最大跳数(默认为100跳,最大255跳)
查看:#show ip route
         #show ip protocol
         #show ip eigrp neighbors
         #show ip eigrp topology
         #show ip eigrp interface
         #show ip eigrp trafic
手动汇总RIP
(config-if)#ip summary-address eigrp 100 172.16.0.0 255.255.255.0(1-255)
默认汇总路由管理距离为5,通过配置汇总路由管理距离,可以形成浮动汇总路由
修改Hello包默认发送/保持时间间隔,在接口下:(保持3倍于发送间隔)
R(config)#int s1/0
R(config-if)#ip hello-interval eigrp 100 40   慢速(FR)60秒快速(P to P)5秒
R(cofig-if)#ip hold-time eigrp 100 120   慢速(FR)180秒  快速(P toP)15秒
 
 
配置EIGRP认证:
1、定义钥匙链:
Router(config)#key chain {name}
2、定义钥匙:
Rrouter(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
 
让钥匙加密存储:
R(config)#sevice password-encryption(用于加密本地的密码)
修改EIGRP协议所使用的带宽
Router(config-if)#ip bandwidth-percent eigrp 100 {percent}
 
改变K值:
Router(config-router)#metric weidths tos k1 k2 k3 k4 k5        tos 值一般为0
Router(config-router)#metric weidths 0 0 01 0 0            将deny作为EIGRP的度量值
配置默认网络:
R outer(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线路):
R(config)#inter e0
Router(config-if)#bandwidth  1544
Router(config-if)#delay 2000       (延迟以10微秒为参考)
 
常用EIGRP度量:
Medium       bandwidth      delay    
 
定义stub区域:
R(config-router)#eigrp stub receive-only/connect/static/summary
默认connected summary是开启的   
 
在帧中继下关闭水平分割:
R(config)#int e0
R(config-if)#no ip split-horizon eigrp 100
 
 
 
 
 
 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章