--- title: "Removing commands from profiles using the CLI" slug: "removing-commands-from-profiles-using-the-cli-3" updated: 2026-08-25T21:18:10Z published: 2026-08-25T21:18:10Z canonical: "docs.trellix.com/removing-commands-from-profiles-using-the-cli-3" --- > ## 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. # Removing commands from profiles using the CLI Use the commands in this section to remove commands from a profile. To remove a single command: 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Remove the command: ``` hostname (config) # no cmc profile command ``` where` sequenceNumber `is the number assigned to the command. 3. Verify your changes: ``` hostname (config) # show cmc profiles ``` 4. Save your changes:`hostname (config) # write memory` To remove all commands: 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Remove all commands: ``` hostname (config) # no cmc profile command ``` 3. Verify your change: ``` hostname (config) # show cmc profiles ``` 4. Save your change: ``` hostname (config) # write memory ``` :