inactive
使用
<rpc> <load-configuration> <configuration> <!-- opening tag for each parent of the element --> <!-- if immediately deactivating a newly created element --> <element inactive="inactive"> <name>identifier</name> <!-- if element has identifier --> <!-- tag elements for each child of the element --> </element> <!-- if deactivating an existing element --> <element inactive="inactive"> <name>identifier</name> <!-- if element has identifier --> </element> <!-- closing tag for each parent of the element --> </configuration> </load-configuration> </rpc>
説明
という操作を使用して、候補コンフィギュレーションにコンフィギュレーション・データを読み込む場合、またはコンフィギュレーション・データベースを開く際に、コンフィギュレーション・エレメントを <load-configuration>
無効化します。設定がコミットされると、要素は設定内に残りますが、要素はルーティング、スイッチング、またはセキュリティプラットフォームの機能に影響を与えません。
属性はinactive
、Junos XML プロトコルを使用した他の変更と同時に構成要素のアクティベーション状態を変更するで説明されているように、1 つ以上の 、 rename
、または replace
属性と組み合わせることができます。insert
無効化された要素を再活性化するには、代わりに 属性をactive
含めます。