To enable or disable the ICAP service on a supported Network Security appliance using the CLI, use the commands in this section.
Prerequisites
Administrator access to the Network Security appliance.
Go to CLI configuration mode.
hostname > enable hostname # configure terminal
Enable the ICAP service.
hostname (config) # icap-service enable
Verify the status of the ICAP service.
hostname (config) # show icap-service config ICAP Configuration: ICAP enabled : yes . . .
The "ICAP enabled" line displays "yes" if the Network Security appliance can act as an ICAP server to perform detection on ICAP-encapsulated data.
Save your changes.
hostname (config) # write memory
Make sure the third-party device is configured so that the device can act as an ICAP client. For details, see ICAP client configuration prerequisites.
Go to CLI configuration mode.
hostname > enable hostname # configure terminal
Disable the ICAP service.
hostname (config) # no icap-service enable
Verify the status of the ICAP service.
hostname (config) # show icap-service config ICAP Configuration: ICAP enabled : no . . .
The "ICAP enabled" line displays "no" if the Network Security appliance cannot as an ICAP server to perform detection on ICAP-encapsulated data.
Save your changes.
hostname (config) # write memory