< Home

mime-header-group copy

Function

The mime-header-group copy command creates a MIME header group by cloning an existing one and displays the view of the new MIME header group.

Format

mime-header-group copy old-name [ new-name ]

Parameters

Parameter Description Value
old-name Specifies the name of the MIME header group to be cloned. The specified MIME header group must already exist.
new-name Specifies the name of the new MIME header group. 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, "user for test"). The name cannot contain any question marks (?), commas (,), quotation marks ("), or hyphens (-).

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If you need to create a MIME header group that is similar to an existing one, clone the existing one and make desired modification.

If you do not specify new-name, the new MIME header group is named old-name_n by default. n indicates the number of times the MIME header group is cloned. The value is an integer starting from 1.

Example

# Create a MIME header group by cloning MIME header group mime_group.

<sysname> system-view
[sysname] mime-header-group copy mime_group
[sysname-mime-header-group-mime_group_1]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >