ADC CLI Commands

forwardingSession

The following operations can be performed on “forwardingSession”:

add show set rm

add forwardingSession

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

Synopsis

add forwardingSession (( []) | -acl6name | -aclname ) [-td ] [-connfailover ( ENABLED | DISABLED )] [-sourceroutecache ( ENABLED | DISABLED )] [-processLocal ( ENABLED | DISABLED )]

Arguments

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’).

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.

td Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0. Minimum value: 0 Maximum value: 4094

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.

Possible values: ENABLED, DISABLED Default value: DISABLED

sourceroutecache Cache the source ip address and mac address of the DA servers.

Possible values: ENABLED, DISABLED Default value: DISABLED

processLocal Enabling this option on forwarding session will not steer the packet to flow processor. Instead, packet will be routed.

Possible values: ENABLED, DISABLED Default value: DISABLED

show forwardingSession

Displays the settings of all forwarding session rules configured on the Citrix ADC, or of the specified forwarding session rule.

Synopsis

show forwardingSession []

Arguments

name Name of the forwarding session rule whose details you want to display.

Output

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.

td Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0.

aclname Name of any configured ACL whose action is ALLOW. The rule of the ACL is used as a forwarding session rule.

acl6name Name of any configured ACL6 whose action is ALLOW. The rule of the ACL6 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.

sourceroutecache Cache the source ip address and mac address of the DA servers.

processLocal Enabling this option on forwarding session will not steer the packet to flow processor. Instead, packet will be routed.

devno count stateflag

set forwardingSession

Modifies parameters of a forwarding session rule.

Synopsis

set forwardingSession [-connfailover ( ENABLED | DISABLED )] [-sourceroutecache ( ENABLED | DISABLED )] [-processLocal ( ENABLED | DISABLED )] [-acl6name ] [-aclname ]

Arguments

name Name of the forwarding session rule. Required for identifying the 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.

Possible values: ENABLED, DISABLED Default value: DISABLED

sourceroutecache Cache the source ip address and mac address of the DA servers.

Possible values: ENABLED, DISABLED Default value: DISABLED

processLocal Enabling this option on forwarding session will not steer the packet to flow processor. Instead, packet will be routed.

Possible values: ENABLED, DISABLED Default value: DISABLED

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.

Example

set forwardsession fw1 -connfailover enabled.

rm forwardingSession

Removes a forwarding session rule from the Citrix ADC.

Synopsis

rm forwardingSession

Arguments

name Name of the forwarding session rule to be removed.

Example

rm forwardsession name.

forwardingSession