Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 183

Advertising
background image

Network OS NETCONF Operations Guide

151

53-1003231-02

Alert notifications

12

To change the domain name:

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

<edit-config>

<target>

<running/>

</target>

<config>

<system-monitor-mail

xmlns="urn:brocade.com:mgmt:brocade-system-monitor">

<relay>

<host-ip>1.2.3.4</host-ip>

<domain-name>customer.com</domain-name>

</relay>

</system-monitor-email>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

To delete the domain name and return to the default:

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

<edit-config>

<target>

<running/>

</target>

<config>

<system-monitor-mail

xmlns="urn:brocade.com:mgmt:brocade-system-monitor">

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

operation="delete">

<host-ip>1.2.3.4</host-ip>

<domain-name xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"

operation="delete">customer.com</domain-name>

</relay>

</system-monitor-email>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Advertising