Product Documentation

lsn static

Sep 12, 2016

The following operations can be performed on "lsn static":

add | rm | show

add lsn static

Add LSN Static Mapping.

Synopsys

add lsn static <name> <transportprotocol> (<subscrIP> [<network6>]) <subscrPort> [-td <positive_integer>] [<natIP> [<natPort>]] [-destIP <ip_addr> [-dsttd <positive_integer>]]

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 NetScaler 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 NetScaler 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 NetScaler 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.

Synopsys

rm lsn static <name>

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 NetScaler 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

show lsn static

Display LSN Static Mapping.

Synopsys

show lsn static [<name>] [-nattype <nattype>]

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 NetScaler 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

Outputs

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 NetScaler 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 NetScaler 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