标签:col a10 enc int lbp text cto rem com
一、实验拓扑:R1(config-if)#glbp 1 weighting 200 lower 120 upper 200 //定义成为AVF的权值,最大权值为200,较小权值为120,较高权值为200
R1(config-if)#glbp 1 weighting track 1 decrement 90//监视track 组1中的接口,当track 1中的接口出现故障时,权值降低90
R1(config)#track 1 interface f0/0 line-protocol //定义track组, 即定义监控的端口:监控f0/0端口
R2、R3和R1部署除优先级外其余都相同:
R2(config-if)#glbp 1 priority 180
R3(config-if)#glbp 1 priority 160
四、验证:
PC1#ping 4.4.4.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.4.4.4, timeout is 2 seconds:.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 72/92/104 ms
R1#show glbp bri
Interface Grp Fwd Pri State Address Active router Standby route
Fa1/0 1 - 200 Active 192.168.10.254 local 192.168.10.3
Fa1/0 1 1 7 Active 0007.b400.0101 local -
Fa1/0 1 2 7 Listen 0007.b400.0102 192.168.10.3 -
结论:R1为AVG、R3为备份AVG、R2为AVF,这里出现了问题:R2优先级高于R3为什么R3是Standby,而R2是Listen。
10-GLBP Weighting //2.1.5(GNS3版本,后面都是如此注明)
标签:col a10 enc int lbp text cto rem com
原文地址:http://blog.51cto.com/13856092/2137279