beautypg.com

Disabling stp on a vlan – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 314

background image

282

Network OS NETCONF Operations Guide

53-1003231-02

VLAN configuration and management

21

Disabling STP on a VLAN

Once all of the interface ports have been configured for a VLAN, you can disable STP for all
members of the VLAN with a single RPC.

To disable STP for a VLAN, perform the following steps.

1. Issue an RPC to configure the node in the

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

2. Under the node, specify the / hierarchy of node elements.

3. Under the node element, include the following leaf elements:

a. In the element, specify the VLAN ID.

b. Include the / elements to disable spanning tree on the

specified VLAN.

The following example disables STP on VLAN 1002.

1002

Configuring an interface port as a Layer 2 switch port

To configure the interface as a Layer 2 switch port, perform the following steps.

1. Issue an RPC to configure the node in the

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

2. Under the node, specify the interface type element (,

, , or ).

3. Under the , , , or

node element, specify the following elements: