Continuing interface monitoring – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 193

Network OS NETCONF Operations Guide
161
53-1003231-02
Interface monitoring
12
1. Issue the <edit-config> RPC to configure the <threshold-monitor-hidden> node in the
urn:brocade.com:mgmt:brocade-threshold-monitor workspace.
2. Under the <threshold-monitor-hidden> node, include the <threshold-monitor>/<interface>
hierarchy of node elements.
3. Under the <interface> node, include the empty <pause> element.
rpc message-id="1122" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<threshold-monitor-hidden
xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor">
<threshold-monitor>
<interface>
<pause/>
</interface>
</threshold-monitor>
</threshold-monitor-hidden>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1122" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Continuing interface monitoring
To resume port monitoring, perform the following steps.
1. Issue the <edit-config> RPC to configure the <threshold-monitor-hidden> node in the
urn:brocade.com:mgmt:brocade-threshold-monitor workspace.
2. Under the <threshold-monitor-hidden> node, include the <threshold-monitor>/<interface>
hierarchy of node elements.
3. Under the <interface> node, include the empty <pause> element, and include the delete
operation in the element tag.
rpc message-id="1123" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<threshold-monitor-hidden
xmlns="urn:brocade.com:mgmt:brocade-threshold-monitor">
<threshold-monitor>
<interface>
<pause xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
</interface>
</threshold-monitor>
</threshold-monitor-hidden>
</config>
</edit-config>