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
 
 
 
 
 
 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章