Adding or deleting a keyword using the CLI

Prev Next

Use the commands in this section to add a keyword to the keyword candidate list or to delete a keyword from the keyword candidate list. Use the show email-analysis pass-extract keywords command to track the highest number of matches for each defined keyword in the "hit count" column. You can add up to 100 keyword entries.

To add a keyword to a candidate list:
  1. Go to CLI configuration mode.

    hostname > enable
    hostname # configure terminal
  2. Specify an email analysis keyword to add to a candidate list as a clue to find the password.

    hostname (config) # email-analysis pass-extract add keyword <keyword>
  3. Verify the status of keyword configuration for password extraction.

    hostname (config) # show email-analysis pass-extract keywords
  4. Save your changes.

    hostname (config) # write memory
    Saving configuration file ... Done!
To delete keywords from a candidate list:
  1. Go to CLI configuration mode.

    hostname > enable
    hostname # configure terminal
  2. Specify an email analysis keyword to delete from a candidate list.

    hostname (config) # email-analysis pass-extract delete keyword <keyword>
  3. Verify the status of keyword configuration for password extraction.

    hostname (config) # show email-analysis pass-extract keywords
  4. Save your changes.

    hostname (config) # write memory
    Saving configuration file ... Done!

Examples

This example shows how to add keywords to a keyword candidate list:

hostname (config) # email-analysis pass-extract add keyword test
hostname (config) # email-analysis pass-extract add keyword id
hostname (config) # show email-analysis pass-extract keywords
word                          hit count       creation time
test                            0             Tue May 24 21:07:38 2016
id                              0             Tue May 24 21:08:48 2016

This example shows how to delete the "test" keyword from a keyword candidate list:

hostname (config) # email-analysis pass-extract delete keyword test
hostname (config) # show email-analysis pass-extract keywords
word                          hit count       creation time
id                              0             Tue May 24 21:08:48 2016