HP 6125XLG R2306-HP 6125XLG Blade Switch High Availability Command Reference - Page 80

vrrp vrid priority

Page 80 highlights

undo vrrp vrid virtual-router-id preempt-mode [ delay ] Default The device operates in preemptive mode and the preemption delay is 0 seconds. Views Interface view Predefined user roles network-admin Parameters virtual-router-id: Specifies an IPv4 VRRP group by its virtual router ID in the range of 1 to 255. delay delay-value: Specifies a preemption delay time in the range of 0 to 255 in seconds. The default setting is 0 seconds. Usage guidelines In non-preemptive mode, when a device in the IPv4 VRRP group becomes the master, it acts as the master as long as it operates properly, even if a backup is assigned a higher priority later. The non-preemptive mode helps avoid frequent switchover between the master and backups. In preemptive mode, a backup takes over as the master and sends VRRP advertisements when it detects that it has a higher priority than the master. The previous master then becomes a backup. This mechanism makes sure the master is always the device with the highest priority. To avoid frequent state changes among members in a VRRP group and to provide the backups enough time to collect information (such as routing information), a backup does not immediately become the master after it receives an advertisement with lower priority than the local priority. Instead, it waits for a period of time before taking over as the master. Examples # Enable the preemptive mode for VLAN-interface 2, and set the preemption delay time to 5 seconds. system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] vrrp vrid 1 preempt-mode delay 5 Related commands display vrrp vrrp vrid priority Use vrrp vrid priority to configure the priority of the device in an IPv4 VRRP group. Use undo vrrp vrid priority to restore the default. Syntax vrrp vrid virtual-router-id priority priority-value undo vrrp vrid virtual-router-id priority Default The priority of a device in an IPv4 VRRP group is 100. 75

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130

75
undo
vrrp vrid
virtual-router-id
preempt-mode
[
delay
]
Default
The device operates in preemptive mode and the preemption delay is 0 seconds.
Views
Interface view
Predefined user roles
network-admin
Parameters
virtual-router-id
: Specifies an IPv4 VRRP group by its virtual router ID in the range of 1 to 255.
delay
delay-value
: Specifies a preemption delay time in the range of 0 to 255 in seconds. The default
setting is 0 seconds.
Usage guidelines
In non-preemptive mode, when a device in the IPv4 VRRP group becomes the master, it acts as the master
as long as it operates properly, even if a backup is assigned a higher priority later. The non-preemptive
mode helps avoid frequent switchover between the master and backups.
In preemptive mode, a backup takes over as the master and sends VRRP advertisements when it detects
that it has a higher priority than the master. The previous master then becomes a backup. This mechanism
makes sure the master is always the device with the highest priority.
To avoid frequent state changes among members in a VRRP group and to provide the backups enough
time to collect information (such as routing information), a backup does not immediately become the
master after it receives an advertisement with lower priority than the local priority. Instead, it waits for a
period of time before taking over as the master.
Examples
# Enable the preemptive mode for VLAN-interface 2, and set the preemption delay time to 5 seconds.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] vrrp vrid 1 preempt-mode delay 5
Related commands
display
vrrp
vrrp vrid priority
Use
vrrp
vrid priority
to configure the priority of the device in an IPv4 VRRP group.
Use
undo vrrp
vrid priority
to restore the default.
Syntax
vrrp vrid
virtual-router-id
priority
priority-value
undo vrrp vrid
virtual-router-id
priority
Default
The priority of a device in an IPv4 VRRP group is 100.