Removing a member from an alias – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 139

Advertising
background image

Network OS NETCONF Operations Guide

107

53-1003231-02

Zone aliases

10

<edit-config>

<target>

<running/>

</target>

<config>

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

<defined-configuration>

<alias>

<alias-name>alias1</alias-name>

<member-entry>

<alias-entry-name>10:00:00:00:00:00:00:02

</alias-entry-name>

</member-entry>

<member-entry>

<alias-entry-name>10:00:00:00:00:00:00:03

</alias-entry-name>

</member-entry>

</alias>

</defined-configuration>

<enabled-configuration>

<cfg-action>cfg-save</cfg-action>

</enabled-configuration>

</zoning>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Removing a member from an alias

1. Issue the <get-config> RPC to return the member information of the alias for which you want to

remove a member. To limit the reply to a specific alias, use a subtree filter to view only the
contents of the <zoning>/<defined-configuration>/<alias>/<alias-name> node.

The following example returns the alias member information for the alias named alias1.

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

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

<get-config>

<source>

<running/>

</source>

<filter type="subtree">

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

<defined-configuation>

<alias>

<alias-name>alias1</alias-name>

</alias>

</defined-configuration>

</zoning>

</filter>

</get-config>

</rpc>

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

<zoning xmlns="urn:brocade.com:mgmt:brocade-qos">

Advertising