beautypg.com

Obtaining vlan information for one vlan, Obtaining vlan information for multiple vlans – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 328

background image

296

Network OS NETCONF Operations Guide

53-1003231-02

Configuring protocol-based VLAN classifier rules

21

Obtaining VLAN information for one VLAN

To return information about a specific VLAN, issue the custom RPC from the
urn:brocade.com:mgmt:brocade-interface-ext namespace and specify the VLAN in the
input parameter.

20

rpc-reply message-id="1922" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

20

static

vlan-20

active

tengigabitethernet

66/0/10

tagged

20

true

Obtaining VLAN information for multiple VLANs

To retrieve information for a sequence of VLANs, issue the RPC multiple times and
specify the last received vlan ID on input.

Before issuing the RPC, check the output of the previous invocation to determine
whether the boolean element is set to “true”. If so, information about additional VLANs
is available; proceed as follows.

1. Issue the RPC from the urn:brocade.com:mgmt:brocade-interface-ext

namespace

2. Under the node, include the input parameter and set

its value to the VLAN ID returned in the element of the previous invocation of the
RPC.

3. Check the element in the output to determine whether information is available for

additional VLANs.

4. Repeat the procedure until the element returns “false”.

20

30

static

vlan-30