Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 411

Advertising
background image

Network OS NETCONF Operations Guide

379

53-1003231-02

Configuring a vLAG

26

<rbridge-id>231</rbridge-id>

<interface-type>tengigabitethernet</interface-type>

<interface-name>231/0/23</interface-name>

<actor-port>0xE718170202</actor-port>

<sync>1</sync>

</aggr-member>

<aggr-member>

<rbridge-id>231</rbridge-id>

<interface-type>tengigabitethernet</interface-type>

<interface-name>231/0/36</interface-name>

<actor-port>0xE718240305</actor-port>

<sync>1</sync>

</aggr-member>

<aggr-member>

<rbridge-id>231</rbridge-id>

<interface-type>tengigabitethernet</interface-type>

<interface-name>231/0/37</interface-name>

<actor-port>0xE718250306</actor-port>

<sync>1</sync>

</aggr-member>

</lacp>

<has-more>true</has-more>

</get-port-channel-detail>

</rpc-reply>

4. To obtain details of additional port channels configured on this switch, reissue the

<get-port-channel-detail> RPC, include the <last-aggregator-id> input parameter, and set its
value to the value returned in the <aggregator-id> element of the previous call.

You should reissue the <get-port-channel-detail> RPC only if the <has-more> element returned
“true” in the previous call.

<?xml version="1.0" encoding="UTF-8"?>

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

<get-port-channel-detail xmlns="urn:brocade.com:mgmt:brocade-lag">

<last-aggregator-id>27</last-aggregator-id>

</get-port-channel-detail>

</rpc>

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

<get-port-channel-detail xmlns="urn:brocade.com:mgmt:brocade-lag">

<lacp>

<aggregator-id>28</aggregator-id>

<aggregator-type>standard</aggregator-type>

(output truncated)

<has-more>false</has-more>

</get-port-channel-detail>

</rpc-reply>

5. Use the <get-portchannel-info-by-intf> custom RPC defined in the

urn:brocade.com:mgmt:brocade-lag namespace to verify the port-channel interface details.

<?xml version="1.0" encoding="UTF-8"?>

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

<get-port-channel-info-by-intf xmlns="urn:brocade.com:mgmt:brocade-lag">

<interface-type>tengigabitethernet></interface-type>

<interface-name>1/0/21</interface-name>

</get-port-channel-info-by-intf>

</rpc>

Advertising