ADC CLI Commands

ns-serviceFunction

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

show set rm add

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

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

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

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

ns-serviceFunction