beautypg.com

Obtaining port information for a sequence of ports – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 327

background image

Network OS NETCONF Operations Guide

295

53-1003231-02

Configuring protocol-based VLAN classifier rules

21

up

up

(output truncated)

Obtaining port information for a sequence of ports

To retrieve information for a sequence ports, issue the RPC multiple times
and use the node element 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 is available
for additional interfaces; proceed as follows:

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

namespace.

2. Under the node, include the node element.

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

a. In the element in the urn:brocade.com:mgmt:brocade-interface

namespace, specify the interface type—For example “tengigabitethernet”.

b. In the element from theurn:brocade.com:mgmt:brocade-interface

namespace, specify the port name in the [rbridge-id/]slot/port format of the port for which
information was returned in the last invocation of the RPC.

The RPC returns information about the next port.

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

additional port interfaces.

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

tengigabitethernet

1/0/1

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

tengigabitethernet

1/0/1

67174401

2500

2500

up

up

(output truncated)

true