--- title: "Viewing the context service status using the CLI" slug: "viewing-the-context-service-status-using-the-cli" tags: ["Network Security (NX)", "Product Usage"] updated: 2026-09-02T17:27:05Z published: 2026-09-02T17:27:05Z canonical: "docs.trellix.com/viewing-the-context-service-status-using-the-cli" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Viewing the context service status using the CLI Follow these steps to enable or disable context service. ### Prerequisites - Admin access to the SmartVision appliance. To enable or disable context service: 1. Log in to the appliance CLI and go to configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Enable or disable the context service. 1. To enable the service, use the `smartvision context-svc enable` command: ``` hostname (config) # smartvision context-svc enable Enabling SmartVision. ``` 2. To disable the service, use the `no` form of the command: ``` hostname (config) # no smartvision context-svc enable Enabling SmartVision. ``` 3. Verify your configuration change. In the following example, both and the context service are enabled. ``` hostname (config) # show smartvision status SmartVision State        Detection                      : yes        Context Service                : running        .        .        . ``` ``` hostname (config) # show smartvision config SmartVision Config        Detection Enabled             : yes        Context service enabled       : yes        .        .        . ``` 4. Save your changes. ``` hostname (config) #  write memory ``` :