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

rename

Usage

rename attribute (JUNOS XML with JUNOScript)
<rpc>
<load-configuration>
<configuration>
<!- - opening tag for each parent of the object - ->

<!- - if the object has one identifier - ->
<object rename="rename" name="new-name">
<name>current-name</name>
</object>

<!- - if the object has two identifiers, both changing - ->
<object rename="rename" identifier1="new-name" \
identifier2="new-name">
<identifier1>current-name</identifier1>
<identifier2>current-name</identifier2>
</object>

<!- - closing tag for each parent of the object - ->
</configuration>
</load-configuration>
</rpc>

Description

Change the name of one or more of a configuration object’s identifiers. In the Usage section, the identifier tag element is called <name> when the element has one identifier.

The rename attribute can be combined with either the inactive or active attribute.

Usage Guidelines

See Renaming a Configuration Object.

Related Topics

active, inactive, <load-configuration>, <rpc>


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