Multiple Virtual Routers Example - Huawei Quidway S6500 Series Operation Manual

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

Advertisement

Operation Manual - Reliability
Quidway S6500 Series Ethernet Switches
[LSW-B] interface vlan 2
[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 the master to send VRRP packets every 5 seconds.
[LSW-B-vlan-interface2] vrrp vrid 1 timer advertise 5
Normally, 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. Network 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 virtual router 2 and vice versa for switch B. Some hosts employ virtual
router 1 as the gateway, while others employ virtual router 2 as the gateway. In this
way, both load balancing and mutual backup are implemented.
II. Network diagram
See Figure 1-3.
III. Configuration procedure
1)
Configure switch A.
# Configure VLAN 2.
[LSW-A] vlan 2
[LSW-A-vlan2] interface vlan 2
[LSW-A-vlan-interface2] ip address 202.38.160.1 255.255.255.0
# Create virtual router 1.
[LSW-A-vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
Huawei Technologies Proprietary
1-13
Chapter 1 VRRP Configuration

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Release 3000 series

Table of Contents