




下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、FHRPHSRP(Host Stanby Route Protocol)Standby group: The set of routers participating in HSRP that jointly(共同的)emulate a virtual router&HSRP定义了路由器的备份组.&备份组是一组参与HSRP的路由器,它们一起来模拟一台虚拟的路由.&HSRP备用组包含了下列实体:一台活跃路由器.一台备用路由器.一台虚拟路由器.(虚拟IP和虚拟MAC)其他HSRP成员路由器.(处于监听状态的路由器,它们监听Hello包,但不响应.这些路由器对发送给其他IP地址的数据包不进行转发,因
2、为它们不是活跃的路由器,所以它不转发发送给虚拟路由器的数据包!)&活跃路由器备份路由器发送Hello包是通过组播地址224.0.0.2.采用UDP=1985端口.活跃路由器能够以虚拟路由器的MAC地址响应客户端发送的ARP请求The Active RouterThe Virtual Router MAC AddressThe Standby Router The standby router listens for periodic hello messages on 224.0.0.2Active and Standby Router InteractionHSRP StatesAn HSR
3、P router can be in one of six different states: Initial Learnno virtual ip Listen Speak Standby ActiveAll routers begin in the initial state, when HSRP is not running.HSRP Initial State Router does not know the virtual router IP address. Router has not received a hello message from an active router.
4、HSRP Learn State Neither the active nor the standby router receives a hello message (if any). The router in the listen state knows the virtual router IP address.HSRP Listen State Knows the virtual router IP address. Sends periodic Hello messages. Participates in the election of the active and standb
5、y router.HSRP Speak StateA router in the standby state:Is a candidate for active router Sends hello messagesKnows the virtual router IP addressHSRP Standby StateA router in the active state:Assumes the active forwarding of packets for the virtual router Sends hello messagesKnows the virtual router I
6、P addressHSRP Active StateHSRP StateHSRP Configuration CommandsConfigurestandby 1 ip 10.1.1.1Verifyshow running-configshow standbyEnabling HSRP on a Cisco router interface automatically disables ICMP redirects.Configuring an HSRP Standby InterfaceDisplaying the Standby Brief StatusSwitch#show standb
7、y brief P indicates configured to preempt. |Interface Grp Prio P State Active addr Standby addr Group addrVl11 11 110 Active local 172.16.11.114 172.16.11.115HSRP Optimization OptionsThese options can be configured to optimize HSRP:HSRP standby priorityHSRP standby preemptHello message timersHSRP in
8、terface trackingConfiguring HSRP Standby PriorityThe router with the highest priority in an HSRP group es the active router.The default priority is 100.In the case of a tie, the router with the highest configured IP address will e active.Configuring HSRP Standby PreemptPreempt enables a router to re
9、sume the forwarding router role. Configuring the Hello Message TimersThe holdtime parameter value should be at least three times the value of the hellotime parameter.HSRP Interface TrackingT1T1HSRP Interface Tracking (Cont.)Configuring HSRP TrackingSwitch(config-if)#standby group-number track type n
10、umber interface-priority Configures HSRP trackingSwitch(config)#interface vlan 10Switch(config-if)#standby 1 track GigabitEthernet 0/7 50Switch(config-if)#standby 1 track GigabitEthernet 0/8 60Example of HSRP trackingNote: Preempt must be configured on all participating devices within the HSRP group
11、.To load balance routers, assign them to multiple groups on the same subnet.Multiple HSRP GroupsAddressing HSRP Groups Across Trunk LinksTo load balance routers and links:Per VLAN, configure the HSRP active router and the spanning tree root to be the same multilayer switch. About the HSRP Debug Comm
12、anddebug standby eventsdebug standby terse(简明的)Debugging HSRP Example of HSRP debug showing standby group number mismatchDSW111#debug standby*Mar 4 19:08:08.918: HSRP: Vl1 Grp 1 Hello out 172.16.1.111 Active pri 150 vIP 172.16.1.113*Mar 4 19:08:09.287: HSRP: Vl1 Grp 2 Hello in 172.16.1.112 Active pr
13、i 50 vIP 172.16.1.113*Mar 4 19:08:09.287: HSRP: Vl1 API active virtual address 172.16.1.113 found*Mar 4 19:08:09.891: HSRP: Vl1 API Duplicate ARP entry detected for 172.16.1.113*Mar 4 19:08:09.891: HSRP: Vl1 Grp 1 Hello out 172.16.1.111 Active pri 150 vIP 172.16.1.113*Mar 4 19:08:10.294: HSRP: Vl1 G
14、rp 2 Hello in 172.16.1.112 Active pri 50 vIP 172.16.1.113*Mar 4 19:08:10.294: HSRP: Vl1 API active virtual address 172.16.1.113 found*Mar 4 19:08:10.294: HSRP: Vl1 API Duplicate ARP entry detected for 172.16.1.113*Mar 4 19:08:10.294: HSRP: Vl1 Grp 1 Hello out 172.16.1.111 Active pri 150 vIP 172.16.1
15、.113*Mar 4 19:08:10.294: HSRP: Vl1 Grp 2 Hello in 172.16.1.112 Active pri 50 vIP 172.16.1.113*Mar 4 19:08:10.294: HSRP: Vl1 API active virtual address 172.16.1.113 found*Mar 4 19:08:10.898: HSRP: Vl1 API Duplicate ARP entry detected for 172.16.1.113*Mar 4 19:08:10.898: HSRP: Vl1 Grp 1 Hello out 172.
16、16.1.111 Active pri 150 vIP 172.16.1.113*Mar 4 19:08:10.965: HSRP: Vl1 Grp 2 Hello in 172.16.1.112 Active pri 50 vIP 172.16.1.113*Mar 4 19:08:11.300: HSRP: Vl1 API active virtual address 172.16.1.113 found生成树原理介绍 (802.1D)SPOTO IT人才培训机构 以伙伴关系帮助客户成功,帮助员工成功,帮助合作伙伴成功。SPOTO IT人才培训机构 以伙伴关系帮助客户成功,帮助员工成功,帮助
17、合作伙伴成功。Configuring First Hop Redundancy Protocols with VRRP and GLBPSPOTO KMSVRRP(Virtual Router Redundancy Protocol)&VRRP是工业标准.通过224.0.0.18发送通告.&状态:INIT-MASTER-BACKUP&发送Hello包的时间:1s,主路由器的失效时间为:3*hello+skew time.(skew time=(256-pri)/256 ms)这个时间是确保优先级更好的备份路由器成为新的master路由器&HSRP和VRRP的主要区别是VRRP备用路由器不发送通
18、告.VRRP Operational Process Configuring VRRP on an InterfaceEnable VRRP on an interface and display the configuration.GLBP Operations Single virtual IP address and multiple virtual MAC addresses Traffic to single gateway distributed across routers Automatic rerouting(变更) in the event of any failure Full use of resources on all routers without the administrative burden of creating multiple groupsGLBP Operations(cont.) GLBP group members elect one AVG. AVG assigns a virtual MAC address to each member of the group. AVG replies to the ARP requests from clients with different virtual MAC addr
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 后勤主任培训内容
- 膀胱脱垂日常护理
- 争做健康阳光新时代好少年
- CRRT应用和护理要点
- 矿山资源开采权转让与经营合作合同
- 外企叉车安全培训
- 餐饮场地临时使用及环保责任承诺书
- 商业地产开发场地调研与风险评估合同协议
- 医疗服务市场调研合作合同
- 税务筹划与税务审计常年服务协议
- 侵入性操作相关感染防控
- 云计算平台搭建与运维考核试卷
- 江苏省镇江市近五年中考作文题目及2024年中考作文指导及例文
- 五年级下学期科学立体小菜园课件
- 2019级药剂专业人才培养方案(中职)
- 2024年河北石家庄市市属国企业春季面向社会公开招聘282人易考易错模拟试题(共500题)试卷后附参考答案
- 旅游集散中心建设设计方案
- 国家开放大学专科《人文英语1》一平台机考真题及答案(第二套)
- 承德市承德县六年级下册数学期末测试卷汇编
- 北京朝阳区2024年八年级物理第二学期期末综合测试试题及答案解析
- 服务标准化指标的量化与评价
评论
0/150
提交评论