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

vrrp vrid shutdown, Views, Predefined user roles, Parameters, Usage guidelines, Examples

Page 81 highlights

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. priority-value: Specifies a priority value in the range of 1 to 254. A higher number indicates a higher priority. Usage guidelines VRRP determines the role (master or backup) of each device in a VRRP group by priority. A device with a higher priority is more likely to become the master. VRRP priority is in the range of 0 to 255, and a greater number represents a higher priority. Priorities 1 to 254 are configurable. Priority 0 is reserved for special uses, and priority 255 is for the IP address owner. The device acting as the IP address owner in a VRRP group always has a running priority of 255 and acts as the master as long as it works properly. Examples # Configure the priority of the switch in VRRP group 1 on VLAN-interface 2 to 150. system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] vrrp vrid 1 priority 150 Related commands • display vrrp • vrrp vrid track vrrp vrid shutdown Use vrrp vrid shutdown to disable an IPv4 VRRP group. Use undo vrrp vrid shutdown to restore the default. Syntax vrrp vrid virtual-router-id shutdown undo vrrp vrid virtual-router-id shutdown Default An IPv4 VRRP group is enabled. 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. 76

  • 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

76
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.
priority-value
: Specifies a priority value in the range of 1 to 254. A higher number indicates a higher
priority.
Usage guidelines
VRRP determines the role (master or backup) of each device in a VRRP group by priority. A device with
a higher priority is more likely to become the master.
VRRP priority is in the range of 0 to 255, and a greater number represents a higher priority. Priorities 1
to 254 are configurable. Priority 0 is reserved for special uses, and priority 255 is for the IP address
owner. The device acting as the IP address owner in a VRRP group always has a running priority of 255
and acts as the master as long as it works properly.
Examples
# Configure the priority of the switch in VRRP group 1 on VLAN-interface 2 to 150.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] vrrp vrid 1 priority 150
Related commands
display
vrrp
vrrp
vrid
track
vrrp vrid shutdown
Use
vrrp vrid shutdown
to disable an IPv4 VRRP group.
Use
undo vrrp vrid shutdown
to restore the default.
Syntax
vrrp vrid
virtual-router-id
shutdown
undo vrrp vrid
virtual-router-id
shutdown
Default
An IPv4 VRRP group is enabled.
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.