HP 6125G HP 6125G & 6125G/XG Blade Switches High Availability Command - Page 115

vrrp vrid weight track

Page 115 highlights

The virtual IP address of a VRRP group cannot be 0.0.0.0, 255.255.255.255, loopback address, non A/B/C address and other illegal IP addresses such as 0.0.0.1. A VRRP group operates normally only when the configured virtual IP address and the interface IP address belong to the same segment and are legal host addresses. If they are not in the same network segment, or the configured IP address is the network address or network broadcast address of the network segment to which the interface IP address belongs, though you can perform the configuration successfully, the state of the VRRP group is always Initialize, which means VRRP does not take effect . Related commands: display vrrp. Examples # Create VRRP group 1 and set its virtual IP address to 10.10.10.10. system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.10.10.10 # Add virtual IP address 10.10.10.11 to VRRP group 1. [Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.10.10.11 vrrp vrid weight track Syntax vrrp vrid virtual-router-id weight track track-entry-number [ reduced weight-reduced ] View undo vrrp vrid virtual-router-id weight track [ track-entry-number ] Interface view Default level 2: System level Parameters virtual-router-id: VRRP group number, which ranges from 1 to 255. track track-entry-number: Specifies a track entry to be monitored by its number, in the range of 1 to 1024. reduced weight-reduced: Specifies the value by which the weight decreases, in the range of 1 to 255. The default setting is 30. Description Use vrrp vrid weight track to specify the track entry to be monitored by VFs when VRRP operates in load balancing mode. If the status of the monitored track entry changes to negative, the weights of all VFs in the VRRP group to which the current router belongs decrease by a specified value. Use undo vrrp vrid weight track to remove the specified track entry. By default, no track entry is specified to be monitored. • The command is effective only when VRRP operates in load balancing mode. • Before executing the command, create a VRRP group on an interface and configure the virtual IP address of the VRRP group. • When the status of the monitored track entry turns from negative to positive or invalid, the corresponding VFs automatically restore their weights. 110

  • 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
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159

110
The virtual IP address of a VRRP group cannot be 0.0.0.0, 255.255.255.255, loopback address, non
A/B/C address and other illegal IP addresses such as 0.0.0.1.
A VRRP group operates normally only when the configured virtual IP address and the interface IP address
belong to the same segment and are legal host addresses. If they are not in the same network segment,
or the configured IP address is the network address or network broadcast address of the network
segment to which the interface IP address belongs, though you can perform the configuration successfully,
the state of the VRRP group is always
Initialize
, which means VRRP does not take effect .
Related commands:
display vrrp
.
Examples
# Create VRRP group 1 and set its virtual IP address to 10.10.10.10.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.10.10.10
# Add virtual IP address 10.10.10.11 to VRRP group 1.
[Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.10.10.11
vrrp vrid weight track
Syntax
vrrp vrid
virtual-router-id
weight
track
track-entry-number
[
reduced
weight-reduced
]
undo vrrp vrid
virtual-router-id
weight
track
[
track-entry-number
]
View
Interface view
Default level
2: System level
Parameters
virtual-router-id
:
VRRP group number, which ranges from 1 to 255.
track
track-entry-number
: Specifies a track entry to be monitored by its number, in the range of 1 to 1024.
reduced
weight-reduced
: Specifies the value by which the weight decreases, in the range of 1 to 255.
The default setting is 30.
Description
Use
vrrp vrid weight
track
to specify the track entry to be monitored by VFs when VRRP operates in load
balancing mode. If the status of the monitored track entry changes to negative, the weights of all VFs in
the VRRP group to which the current router belongs decrease by a specified value.
Use
undo vrrp vrid weight
track
to remove the specified track entry.
By default, no track entry is specified to be monitored.
The command is effective only when VRRP operates in load balancing mode.
Before executing the command, create a VRRP group on an interface and configure the virtual IP
address of the VRRP group.
When the status of the monitored track entry turns from negative to positive or invalid, the
corresponding VFs automatically restore their weights.