Zone creation and management, Creating a zone – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 147

Advertising
background image

Network OS NETCONF Operations Guide

115

53-1003231-02

Zone creation and management

10

<enabled-configuration xmlns="urn:brocade.com:mgmt:brocade-zone">

<cfg-name>cfg1</cfg-name>

<enabled-zone>

<zone-name>zone101</zone-name>

<member-entry>

<entry-name>10:00:00:00:00:00:00:65</entry-name>

</member-entry>

</enabled-zone>

..

<enabled-zone>

<zone-name>zone200</zone-name>

<member-entry>

<entry-name>10:00:00:00:00:00:00:C8</entry-name>

</member-entry>

</enabled-zone>

<has-more>false</has-more>

</enabled-configuration>

</rpc-reply>

Zone creation and management

The following sections describe zoning creation and management.

Creating a zone

The following procedure creates a new zone in the defined configuration and saves the modified
zoning configuration to nonvolatile memory. Zones without any zone members cannot exist in
volatile memory; they are deleted when the transaction commits successfully. Up to 255 zone
member objects are supported for each zone.

The following procedure adds a new zone to the defined configuration.

1. Issue the <edit-config> RPC to configure the <zoning>/<defined-configuration> node in the

urn:brocade.com:mgmt:brocade-zone namespace and specify a new <zone> list element
containing the following parameters:

a. In the <zone-name> element, provide the zone name.

b. Include a <member-entry> element for each member you want to include in the zone.

Each <member-entry> element must contain an <entry-name> element containing the
WWN of a new member.

The WWN can be a node WWN or a port WWN.

2. Issue the <edit-config> RPC to configure the <zoning>/<enabled-configuration> node in the

urn:brocade.com:mgmt:brocade-zone namespace and set the value of the <cfg-action>
element to “cfg-save” to save the modified configuration to nonvolatile memory.

The following example adds a new zone to the defined configuration.

?xml version="1.0" encoding="UTF-8"?>

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

<edit-config>

<target>

<running/>

</target>

<config>

Advertising