Viewing database size information, Zone aliases, Creating an alias – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 136

104
Network OS NETCONF Operations Guide
53-1003231-02
Zone aliases
10
Viewing database size information
To retrieve database size information, issue the <show>/<zoning> custom action that resides in
the urn:brocade.com:mgmt:brocade-zone namespace.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="602">
<action xmlns:nca="http://tail-f.com/ns/netconf/actions/1.0">
<data>
<show xmlns="urn:brocade.com:mgmt:brocade-common-def">
<zoning xmlns="urn:brocade.com:mgmt:brocade-zone"/>
<operation-info></operation-info>
</zoning>
</show>
</data>
</action>
</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="602">
<zoning xmlns="urn:brocade.com:mgmt:brocade-zone">
<db-max>1045274</db-max>
<db-avail>1043895</db-avail>
<db-committed>367</db-committed>
<db-transaction>373</db-transaction>
<transaction-token>1</transaction-token>
<last-zone-changed-timestamp>2011-11-16 16:54:31 GMT-7:00
</last-zone-changed-timestamp>
<last-zone-committed-timestamp>2011-11-16 16:23:44 GMT-7:0
</last-zone-committed-timestamp>
</zoning>
</rpc-reply>
Zone aliases
A zone alias is user-defined name for a logical group of ports or WWNs. You can simplify the
process of creating and managing zones by first specifying aliases for zone members. Aliases
facilitate tracking and eliminate the need for long lists of individual zone member names. An alias
can be a member of a zone, but it cannot be a member of a zoning configuration.
Creating an alias
1. Issue the <show>/<name-server>/<detail> custom action that resides in the
urn:brocade.com:mgmt:brocade-nameserver namespace to list the WWNs of devices and
targets available in the Brocade VCS Fabric. The available WWNs appear in the
<name-server>/<name-server-portname> and <name-server>/<nameserver-nodename>
fields in the reply message.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="603">
<nca:action xmlns:nca="http://tail-f.com/ns/netconf/actions/1.0">
<nca:data>
<show xmlns="urn:brocade.com:mgmt:brocade-common-def">
<name-server xmlns="urn:brocade.com:mgmt:brocade-nameserver">
<detail>
<rbridge-id>66</rbridge-id>
</detail>