beautypg.com

Retrieving the defined configuration – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 143

background image

Network OS NETCONF Operations Guide

111

53-1003231-02

Zoning information

10

“Retrieving the defined configuration”

on page 111

“Retrieving the enabled configuration”

on page 113

Retrieving the defined configuration

Use the RPC to query the defined configuration. You can retrieve the configuration for
the entire defined configuration, query the zone membership details of a specific configuration,
query the device membership of a specific zone, or query alias membership. To select the data you
want to retrieve, use an appropriate filter.

To retrieve the entire defined configuration, use the following filter.

To retrieve the zone membership details of a specific zone configuration, use a filter such as the
following.

cfg2

To retrieve the membership details of a specific zone, use a filter such as the following.

ZoneB

To retrieve alias membership information, use a filter such as the following.

The following example retrieves the entire defined configuration. For each configuration, the output
lists each member zone. For each zone, the output lists the WWN of each member. In this case, the
defined configuration contains two zoning configurations (cfg1 and cfg2). cfg1 contains three
zones (zoneA, zoneB, and zoneC). cfg2 contains two zones (zoneA and zoneB). Each zone has two
members. One device is shared among all three zones. This defined configuration contains no alias
definitions.