ADC CLI Commands

contentInspection-profile

The following operations can be performed on “contentInspection-profile”:

unset add rm set show

unset contentInspection profile

Use this command to remove contentInspection profile settings.Refer to the set contentInspection profile command for meanings of the arguments.

Synopsis

unset contentInspection profile [-egressVlan] [-ingressVlan]

add contentInspection profile

Adds ContentInspection profile to the NetScaler appliance.

Synopsis

add contentInspection profile -type InlineInspection -egressInterface -ingressInterface [-egressVlan ] [-ingressVlan ]

Arguments

name Name of a ContentInspection profile. Must begin with a letter, number, or the underscore (_) character. Other characters allowed, after the first character, are the hyphen (-), period (.), hash (#), space ( ), at (@), colon (:), and equal (=) characters. The name of a IPS profile cannot be changed after it is created.

CLI Users: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, “my ips profile” or ‘my ips profile’).

type Type of ContentInspection profile. Following types are available to configure: InlineInspection : To inspect the packets/requests using IPS.

Possible values: InlineInspection

egressInterface Egress interface for CI profile.It is a mandatory argument while creating an ContentInspection profile of IPS type.

ingressInterface Ingress interface for CI profile.It is a mandatory argument while creating an ContentInspection profile of IPS type.

egressVlan Egress Vlan for CI Minimum value: 0

ingressVlan Ingress Vlan for CI Minimum value: 0

Example

add contentinspectionprofile ips_profile1 -type InlineInspection -mode RX TX -ingressinterface “1/2” -egressinterface “1/4”

rm contentInspection profile

Removes contentinspection profile.

Synopsis

rm contentInspection profile

Arguments

name Name of a ContentInspection profile. Must begin with a letter, number, or the underscore (_) character. Other characters allowed, after the first character, are the hyphen (-), period (.), hash (#), space ( ), at (@), colon (:), and equal (=) characters. The name of a IPS profile cannot be changed after it is created.

CLI Users: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, “my ips profile” or ‘my ips profile’).

Example

rm contentinspectionprofile

set contentInspection profile

Modifies the attributes of contentinspection profile

Synopsis

set contentInspection profile [-egressInterface ] [-ingressInterface ] [-egressVlan ] [-ingressVlan ]

Arguments

name Name of a ContentInspection profile. Must begin with a letter, number, or the underscore (_) character. Other characters allowed, after the first character, are the hyphen (-), period (.), hash (#), space ( ), at (@), colon (:), and equal (=) characters. The name of a IPS profile cannot be changed after it is created.

CLI Users: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, “my ips profile” or ‘my ips profile’).

egressInterface Egress interface for CI profile.It is a mandatory argument while creating an ContentInspection profile of IPS type.

ingressInterface Ingress interface for CI profile.It is a mandatory argument while creating an ContentInspection profile of IPS type.

egressVlan Egress Vlan for CI Minimum value: 0

ingressVlan Ingress Vlan for CI Minimum value: 0

Example

set contentinspectionprofile -ingressinterface "1/3" -mode RXLink

show contentInspection profile

Displays contentinspection profile/s configured on netscaler

Synopsis

show contentInspection profile []

Arguments

name Name of the contentinspection profile to be displayed

Output

type Type of ContentInspection profile. Following types are available to configure: InlineInspection : To inspect the packets/requests using IPS.

egressInterface Egress interface for CI profile.It is a mandatory argument while creating an ContentInspection profile of IPS type.

ingressInterface Ingress interface for CI profile.It is a mandatory argument while creating an ContentInspection profile of IPS type.

egressVlan Egress Vlan for CI

ingressVlan Ingress Vlan for CI

devno count stateflag

Example

show contentinspection profile [profile-name]

contentInspection-profile