Lacp configuration and management, Enabling lacp on a dcb interface – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 416

Advertising
background image

384

Network OS NETCONF Operations Guide

53-1003231-02

LACP configuration and management

26

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

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

<get-config>

<source>

<running/>

</source>

<filter type="subtree">

<rbridge-id xmlns="urn:brocade.com:mgmt:brocade-rbridge-id"/>

<rbridge-id>2</rbridge-id>

</rbridge-id>

</filter>

</get-config>

</rpc>

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

<rbridge-id xmlns="urn:brocade.com:mgmt:brocade-rbridge-id">

<rbridge-id>2</rbridge-id>

<interface-nodespecific>

<ns-vlan>10</ns-vlan>

<ns-ethernet>100</ns-ethernet>

</interface-nodespecific>

<fabric xmlns=”urn:brocade.com:mgmt:brocade-fabric-service”>

<port-channel>

<name>10</name>

<vlag-load-balance>src-dst-mac-vid</vlan-load-balance>

</port-channel>

</fabric>

<fabric xmlns=”urn:brocade.com:mgmt:brocade-fabric-service”>

<port-channel>

<name>20</name>

<vlag-load-balance>dst-mac-vid</vlan-load-balance>

</port-channel>

</fabric>

</rbridge-id>

</rpc-reply>

LACP configuration and management

NOTE

To save the configuration, use the <bna-config-cmd> RPC to copy the running configuration to the
startup configuration.

Enabling LACP on a DCB interface

To add interfaces to an existing LAG, repeat this procedure using the same LAG group number for
the new interfaces.

To enable LACP on a DCB interface, perform the following steps.

1. Issue the <edit-config> RPC to configure the <interface> node defined in the

urn:brocade.com:mgmt:brocade-interface namespace, and specify the following elements.

2. Under the <interface> node, specify the <gigabitethernet>, <tengigabitethernet>,

<fortygigabitethernet>, or <hundredgigabitethernet> node element.

Advertising