Hot Backup HSRP detailed configuration instance

Source: Internet
Author: User

HSRPThe hot backup router protocol is designed to support the failure of IP traffic transfer under certain circumstances, which will not cause confusion and allow the host to use a single router, and maintain the connectivity between routers even if the first hop router fails to be used. Next let's take a look at the configuration of the next instance.

Hot Backup HSRP detailed network topology configuration

Detailed configuration process of hot backup HSRP

R1 Configuration

 
 
  1. R1 (config) # int f0/0
  2. R1 (config-if) # ip add 192.168.1.1 255.255.255.0
  3. R1 (config-if) # no shu
  4. R1 (config-if) # int f1/0
  5. R1 (config-if) # ip add 192.168.2.1 255.255.255.0
  6. R1 (config-if) # no shu
  7. R1 (config) # router rip
  8. R1 (config-router) # network 192.168.1.0
  9. R1 (config-router) # network 192.168.2.0
  10. R1 (config) # int f0/0
  11. R1 (config-if) # standby 47 ip 192.168.1.254 the backup group is 47 and the virtual IP address is 1.254.
  12. R1 (config-if) # standby 47 priority 180 priority is 180
  13. R1 (config-if) # standby 47 preemtp configuration Preemption
  14. R1 (config-if) # standby 47 track f1/0 100 port tracking, priority reduced by 100

R2 Configuration

 
 
  1. R2 (config) # int f0/0r2 (config-if) # ip add 192.168.1.2 255.255.255.0
  2. R2 (config-if) # no shu
  3. R2 (config-if) # int f1/0
  4. R2 (config-if) # ip add 192.168.3.1 255.255.255.0
  5. R2 (config-if) # no shu
  6. R2 (config) # router rip
  7. R2 (config-router) # network 192.168.1.0
  8. R2 (config-router) # network 192.168.3.0
  9. R2 (config) # int f0/0
  10. R2 (config-if) # standby 47 ip address 192.168.1.254 the backup group is 47 and the virtual IP address is 1.254.
  11. R2 (config-if) # standby 47 priority 150 priority is 150

R3 Configuration

 
 
  1. R3 (config) # int f0/0
  2. R3 (config-if) # ip add 192.168.2.2 255.255.255.0
  3. R3 (config-if) # no shu
  4. R3 (config-if) # int f1/0
  5. R3 (config-if) # ip add 192.168.3.2 255.255.255.0
  6. R3 (config-if) # no shu
  7. R3 (config-if) # int f2/0
  8. R3 (config-if) # ip add 192.168.4.1 255.255.255.0
  9. R3 (config-if) # no shu
  10. R3 (config) # router rip
  11. R3 (config-router) # network 192.168.2.0
  12. R3 (config-router) # network 192.168.3.0
  13. R3 (config-router) # network 192.168.4.0
  14. VPCS1: ip 192.168.1.3 192.168.1.254 24 VPCS1IP: 1.3 Gateway: 1.254
  15. VPCS2: ip 192.168.4.2 192.168.4.1 24 VPCS2IP: 4.2 Gateway: 4.1

Then you can test it.

The introduction of the HSRP protocol does not know whether you have understood the above experiment. I hope you will learn more.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.