| addforwardingsession |
Use this method to adds a forwarding session rule, which creates forwarding-session entries for traffic that originates from or is destined for a particular network and is forwarded by the Citrix ADC. By default, the appliance does not create session entries for traffic that only forwards (L3 mode). Add a forwarding session rule for a case in which a client request that the appliance forwards to a server results in a response that has to return by the same path |
Syntax |
Parameters |
name |
Name for the forwarding session rule. Can begin with a letter, number, or the underscore character (_), and can consist of letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at (@), equals (=), colon (:), and underscore characters. Cannot be changed after the rule is created.
The following requirement applies only to the Citrix ADC CLI:
If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "my rule" or 'my rule'). This is mandatory parameter. |
network |
An IPv4 network address or IPv6 prefix of a network from which the forwarded traffic originates or to which it is destined. |
netmask |
Subnet mask associated with the network. |
acl6name |
Name of any configured ACL6 whose action is ALLOW. The rule of the ACL6 is used as a forwarding session rule. |
aclname |
Name of any configured ACL whose action is ALLOW. The rule of the ACL is used as a forwarding session rule. |
connfailover |
Synchronize connection information with the secondary appliance in a high availability (HA) pair. That is, synchronize all connection-related information for the forwarding session. Default value = DISABLED. |
sourceroutecache |
Cache the source ip address and mac address of the DA servers. Default value = DISABLED. |
processlocal |
Enabling this option on forwarding session will not steer the packet to flow processor. Instead, packet will be routed. Default value = DISABLED. |
Return Value |
Returns simpleResult |
See Also |