[Contents] [Prev] [Next] [Index] [Report an Error]

## operation

#### Usage

`

    <rpc>
        <edit-config>
            <config>
                <configuration>
                    <!- - opening tags for each parent of the changing element - ->
                        <changing-element operation="( create | delete | replace ) ">
                            <name>identifier</name> <!- - if changing element has an identifier - ->
                            <!- - other child tag elements, if appropriate for the operation - ->
                        </changing-element>
                    <!- - closing tags for each parent of the changing element - ->
                </configuration>
            </config>
            <!- - other child tag elements of the <edit-config> tag element - ->
        <edit-config>
    </rpc>
    ]]>]]>

`

#### Description

Specify how the NETCONF server incorporates an individual configuration element into the candidate configuration. If the attribute is omitted, the element is merged into the configuration according to the rules defined in Setting the Default Mode for Incorporating New Configuration Data. The following are acceptable values:

- create—Creates the specified element in the configuration only if the element does not already exist. See Creating New Configuration Elements.
- delete—Deletes the specified element from the candidate configuration. We recommend that the <default-operation> tag element with the value none also be included in the <edit-config> tag element. See Deleting Configuration Elements.
- replace—Replaces the specified element in the candidate configuration with the provided new configuration data. See Replacing Configuration Elements.

#### Usage Guidelines

See Changing Individual Configuration Elements.

#### Related Topics

<edit-config>, <rpc>, xmlns

[Contents] [Prev] [Next] [Index] [Report an Error]