Retrieving the enabled configuration – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 145

Network OS NETCONF Operations Guide
113
53-1003231-02
Zoning information
10
</member-entry>
<member-entry>
<entry-name>11:22:33:44:55:66:77:83</entry-name>
</member-entry>
</zone>
</defined-configuration>
</zoning>
</rpc-reply>
Retrieving the enabled configuration
In an effort to improve DCMD zoning performance, the enabled zone configuration is no longer
distributed in the DCMD database. This means that the zoning enabled-configuration can no longer
be retrieved using the show running-config zoning enabled-configuration command. Beginning with
Network OS 4.0.0, you must use a new RPC to display the enabled-configuration.
This new RPC includes pagination support with a default setting of 200 lines of config for each
zone request operation. You can retrieve the entire enabled zone configuration or retrieve a single
enabled zone, which also includes its underlying zone members.
To retrieve the entire enabled zone configuration, do not specify any input parameters and issue
the following:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
<show-zoning-enabled-configuration
xmlns="urn:brocade.com:mgmt:brocade-zone"></show-zoning-enabled-configuration>
</rpc>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
<enabled-configuration xmlns="urn:brocade.com:mgmt:brocade-zone">
<cfg-name>cfg1</cfg-name>
<enabled-zone>
<zone-name>zone1</zone-name>
<member-entry>
<entry-name>10:00:00:00:00:00:00:01</entry-name>
</member-entry>
<member-entry>
<entry-name>10:00:00:00:00:00:00:02</entry-name>
</member-entry>
</enabled-zone>
<enabled-zone>
<zone-name>zone2</zone-name>
<member-entry>
<entry-name>10:00:00:00:00:00:00:03</entry-name>
</member-entry>
<member-entry>
<entry-name>10:00:00:00:00:00:00:04</entry-name>
</member-entry>
</enabled-zone>
<has-more>false</has-more>
</enabled-configuration>
</rpc-reply>
To retrieve a single zone and its underlying members, specify the zone-name-pattern field and
issue the following:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="3">
<show-zoning-enabled-configuration xmlns="urn:brocade.com:mgmt:brocade-zone">