beautypg.com

Creating a vlan interface, Enabling stp on a vlan – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 312

background image

280

Network OS NETCONF Operations Guide

53-1003231-02

VLAN configuration and management

21

Creating a VLAN interface

On Brocade VDX hardware, VLANs are treated as interfaces from a configuration viewpoint.

By default, all the DCB ports are assigned to VLAN 1 (VLAN ID equals 1). The VLAN ID can be 1
through 8192, but VLAN IDs 3584 through 4094 are internally-reserved VLAN IDs. VLAN 8191 is
the largest VLAN ID that can be assigned.

To create a VLAN interface, perform the following steps.

1. Issue an RPC to configure the node in the

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

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

elements.

3. Under the node, specify the element containing the new VLAN ID.

The following example creates VLAN 1010.

1010

Enabling STP on a VLAN

When all of the interface ports have been configured for a VLAN, you can enable Spanning Tree
Protocol (STP) for all members of the VLAN with a single RPC. Whichever protocol is currently
selected is used by the VLAN. Only one type of STP can be active at a time.

A physical interface port can be a member of multiple VLANs. For example, a physical port can be a
member of VLAN 1002 and VLAN 55 simultaneously. In addition, VLAN 1002 can have STP enabled
and VLAN 55 can have STP disabled, simultaneously.

To enable STP for a VLAN, select the type of STP for the VLAN, and then enable spanning tree on
that VLAN.

To enable spanning tree on a VLAN, perform the following steps.