beautypg.com

Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 313

background image

Network OS NETCONF Operations Guide

281

53-1003231-02

VLAN configuration and management

21

1. To select the type of STP, issue an RPC to configure the node in the

urn:brocade.com:mgmt:brocade-interface namespace, and specify the following elements.

a. Under the node, specify the node element in the

urn:brocade.com:mgmt:brocade-xstp namespace.

b. Under the node element, specify the node element.

c. Under the node, specify the leaf element, and include the delete

operation in the opening tag to enable MSTP.

2. To enable spanning tree on the VLAN, issue an RPC to configure the

node in the urn:brocade.com:mgmt:brocade-interface namespace, and
specify the following elements:

a. Under the node, specify the / hierarchy of node

elements.

b. Under the element, specify the element and set it to the VLAN ID.

c. Under the element, specify the node element in the

urn:brocade.com:mgmt:brocade-xstp namespace.

d. Under the node, include the element, and include the

delete operation in the opening tag to enable STP on the VLAN.

The following example enables MSTP on VLAN 1002 using one RPC.

operation="delete"/>

1002

xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"

operation="delete"/>