HSRP监视端口配置.docxVIP

  • 3
  • 0
  • 约3.22千字
  • 约 5页
  • 2021-04-13 发布于天津
  • 举报
Basic HSR P Con figuratio n With Track In terface 关键字 HSRP VRR热备份 冗余 端口追踪 拓朴 互联网 R2 HSKP Protocol A换机 基本HSRF配置拓朴图 西安深度 实验说明 某企业为实现用户24小时不间断上网业务,使用两台路由器进行热备(HSRP). 企业PC只需网关设定为HSRP旨定的网关(192.168.0.100)即可. 如果R2的连接互联网的接口发生问题,则将 HSRP Active切向R1. [ HRSP 监视端口功能] 配置 R1的配置 host name R1 in terface FastEther net0/0 ip address 192.168.0.1 255.255.255.0 dup lex half Stan dby 1 ip 192.168.0.100 //HSR P 虚拟网关 sta ndby 1 preempt R2的配置 hostn ame R2 in terface FastEther net0/0 ip address 192.168.0.2 255.255.255.0 dup lex half standby 1 ip 192.168.0.100 standby 1 priority 120 sta ndby 1 preempt // 监视 // 监视S3/0接口,如果接口 down,优先级值减30 调试 在R2上查看HSRP状态 R2#Show sta ndby FastEthernetO/O - Group 1 State is Active 4 state cha nges, last state cha nge 00:00:37 Virtual IP address is 192.168.0.100 Active virtual MAC address is 0000.0c07.ac01 Local virtual MAC address is 0000.0c07.ac01 (default) Hello time 3 sec, hold time 10 sec Next hello sent in 1.856 secs Preemp ti on en abled Active router is local Sta ndby router is 192.168.0.1, priority 100 (ex pires in 9.992 sec) Priority 120 (c on figured 120) Track in terface Serial3/0 state Up decreme nt 30 IP redu nda ncy name is hsrp-Fa0/0-1 (default) 现在我们在R2上关闭S3/0接口,模拟此互联网接口发生故障 R2#co nf t En ter con figurati on comma nds, one per line. End with CNTL/Z. R2(co nfig)#i nt s3/0 R2(co nfig-if)# sh R2# *Feb 22 00:49:37.743: %SYS-5-CONFIG_l: Co nfigured from con sole by con sole *Feb 22 00:49:38.551: %LINK-5-CHANGED: In terface Serial3/0, chan ged state to admi ni stratively dow n *Feb 22 00:49:38.575: %HSR P-5-STATECHANGE: FastEthernet0/0 Grp 1 state Active - Sp eak *Feb 22 00:49:39.551: %LINE PROTO-5-U PDOWN: Line p rotocol on In terface Serial3/0, cha nged state to dow n R2#show sta ndby FastEthernet0/0 - Group 1 State is Standby // 现在变为 Standby 状态了 6 state cha nges, last state cha nge 00:00:00 Virtual IP address is 192.168.0.100 Active virtual MAC address is 0000.0c07.ac01 Local virtual MAC address is 0000.0c07.ac01 (default) Hello time 3 sec, hold time

文档评论(0)

1亿VIP精品文档

相关文档