beautypg.com

Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 318

background image

286

Network OS NETCONF Operations Guide

53-1003231-02

VLAN configuration and management

21

a. In the element, specify the port name in [rbridge-id/]slot/port format.

b. In the element, include the delete operation in the element opening tag to

enable the interface port.

c. Include the / elements to configure the port as a Layer 2 interface.

The following example configures 10-Gigabit Ethernet port 1/0/1 as a Layer 2 switch port.

1/0/1

4. Issue another RPC to configure the node in the

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

5. Under the node, specify the same interface type element you specified in

step 2

(, , , or
).

6. Under the , , , or

node element, include the following elements:

a. In the element, specify the same port name you specified in

step 3

.

b. Include the / hierarchy of node elements. Under the

element, specify the element as “trunk” to specify trunk mode.

c. Include the / node elements containing further XML elements that

define which VLAN interfaces are allowed to transmit and receive through the DCB
interface.

The following example XML fragment allows VLAN 30 to transmit and receive through the
DCB interface:

30

The following XML fragment allows all VLANs to transmit and receive through the DCB
interface.