This RPC is equivalent to the show system config-status CLI and retrieves the maintenance mode status.
<nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" nc:message-id="9"> <get-maint-mode-status xmlns="urn:broadcom.com:mgmt:brocade-system-maintenance"></get-maint-mode-status> </nc:rpc>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="9"> <config-status xmlns="urn:broadcom.com:mgmt:brocade-system-maintenance">enabled</config-status> <overall-status xmlns="urn:broadcom.com:mgmt:brocade-system-maintenance">complete</overall-status> <num-stages xmlns="urn:broadcom.com:mgmt:brocade-system-maintenance">2</num-stages> <current-stage xmlns="urn:broadcom.com:mgmt:brocade-system-maintenance">2</current-stage> <max-time xmlns="urn:broadcom.com:mgmt:brocade-system-maintenance">100</max-time> <stages xmlns="urn:broadcom.com:mgmt:brocade-system-maintenance"> <stage> <stage-num>1</stage-num> <time-taken>0</time-taken> <daemons> <daemon> <daemon-name>bgp</daemon-name> <status>complete</status> </daemon> <daemon> <daemon-name>mct</daemon-name> <status>complete</status> </daemon> </daemons> </stage> <stage> <stage-num>2</stage-num> <time-taken>0</time-taken> <daemons> <daemon> <daemon-name>bgp</daemon-name> <status>complete</status> </daemon> <daemon> <daemon-name>mct</daemon-name> <status>complete</status> </daemon> </daemons> </stage> </stages> </rpc-reply>