EIGRP配置命令

 

 
 
metric=(带宽最小值+延迟的和)*256
show run的带宽要乘以10的七次方          延迟值要除以10
等价负载(metric值相等)
非等价负载分担(AD<=FD)
 
R1(config)#router eigrp 100 //100为自制系统号,邻居之间必须一致
R1(config-router)#network 1.1.0.0 0.0.255.255 //使某些接口运行eigrp
R1(config-router)#metric weights 0 1 0 1 0 0 // 第一个必须为0,后面的是k1,k2,k3,k4,k5
R1(config-router)#variance 2 //设置非等价负载分担的系数为“2”
R1(config-router)#eigrp stub ? //设置本设备为eigrp末节设备,默认后面跟connected,summary 参数
 connected      Do advertise connected routes
 leak-map       Allow dynamic prefixes based on the leak-map
 receive-only   Set IP-EIGRP as receive only neighbor
 redistributed Do advertise redistributed routes
 static         Do advertise static routes
 summary        Do advertise summary routes
 <cr>
 
R1(config-if)#ip authentication mode eigrp 100 md5 //接口下开启eigrp认证
R1(config-if)#ip authentication key-chain eigrp 100 ccxx //接口下调用名为"ccxx"钥匙链
R1(config)#key chain ccxx //建立名为"ccxx"钥匙链
R1(config-keychain)#key 1 //建立key 1
R1(config-keychain-key)#key-string a //定义key 1的密码是“a”
R1(config-keychain-key)#exit
R1(config-keychain)#key 2 //建立key 2
R1(config-keychain-key)#key-string b //定义key 1的密码是“a”
R1(config-keychain-key)#end
 
 
校验命令:
R1#show ip protocol
R1#show ip eigrp interface
R1#show ip eigrp neighbors
R1#show ip eigrp topology
R1#show key chain
R1#show ip route eigrp
R1#debug eigrp packets
 
eigrp 建立邻居必要条件:
1.network    show ip eigrp interfaces/ show ip protocol / show run/
2.AS     show ip protocol
3.Metric weight     show ip protocol
4.Authentication     show run int f0/0   show key chain

你可能感兴趣的:(EIGRP,配置命令)