Home > Configuration > Content Switching > setcsvserver_insertvserveripport

setcsvserver_insertvserveripport

Use this method to set the virtual IP and port header insertion option for the vserver.
* VIPADDR - Header contains the vserver's IP address and port number without any translation.
* OFF - The virtual IP and port header insertion option is disabled.
* V6TOV4MAPPING - Header contains the mapped IPv4 address that corresponds to the IPv6 address of the vserver and the port number. An IPv6 address can be mapped to a user-specified IPv4 address using the set ns ip6 method.

Syntax



Parameters

name

Identifies the virtual server name (created with the add cs vserver method).
This is mandatory parameter.

insertvserveripport

The virtual IP and port header insertion option for the vserver. * VIPADDR - Header contains the vserver's IP address and port number without any translation. * OFF - The virtual IP and port header insertion option is disabled. * V6TOV4MAPPING - Header contains the mapped IPv4 address that corresponds to the IPv6 address of the vserver and the port number. An IPv6 address can be mapped to a user-specified IPv4 address using the set ns ip6 method.
Possible Values : OFF, VIPADDR, V6TOV4MAPPING.

vipheader

The name of virtual IP and port header.

Return Value

Returns simpleResult

See Also