Operation Manual – Reliability
H3C S9500 Series Routing Switches
Chapter 1 VRRP Configuration
1-4
corresponds to the virtual MAC address, to ensure correct data forwarding in the
sub-net.
Due to the chips installed, some switches support matching one IP address to multiple
MAC addresses.
S9500 series not only guarantee correct data forwarding in the sub-net, but also
support such function: the user can choose to match the virtual IP address with the real
MAC address or virtual MAC address of the routing interface.
The following commands can be used to set correspondence between the IP address
and the MAC address.
Perform the following configuration in system view.
Table 1-3
Set correspondence between virtual IP address and MAC address
Operation
Command
Set correspondence between the virtual IP
address and the MAC address
vrrp method
{
real-mac
|
virtual-mac
}
Set the correspondence to the default value
undo vrrp method
By default, the virtual IP address of the virtual router corresponds to the virtual MAC
address.
You should set correspondence between the virtual IP address of the virtual router and
the MAC address before configuring the virtual router. Otherwise, you cannot configure
the correspondence.
If you set correspondence between the IP address of the virtual router and the real
MAC address, you can configure only one virtual router on VLAN interface.
1.2.4 Adding/Deleting a Virtual IP Address
The following command is used for assigning a virtual IP address of the local segment
to a virtual router or removing an assigned virtual IP address of a virtual router from the
virtual address list.
Perform the following configuration in VLAN interface view.
Table 1-4
Add/delete a virtual IP address
Operation
Command
Add a virtual IP address
vrrp vrid
virtual
-
router
-
ID
virtual-ip
virtual
-
address
Delete a virtual IP address
undo vrrp vrid
virtual
-
router
-
ID
[
virtual-ip
virtual
-
address
]
The
virtual
-
router
-
ID
covers the range from 1 to 255.