Multiple Virtual Routers Example - Huawei Quidway S3500 Series Operation Manual

Hide thumbs Also See for Quidway S3500 Series:
Table of Contents

Advertisement

Operation Manual - Reliability
Quidway S3500 Series Ethernet Switches
In simple language, the virtual router ID is set as 1 with additional configurations of
authorization key and timer
II. Networking diagram
See Figure 1-3.
III. Configuration Procedure
Configure switch A
# Create a virtual router.
[LSW_A-vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
# Set the priority for the virtual router.
[LSW_A-vlan-interface2] vrrp vrid 1 priority 110
# Set the authentication key for the virtual router.
[LSW_A-vlan-interface2] vrrp authentication-mode md5 switch
# Set Master to send VRRP packets every 5 seconds.
[LSW_A-vlan-interface2] vrrp vrid 1 timer advertise 5
# Track an interface.
[LSW_A-vlan-interface2] vrrp vrid 1 track vlan-interface 3 reduced 30
Configure switch B
# Create a virtual router.
[LSW_B-vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
# Set the authentication key for the virtual router.
[LSW_B-vlan-interface2] vrrp authentication-mode md5 switch
# Set Master to send VRRP packets every 5 seconds.
[LSW_B-vlan-interface2] vrrp vrid 1 timer advertise 5
Under normal conditions, switch A functions as the gateway, but when the interface
vlan-interface 3 of switch A is down, its priority will be reduced by 30, lower than that of
switch B so that switch B will preempt the Master for gateway services instead.
When vlan-interface3, the interface of switch A, recovers, this switch will resume its
gateway function as the Master.

1.4.3 Multiple Virtual Routers Example

I. Networking requirements
A Switch can function as the backup switch for many virtual routers.
Such a multi-backup configuration can implement load balancing. For example, switch
A as the Master switch of group 1 can share the responsibility of the backup switch for
Huawei Technologies Proprietary
1-10
Chapter 1 VRRP Configuration

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents