Vrrp Link Monitoring Configuration Example - H3C S9500 Series Operation Manual

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Operation Manual – VRRP
H3C S9500 Series Routing Switches
[H3CLSW-A ] vrrp ping-enable
# Create the VRRP virtual router.
[LSW-A] interface vlan 2
[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 mode and authentication key for the virtual router.
[LSW_A-vlan-interface2] vrrp vrid 1 authentication-mode md5 switch
# Configure the interface to send VRRP packets every 5 seconds.
[LSW_A-vlan-interface2] vrrp vrid 1 timer advertise 5
# Track VLAN-interface 3.
[LSW_A-vlan-interface2] vrrp vrid 1 track interface vlan-interface 3 reduced
30
2)
Configure switch B
# Configure VLAN2.
[LSW-B] vlan 2
[LSW-B-vlan2] interface vlan 2
[LSW-B-vlan-interface2] ip address 202.38.160.2 255.255.255.0
[LSW-B-vlan-interface2] quit
# Enable the function to ping the virtual IP address of the virtual router.
[H3CLSW-B] vrrp ping-enable
# Create the virtual router.
[LSW-B] interface vlan 2
[LSW_B-vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
# Set the authentication mode and authentication key for the virtual router.
[LSW_B-vlan-interface2] vrrp vrid 1 authentication-mode md5 switch
# Configure the interface to send VRRP packets every five seconds.
[LSW_B-vlan-interface2] vrrp vrid 1 timer advertise 5
Under normal conditions, switch A functions as the gateway. Once 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 become the master.
When VLAN-interface 3 of switch A recovers, it will become the master again.

1.4.3 VRRP Link Monitoring Configuration Example

I. Network requirements
As shown in the figure below:
1-14
Chapter 1 VRRP Configuration

Advertisement

Table of Contents
loading

Table of Contents