ADC CLI Commands

ns-serviceFunction

The following operations can be performed on “ns-serviceFunction”:

add set show rm

add ns serviceFunction

Add a service function.

Synopsis

add ns serviceFunction -ingressVLAN

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 Citrix ADC. Minimum value: 1 Maximum value: 4094

Example

add servicefunction tcpopt -ingressVLAN vlan1

set ns serviceFunction

Set operation on a service function.

Synopsis

set ns serviceFunction [-ingressVLAN ]

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 Citrix ADC. Minimum value: 1 Maximum value: 4094

Example

set servicefunction tcpopt -ingressVLAN vlan2

show ns serviceFunction

displays specified service function.

Synopsis

show ns serviceFunction []

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

Output

ingressVLAN VLAN ID on which the traffic from service function reaches Citrix ADC.

stateflag the field for stateflags.

devno count

Example

show servicefunction tcpopt

rm ns serviceFunction

Removes specified service function.

Synopsis

rm ns serviceFunction

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

ns-serviceFunction