The rename command renames an existing MIME header filtering rule and access the view of the new MIME header filtering rule.
| Parameter | Description | Value |
|---|---|---|
| new-name | Specifies a new name for the MIME header filtering rule. | The value is a case-sensitive character string. The length of a name without spaces ranges from 1 to 32 characters. The length of a name with spaces ranges from 3 to 34 characters. If a name contains spaces, the name must be enclosed with quotation marks (for example, "name for test"). The name cannot contain any question marks (?), commas (,), quotation marks ("), or hyphens (-). |
# Change MIME header filtering rule mime_rule to mime_rule_1.
<sysname> system-view [sysname] mime-header-group name mime_group [sysname-mime-header-group-mime_group] rule name mime_rule [sysname-mime-header-group-mime_group-rule-mime_rule] rename mime_rule_1 [sysname-mime-header-group-mime_group-rule-mime_rule_1]