The vip command sets an IP address for a virtual server.
The undo vip command deletes the IP address of a virtual server.
| Parameter | Description | Value |
|---|---|---|
| start-vip-id | Specifies the start ID of the IP address of a virtual server. |
The value is an integer ranging from 0 to 7. |
| end-vip-id | Specifies the end ID of the IP address of a virtual server. |
The value is an integer ranging from 0 to 7 and must be equal to or greater than the start ID. |
| ip-address | Specifies the IP address of a virtual server. |
The value is in dotted decimal notation. |
Multiple IP addresses can be set for a virtual server to provide services for different network segments. If you do not set an ID for a virtual server when setting an IP address for it, the FW assigns an ID to it. When modifying the IP address of a virtual server, you must specify the ID.
The vip start-vip-id to end-vip-id ip-address command is used to set IP addresses for a virtual server in batch. For example, use the vip 1 to 5 10.10.10.1 command to set IP addresses 10.10.10.1 to 10.10.10.5 for a virtual server. The ID mapping 10.10.10.1 is 1, the ID mapping 10.10.10.2 is 2, and so on.