beautypg.com

Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 161

background image

Network OS NETCONF Operations Guide

129

53-1003231-02

Zone configuration scenario

10

The following example creates the zone configuration shown in

Figure 3

. The example assumes

that two hosts need access to the same storage device, while each host needs private storage of
its own. You create two zones: Zone A contains Host 1, its private storage device, and the shared
storage device; Zone B contains Host 2, its private storage device, and the shared storage device.
In addition, you create two zone configurations: cfg1 in which only Zone A is effective; cfg2, in
which both zones are effective.

This example follows these steps.

1. Connect to any switch on the Brocade VCS Fabric using Secure Shell (SSH).

2. Issue the custom action with the option to retrieve the available

WWNs.

3. Use the RPC on the node to create the following defined configuration:

ZoneA containing WWNs 20:00:00:05:1e:ed:95:38, 50:05:07:61:00:09:20:b4, and
50:05:07:61:00:1b:62:ed

ZoneB containing WWNs 20:00:00:05:1e:ed:18:c3, 50:05:07:61:00:22:18:9b, and
50:05:07:61:00:1b:62:ed

Cfg1 containing ZoneA only

Cfg2 containing ZoneA and ZoneB

4. Use the RPC on the / node to retrieve and verify

the defined configuration.

5. Use the RPC on the / node to enable Cfg2.

6. Use the RPC on the / node to retrieve and

verify the enabled configuration.

The following example RPC retrieves available WWNs.

66

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

016400

10:00:00:05:1E:ED:95:38

20:00:00:05:1E:ED:95:38

(output truncated)

The following example RPC creates the defined configuration.

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