beautypg.com

Configuring an interface port as a trunk interface – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 317

background image

Network OS NETCONF Operations Guide

285

53-1003231-02

VLAN configuration and management

21

6. Under the , , , or

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.

7. Under the node element, specify the leaf element containing the

VLAN ID to configure a layer 2 switch port as an access interface.

22/0/1

20

Configuring an interface port as a trunk interface

Each DCB interface port supports admission policies based on whether the frames are untagged or
tagged. Trunk mode admits only VLAN-tagged frames.

This procedure performs the following functions:

Enables the interface.

Specifies trunk mode.

Specifies whether one, all, or none of the VLAN interfaces are allowed to transmit and receive
through the DCB interface.

To configure the interface as a trunk interface requires two RPCs. The first RPC configures the port
as a Layer 2 interface; the second RPC configures the interface port as a trunk interface.

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

element, include the following elements: