Managing the configuration – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 51

Advertising
background image

Network OS NETCONF Operations Guide

19

53-1003231-02

Managing the configuration

2

</static>

</mac-address-table>

</config>

</edit-config>

</rpc>

<rpc-reply message-id="210" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<ok/>

</rpc-reply>

The delete operation is used to remove or disable part of the configuration. The following example
disables MSTP on the managed device.

<?xml version="1.0" encoding="UTF-8"?>

<rpc message-id="211" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<edit-config>

<target>

<running/>

</target>

<config>

<protocol xmlns="urn:brocade.com:mgmt:brocade-interface">

<spanning-tree xmlns="urn:brocade.com:mgmt:brocade-xstp">

<mstp xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"

operation="delete"/>

</spanning-tree>

</protocol>

</config>

</edit-config>

</rpc>

<rpc-reply message-id="211" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<ok/>

</rpc-reply>

Managing the configuration

Network OS provides the custom <bna-config-cmd> PRC for performing any of the following
operations:

Copy the running-config file to the startup-config file.

Copy the running-config file to a remote file.

Copy the startup-config file to a remote file.

Copy a remote file to the running-config file.

Copy a remote file to the startup-config file.

Some simple examples are provided here. Refer to the Network OS Administrator’s Guide for the
following related information:

General configuration management concepts

Details and recommendations about how to apply these operations in a modular chassis or a
Brocade VCS Fabric

How to perform management configuration using the Brocade Network OS command line
interface (CLI)

Advertising