Huawei Quidway S3900 Series Operation Manual page 548

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

Advertisement

Operation Manual – VRRP
Quidway S3900 Series Ethernet Switches-Release 1510
# Configure that the virtual router can be pinged.
[LSW-A] vrrp ping-enable
# Create a backup group.
[LSW-A] interface Vlan-interface 2
[LSW-A-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
# Set the priority for the backup group.
[LSW-A-Vlan-interface2] vrrp vrid 1 priority 110
# Set the authentication type for the backup group to md5, and the password to
abc123.
[LSW-A-Vlan-interface2] vrrp authentication-mode md5 abc123
# Configure that the master switch to send VRRP packets once in every 5 seconds.
[LSW-A-Vlan-interface2] vrrp vrid 1 timer advertise 5
# Set the tracked VLAN interface.
[LSW-A-Vlan-interface2] vrrp vrid 1 track Vlan-interface 3 reduced 30
Configure switch B.
# Configure VLAN 2.
<LSW-B> system-view
System View: return to User View with Ctrl+Z.
[LSW-B] vlan 2
[LSW-B-vlan2] port Ethernet 1/0/5
[LSW-B-vlan2] quit
[LSW-B] interface Vlan-interface 2
[LSW-B-Vlan-interface2] ip address 202.38.160.2 255.255.255.0
[LSW-B-Vlan-interface2] quit
# Configure that the virtual router can be pinged.
[LSW-B] vrrp ping-enable
# Create a backup group.
[LSW-B] interface Vlan-interface 2
[LSW-B-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
# Set the authentication key for the backup group.
[LSW-B-Vlan-interface2] vrrp authentication-mode md5 abc123
# Set the master to send VRRP packets once in every 5 seconds.
[LSW-B-Vlan-interface2] vrrp vrid 1 timer advertise 5
Normally, Switch A functions as the gateway, but when VLAN 3 interface on Switch A
goes 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.
Huawei Technologies Proprietary
1-14
Chapter 1 VRRP Configuration

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents