VRRP configuration and floating static routes

Source: Internet
Author: User

VRRP configuration
In SW1 configuration
[Huawei]sysname SW1//Modify Name
[Sw1]vlan 10//Create VLAN 10
[Sw1-vlan10]quit//Exit command
[Sw1]port-group group-member G0/0/1 G0/0/2 G0/0/3//Create Group in group enter interface G0/0/1 G0/0/2 G0/0/3
[Sw1-port-group]port Link-type Access//Add this group to access
[Sw1-port-group]port Default VLAN 10//Put this group into VLAN 10

AR1
[Huawei]sysname AR1//Modified name
[Ar1]interface gigabitethernet0/0/0//Enter g0/0/0 interface
[AR1-GIGABITETHERNET0/0/0]IP address 192.168.10.254 24//Configure Gateway IP address
[AR1-GIGABITETHERNET0/0/0]VRRP Vrid 1 Virtual-ip 192.168.10.250//Configure virtual Gateway IP address

AR2
[Huawei]sysname AR2//Modify Name
[Ar2]interface gigabitethernet0/0/0//Enter g0/0/0 interface
[AR2-GIGABITETHERNET0/0/0]IP Address 192.168.10.253 24//Configure Gateway IP address
[AR2-GIGABITETHERNET0/0/0]VRRP Vrid 1 Virtual-ip 192.168.10.250//Configure virtual Gateway IP address

[AR2-GIGABITETHERNET0/0/0]VRRP Vrid 1 priority 200//modified to 200


Floating static routes: Configuring
AR1:
[Huawei]sysname AR1//Modify Name
[Ar1]interface gigabitethernet0/0/0//Enter g0/0/0 interface
[AR1-GIGABITETHERNET0/0/0]IP address 192.168.10.254 24//Configure Gateway IP address
[AR1-GIGABITETHERNET0/0/0]VRRP Vrid 1 Virtual-ip 192.168.10.250//Configure virtual Gateway IP address
[Ar1]interface gigabitethernet 0/0/1//Enter G0/0/1//Enter interface
[AR1-GIGABITETHERNET0/0/1]IP Address 192.168.13.1 24//Configure IP Address
[Ar1]ip route-static 192.168.30.0 24 192.168.13.3//Fright

AR2:
[Huawei]sysname AR2//Modify name
[ar2]interface gigabitethernet0/0/0//Enter g0/0/0 interface
[AR2-GIGABITETHERNET0/0/0]IP address 192.168.10.253 24//Configure gateway IP address
[AR2-GIGABITETHERNET0/0/0]VRRP vrid 1 Virtual-ip 192.168.10.250//Configure virtual gateway IP address
[ AR2-GIGABITETHERNET0/0/0]VRRP Vrid 1 priority 200//modify precedence is
[ar2]interface gigabitethernet 0/0/1//Enter Interface
[ AR2-GIGABITETHERNET0/0/1]IP address 192.168.23.2 24//Configure IP addresses
[ar2]ip route-static 0.0.0.0 0.0.0.0 192.168.23.3// Scare a hop. Static route

Isp:
<isp>system-view//Enter system mode
[Isp]sysname ISP//Modify Name
[Isp]interface gigabitethernet 0/0/0//Enter interface g0/0/0
[ISP-GIGABITETHERNET0/0/0]IP Address 192.168.13.3 24//Configure IP Address
[Isp]interface gigabitethernet 0/0/1//Enter interface G0/0/1
[ISP-GIGABITETHERNET0/0/1]IP Address 192.168.23.3 24//Configure IP Address
[Isp]interface gigabitethernet 0/0/2//Enter interface G0/0/2
[ISP-GIGABITETHERNET0/0/2]IP Address 192.168.30.254 24//Configure Gateway IP address
[Isp]ip route-static 192.168.10.0 24 192.168.23.2//scare Jump, default priority is 60
[Isp]ip route-static 192.168.10.0 192.168.13.1 Preference 65//scare Jump, change priority to 65

VRRP configuration and floating static routes

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.