Enabling IP address advertisement for a virtual server

This feature can implement load balancing among data centers in a disaster recovery network. You must enable IP address advertisement for a virtual server on the LB device in each data center.

After this feature is configured, the device advertises the IP address of the virtual server to OSPF for route calculation. When the service of a data center switches to another data center, the traffic to the virtual server can also be switched to that data center. For information about OSPF, see Layer 3IP Routing Configuration Guide.

To enable IP address advertisement for a virtual server:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter virtual server view.

virtual-server virtual-server-name

N/A

3. Enable IP address advertisement for the virtual server.

route-advertisement enable

By default, IP address advertisement is disabled for a virtual server.