欢迎来到天天文库
浏览记录
ID:42562076
大小:50.17 KB
页数:8页
时间:2019-09-17
《HSRP,VRRP,GLBP完全配置》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Lab1:HSRP的配置:一:实验拓扑: 二:实验要求: Down掉R1和R3中的任何一台路由器主机都能上网。三:实验配置:1:基本接口的配置:(见图)2:路由的配置:R1:routerripver2net192.168.1.0net12.0.0.0noauto-summaryexitR2:routerripver2net2.2.2.0net12.0.0.0net23.0.0.0noauto-summaryexitR3routerripver2net23.0.0.0net192.168.1.0noauto-s
2、ummaryexit3:HSRP的配置: R1:intf0/0standby10ip192.168.1.254standby10priority120standby10preempt standbytrackf1/050exitR3:intf1/0standby10ip192.168.1.254standby10preempt exit4:测试:在R4模拟的PC1和R5模拟的PC2上将网关改为192.168.1.254.在PC上扩展1W次的ping,然后频繁的down和up活跃路由器的接口,查看通信状态。R5
3、#pingProtocol[ip]: TargetIPaddress:2.2.2.2Repeatcount[5]:10000Datagramsize[100]:Timeoutinseconds[2]:Extendedcommands[n]:Sweeprangeofsizes[n]:Typeescapesequencetoabort.Sending10000,100-byteICMPEchosto2.2.2.2,timeoutis2seconds:!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
4、!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!....!!!!!!!!
5、!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!. 5:相关调试命令:R1#shostandbyFastEthernet0/0-Group10 Stateis Active 10statechanges,laststatechange00:03:52 VirtualIPaddressis192.168.1.253 ActivevirtualMA
6、Caddressis0000.0c07.ac0a LocalvirtualMACaddressis0000.0c07.ac0a(v1default) Hellotime3sec,holdtime10sec Nexthellosentin1.768secs Preemptionenabled Activerouterislocal Standbyrouteris192.168.1.2,priority100(expiresin9.940sec) Priority120(configured120)
7、 TrackinterfaceFastEthernet1/0stateUpdecrement50 IPredundancynameis"hsrp-Fa0/0-10"(default)R1#shostandbybrief Pindicatesconfiguredtopreempt.
8、Interface GrpPrioPState Active Standby VirtualIP Fa0/0
9、 10 120 PActive local 192.168.1.2 192.168.1.253Lab2:VRRP的配置:1:拓扑,基本接口,和路由的配置保持不变。将HSRP的配置删掉,改为VRRP.在R1f0/0和R3f1/0接口模式下nostandby10将HSRP的配置删掉。R1(config)#intf0/0R2(config-if)#nostandby10
此文档下载收益归作者所有