ADC CLI Commands

lsn-static

The following operations can be performed on “lsn-static”:

show add rm

show lsn static

Display LSN Static Mapping. NOTE: This command is deprecated.LSN related configuration commands are being deprecated will be removed in a future release

Synopsis

Arguments

name Name for the LSN static mapping entry. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after the LSN group 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, “lsn static1” or ‘lsn static1’).

nattype Type of sessions to be displayed.

Possible values: NAT44, DS-Lite, NAT64

Output

transportprotocol Protocol for the LSN mapping entry.

subscrIP IPv4(NAT44 & DS-Lite)/IPv6(NAT64) address of an LSN subscriber for the LSN static mapping entry.

subscrPort Port of the LSN subscriber for the LSN mapping entry. * represents all ports being used. Used in case of static wildcard

network6 B4 address in DS-Lite setup

natIP IPv4 address, already existing on the Citrix ADC as type LSN, to be used as NAT IP address for this mapping entry.

natPort NAT port for this LSN mapping entry. * represents all ports being used. Used in case of static wildcard

td ID of the traffic domain to which the subscriber belongs.

If you do not specify an ID, the subscriber is assumed to be a part of the default traffic domain.

destIP Destination IP address for the LSN mapping entry.

dsttd ID of the traffic domain through which the destination IP address for this LSN mapping entry is reachable from the Citrix ADC.

If you do not specify an ID, the destination IP address is assumed to be reachable through the default traffic domain, which has an ID of 0.

status The status of the Mapping. Status could be Inactive, if mapping addition failed due to already existing dynamic/static mapping, port allocation failure.

devno count stateflag

Example

show lsn static

add lsn static

Add LSN Static Mapping. NOTE: This command is deprecated.LSN related configuration commands are being deprecated will be removed in a future release

Synopsis

Arguments

name Name for the LSN static mapping entry. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after the LSN group 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, “lsn static1” or ‘lsn static1’).

transportprotocol Protocol for the LSN mapping entry.

Possible values: TCP, UDP, ICMP, ALL

subscrIP IPv4(NAT44 & DS-Lite)/IPv6(NAT64) address of an LSN subscriber for the LSN static mapping entry.

subscrPort Port of the LSN subscriber for the LSN mapping entry. * represents all ports being used. Used in case of static wildcard Maximum value: 65535

network6 B4 address in DS-Lite setup

td ID of the traffic domain to which the subscriber belongs.

If you do not specify an ID, the subscriber is assumed to be a part of the default traffic domain. Default value: 0 Minimum value: 0 Maximum value: 4094

natIP IPv4 address, already existing on the Citrix ADC as type LSN, to be used as NAT IP address for this mapping entry.

natPort NAT port for this LSN mapping entry. * represents all ports being used. Used in case of static wildcard Maximum value: 65535

destIP Destination IP address for the LSN mapping entry.

dsttd ID of the traffic domain through which the destination IP address for this LSN mapping entry is reachable from the Citrix ADC.

If you do not specify an ID, the destination IP address is assumed to be reachable through the default traffic domain, which has an ID of 0. Default value: 0 Minimum value: 0 Maximum value: 4094

Example

add lsn static 10.10.10.100 80

rm lsn static

Remove LSN Static Mapping. NOTE: This command is deprecated.LSN related configuration commands are being deprecated will be removed in a future release

Synopsis

Arguments

name Name for the LSN static mapping entry. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after the LSN group 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, “lsn static1” or ‘lsn static1’).

Example

rm lsn static

lsn-static