Configuring the lacp system priority – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 417

Advertising
background image

Network OS NETCONF Operations Guide

385

53-1003231-02

LACP configuration and management

26

3. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>, or

<hundredgigabitethernet> node, specify the following elements:

a. In the <name> element, provide the name of the interface you want to add to the LAG.

b. In the <shutdown> element, include the delete operation in the element tag to enable the

interface.

c. Include the <channel-group> node element.

4. Under the <channel-group> node, specify the following elements to configure the LACP for the

DCB interface:

a. In the <port-int> element, provide value to the channel group number.

b. In the <mode> element, specify “active” or “passive”

c. In the <type> element, specify “standard” or “brocade”.

The following example adds port 8/0/1 to channel group 4 in active mode, standard type.

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

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

<edit-config>

<target>

<running/>

</target>

<config>

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

<tengigabitethernet>

<name>8/0/1</name>

<shutdown xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"

operation="delete"/>

<channel-group>

<port-int>4</port-int>

<mode>active</mode>

<type>standard</type>

</channel-group>

</tengigabitethernet>

</interface>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Configuring the LACP system priority

Configure an LACP system priority on each switch running LACP. LACP uses the system priority with
the switch MAC address to form the system ID and also during negotiation with other switches.

The system priority value must be a number in the range of 1 through 65535. The higher the
number, the lower the priority. The default priority is 32768.

To configure the global LACP system priority, issue the <edit-config> RPC to configure the <lacp>
node in the urn:brocade.com:mgmt:brocade-lacp namespace and provide a value in the
<system-priority> leaf element.

Advertising