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

insert

Usage

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

<!- - if each element in the ordered set has one identifier - ->
<ordered-set insert="(before | after)" name="referent-value">
<name>value-for-moving-object</name>
</ordered-set>

<!- - if each element in the ordered set has two identifiers - ->
<ordered-set insert="(before | after)" identifier1="referent-value" \
identifier2="referent-value">
<identifier1>value-for-moving-object</identifier1>
<identifier2>value-for-moving-object</identifier2>
</ordered-set>

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

Description

Change the position of a configuration element in an ordered set. The new position is specified relative to a reference element, which is specified by including an attribute named after each of its identifier tags. In the Usage section, the identifier tag element is called <name> when each element in the set has one identifier.

The insert attribute can be combined with either the active or inactive attribute, as described in Changing a Configuration Element’s Activation State Simultaneously with Other Changes.

Usage Guidelines

See Reordering Elements in Configuration Objects.

Related Topics

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


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