The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Removing commands from profiles using the CLI

Prev Next

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 <profileName> command <sequenceNumber>

    where sequenceNumber is the number assigned to the command.

  3. Verify your changes:

    hostname (config) # show cmc profiles <profileName>
  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 <profileName> command
  3. Verify your change:

    hostname (config) # show cmc profiles <profileName>
  4. Save your change:

    hostname (config) # write memory