Product Documentation

ns serviceFunction

Sep 12, 2016

The following operations can be performed on "ns serviceFunction":

add | set | rm | show

add ns serviceFunction

Add a service function.

Synopsys

add ns serviceFunction <serviceFunctionName> -ingressVLAN <positive_integer>

Arguments

serviceFunctionName

Name of the service function to be created. Leading character must be a number or letter. Other characters allowed, after the first character, are @ _ - . (period) : (colon) # and space ( ).

ingressVLAN

VLAN ID on which the traffic from service function reaches Netscaler.

Minimum value: 1

Maximum value: 4094

Example

add servicefunction tcpopt -ingressVLAN vlan1

set ns serviceFunction

Set operation on a service function.

Synopsys

set ns serviceFunction <serviceFunctionName> [-ingressVLAN <positive_integer>]

Arguments

serviceFunctionName

Name of the service function to be created. Leading character must be a number or letter. Other characters allowed, after the first character, are @ _ - . (period) : (colon) # and space ( ).

ingressVLAN

VLAN ID on which the traffic from service function reaches Netscaler.

Minimum value: 1

Maximum value: 4094

Example

set servicefunction tcpopt -ingressVLAN vlan2

rm ns serviceFunction

Removes specified service function.

Synopsys

rm ns serviceFunction <serviceFunctionName>

Arguments

serviceFunctionName

Name of the service function to be created. Leading character must be a number or letter. Other characters allowed, after the first character, are @ _ - . (period) : (colon) # and space ( ).

Example

rm servicefunction tcpopt

show ns serviceFunction

displays specified service function.

Synopsys

show ns serviceFunction [<serviceFunctionName>]

Arguments

serviceFunctionName

Name of the service function to be created. Leading character must be a number or letter. Other characters allowed, after the first character, are @ _ - . (period) : (colon) # and space ( ).

Outputs

ingressVLAN

VLAN ID on which the traffic from service function reaches Netscaler.

stateflag

the field for stateflags.

devno

count

Example

show servicefunction tcpopt