![Huawei Quidway S8500 Series Command Manual Download Page 966](http://html.mh-extra.com/html/huawei/quidway-s8500-series/quidway-s8500-series_command-manual_169479966.webp)
Command Manual – Reliability
Quidway S8500 Series Routing Switches
Chapter 1 VRRP Configuration Commands
Huawei Technologies Proprietary
1-12
1.1.14 vrrp vrid virtual-ip
Syntax
vrrp vrid
virtual-router-ID virtual-ip
ip-address
undo vrrp vrid
virtual-router-ID
[
virtual-ip
virtual-address
]
View
VLAN interface view
Parameter
virtual-router-ID
: VRRP virtual router ID, ranging from 1 to 255.
ip-address
: Virtual IP address.
Description
Use the
vrrp vrid virtual-ip
command to create a virtual router or add a virtual IP
address to an existing virtual router.
Use the
undo vrrp vrid virtual-ip
command to cancel an existing virtual router or an
address from the virtual router.
You can add up to 16 virtual IP addresses to one virtual router.
If all of the addresses in a virtual router are deleted, the system will delete the virtual
router automatically.
Example
# Create a virtual router.
[Quidway-vlan-interface2] vrrp vrid 1 virtual-ip 10.10.10.10
# Add a virtual IP address to an existing virtual router.
[Quidway-vlan-interface2] vrrp vrid 1 virtual-ip 10.10.10.11
# Delete a virtual IP address.
[Quidway-vlan-interface2] undo vrrp vrid 1 virtual-ip 10.10.10.10
# Delete a virtual router.
[Quidway-vlan-interface2] undo vrrp vrid 1