Hot-Backup routing protocol between different VLANs: HSRP

Source: Internet
Author: User
Tags config range backup

In R1 configuration

r6>en

R6#conf T

R6 (config) #vlan 10 add VLAN

R6 (Config-vlan) #vlan 20

R6 (Config-vlan) #inter F1/1 partition VLAN

R6 (config-if) #switchport Access VLAN 10

R6 (config-if) #inter F1/2

R6 (config-if) #switchport Access VLAN 20

R6 (config) #interface range F1/3-4 set to trunk port

R6 (config-if-range) #switchport mode trunk

R6 (config-if-range) #switchport trunk Encapsulation dot1q

In R5 configuration

r5>en

R5#conf T

R5 (config) #vlan 10 add VLAN

R5 (Config-vlan) #vlan 20

R5 (Config-vlan) #inter VLAN 10

R5 (config-if) #ip address 192.168.10.10 255.255.255.0 to configure addresses for VLANs

R5 (config-if) #no shut

R5 (config) #inter VLAN 10

R5 (config-if) #standby 2 IP 192.168.10.1 virtual IP address

R5 (config-if) #standby 2 preempt configuration preemptive right

R5 (CONFIG-IF) #standby 2 Priority 150 priority

R5 (CONFIG-IF) #standby 2 track fastethernet 1/0 tracking port

R5 (CONFIG-IF) #standby 2 track FastEthernet 1/1

R5 (config-if) #inter VLAN 20

R5 (config-if) #ip address 192.168.20.10 255.255.255.0

R5 (config-if) #no shut

R5 (config-if) #standby 3 IP 192.168.20.1 configuration vlan20 virtual Gateway

R5 (config-if) #standby 3 preempt configuration preemptive right

R5 (CONFIG-IF) #standby 3 Priority 145 priority

R5 (config-if) #ex

R5 (config) #inter F1/1

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.