firewall service category
Use this command to create new categories or add comments to firewall service categories. To assign services to categories, use the firewall service custom
command.
The adding or editing the name of a service category are the most common tasks when using the config firewall service category
command but some commands affect the address objects as a whole.
config firewall service category edit {name} # Configure service categories. set name {string} Service category name. size[63] set comment {string} Comment. size[255] next end
Additional information
The following section is for those options that require additional explanation.
edit
Used to add an additional category or select which individual category to edit.
Syntax:
edit <category_name>
To create a new service category, just type the category_name you wish to use after the edit
command. A new category will be created using the category_name supplied.
If you require spaces in the name you can:
- Use quotation marks around the entire
category_name
- Use the escape character before the space character. Example: for the category_name
Web Access
typeWeb\ Access
To get a list of all of the existing categories, type the command:
Command Prompt (category) # edit ?
delete
Used to delete an existing category
Syntax:
delete <category_name>
purge
Used delete all of the existing categories. It deletes all of the values within the table that holds the categories.
Syntax:
purge
- There are no options, parameters or qualifiers. Just use the enter key after entering the command
- This command has a serious impact. Use cautiously.
rename
Used to change the name of the category.
Syntax:
rename <category_name> to <new_category_name>
move
Used to move the position of a category, relative to another category, in the order of their listing.
Syntax:
move <category_name> {after | before} <category_name>
clone
Used to copy all of the attributes of an existing category to a new category.
Syntax:
clone <category_name> to <category_name>
name
This field is a unique name given to represent the address object. This setting is first defined when using the edit command to edit a category that does not currently exist.
The name field of an address object cannot be changed from within the object. It can be changed by using the rename command in the config firewall service category
context.
comment
Field used to store descriptive information about the category such as the type of services that should be included in the category. Enclose the string in quotes to enter special characters or spaces.
Syntax:
set comment <string>
Example:
config firewall service category edit "Custom Category" set comment "For services that are propietory to the company." end