0% found this document useful (0 votes)
102 views26 pages

LACP Configuration Guide

LACP enables Cisco switches to automatically form Ethernet channels (EtherChannels) between switches by exchanging LACP packets between ports to dynamically learn partner capabilities and group similarly configured ports into a single logical link. LACP uses parameters like system priority, port priority, and administrative key to determine which ports can aggregate together into an EtherChannel.

Uploaded by

Gilfer Vasquez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
102 views26 pages

LACP Configuration Guide

LACP enables Cisco switches to automatically form Ethernet channels (EtherChannels) between switches by exchanging LACP packets between ports to dynamically learn partner capabilities and group similarly configured ports into a single logical link. LACP uses parameters like system priority, port priority, and administrative key to determine which ports can aggregate together into an EtherChannel.

Uploaded by

Gilfer Vasquez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 26

Configuring Link Aggregation Control Protocol

(LACP)
LACP is defined in IEEE 802.3ad standard and enables Cisco switches to manage Ethernet channels between
switches that conform to the standard. LACP facilitates the automatic creation of EtherChannels by exchanging
LACP packets between Ethernet ports.
By using LACP, the switch learns the identity of partners capable of supporting LACP and the capabilities
of each port. It then dynamically groups similarly configured port s into a single logical link (channel or
aggregate port). Similarly configured ports are grouped based on key value. For example, LACP groups the
ports with the same speed, duplex mode, native VLAN, VLAN range, and trunking status and type.

• Information About LACP, page 1


• How to Configure LACP, page 3
• Verifying LACP, page 17

Information About LACP

IEEE 802.3ad Link Bundling


The IEEE 802.3ad Link Bundling feature provides a method for aggregating multiple Ethernet links into a
single logical channel based on the IEEE 802.3ad standard. This feature helps improve the cost effectiveness
of a device by increasing cumulative bandwidth without necessarily requiring hardware upgrades. In addition,
IEEE 802.3ad link bundling provides a capability to dynamically provision, manage, and monitor various
aggregated links and enables interoperability between various Cisco devices and devices of third-party vendors.
LACP supports the automatic creation of EtherChannels by exchanging LACP packets between LAN ports.
LACP packets are exchanged only between ports in passive and active modes. The protocol “learns” the
capabilities of LAN port groups dynamically and informs the other LAN ports. After LACP identifies correctly
matched Ethernet links, it facilitates grouping the links into an EtherChannel. Then the EtherChannel is added
to the spanning tree as a single bridge port.
Both the passive and active modes allow LACP to negotiate between LAN ports to determine if they can form
an EtherChannel, based on criteria such as port speed and trunking state. (Layer 2 EtherChannels also use

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
1
Configuring Link Aggregation Control Protocol (LACP)
IEEE 802.3ad Link Bundling

VLAN numbers.) LAN ports can form an EtherChannel when they are in compatible LACP modes, as in the
following examples:
• A LAN port in active mode can form an EtherChannel with another LAN port that is in active mode.
• A LAN port in active mode can form an EtherChannel with another LAN port that is in passive mode.
• A LAN port in passive mode cannot form an EtherChannel with another LAN port that is also in passive
mode because neither port will initiate negotiation.

LACP uses the following parameters:


• LACP system priority—You must configure an LACP system priority on each device running LACP.
The system priority can be configured automatically or through the command-line interface (CLI). LACP
uses the system priority with the device MAC address to form the system ID and also during negotiation
with other systems.
• LACP port priority—You must configure an LACP port priority on each port configured to use LACP.
The port priority can be configured automatically or through the CLI. LACP uses the port priority to
decide which ports should be put in standby mode when there is a hardware limitation that prevents all
compatible ports from aggregating. LACP also uses the port priority with the port number to form the
port identifier.
• LACP administrative key—LACP automatically configures an administrative key value on each port
configured to use LACP. The administrative key defines the ability of a port to aggregate with other
ports. A port’s ability to aggregate with other ports is determined by the following:
• Port physical characteristics such as data rate, duplex capability, and point-to-point or shared
medium
• Configuration restrictions that you establish

LACP, on ports configured to use it, tries to configure the maximum number of compatible ports in an
EtherChannel, up to the maximum allowed by the hardware. To use the hot standby feature in the event a
channel port fails, both ends of the LACP bundle must support the lacp max-bundle command.
As a control protocol, LACP uses the Slow Protocol multicast address of 01-80-C2-00-00-02 to transmit
LACP protocol data units (PDUs). Operations, administration, and maintenance (OAM) packets also use the
Slow Protocol link type. Subsequently, a subtype field is defined per the IEEE 802.3ad standard (Annex 43B,
section 4) differentiating LACP PDUs from OAM PDUs.

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
2
Configuring Link Aggregation Control Protocol (LACP)
How to Configure LACP

How to Configure LACP

Provisioning the Controller to Configure LACP


DETAILED STEPS

Command or Action Purpose


Step 1 configure terminal Enters global configuration
mode.
Example:
Switch# configure terminal

Step 2 controller nid 1/NID_ID Enters the controller


configuration mode.
Example:
Switch(config)# controller nid 1/1

Step 3 ProvisionLacpPortType Enters LACP provisioning


mode.
Example:
Switch(config-controller)# ProvisionLacpPortType

Step 4 ProvisionLacpPortType {clearLacpStats | default | exit | getLacpConfig | Displays the supported


getLacpDefaults | getLacpPortConfig | getLacpPortDefaults | no | setLacpConfig configurations for LACP.
| setLacpDefaults | setLacpPortConfig | setLacpPortDefaults | showLacpAggLB |
showLacpInternal | showLacpNeighbors | showLacpStats | showLacpSysId}

Example:
Switch(config-controller-ProvisionLacpPortType)# ?
ProvisionLacpPortType sub-mode commands:
clearLacpStats Clear LACP statistics request
default Set a command to its defaults
exit Exit from ProvisionLacpPortType sub configuration
mode
getLacpConfig Get LACP configuration request
getLacpDefaults Get LACP default configuration request
getLacpPortConfig Get LACP port configuration request
getLacpPortDefaults Get LACP port default configuration request
no Negate a command or set its defaults
setLacpConfig Set LACP configuration request
setLacpDefaults Set LACP default configuration request
setLacpPortConfig Set LACP port configuration request
setLacpPortDefaults Set LACP port default configuration request
showLacpAggLB Show LACP load balance request
showLacpInternal Show LACP internal request
showLacpNeighbors Show LACP neighbor status request
showLacpStats Show LACP statistics request
showLacpSysId Show LACP system-id request

Step 5 exit Exits the LACP provisioning


mode.
Example:
Switch(config-controller-ProvisionLacpPortType)# exit

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
3
Configuring Link Aggregation Control Protocol (LACP)
Configuring LACP Globally on the Controller

Configuration Example
The following example shows the supported LACP configuration:

Switch(config-controller-ProvisionLacpPortType)# ?
ProvisionLacpPortType sub-mode commands:
clearLacpStats Clear LACP statistics request
default Set a command to its defaults
exit Exit from ProvisionLacpPortType sub configuration mode
getLacpConfig Get LACP configuration request
getLacpDefaults Get LACP default configuration request
getLacpPortConfig Get LACP port configuration request
getLacpPortDefaults Get LACP port default configuration request
no Negate a command or set its defaults
setLacpConfig Set LACP configuration request
setLacpDefaults Set LACP default configuration request
setLacpPortConfig Set LACP port configuration request
setLacpPortDefaults Set LACP port default configuration request
showLacpAggLB Show LACP load balance request
showLacpInternal Show LACP internal request
showLacpNeighbors Show LACP neighbor status request
showLacpStats Show LACP statistics request
showLacpSysId Show LACP system-id request

Configuring LACP Globally on the Controller


Before You Begin
• Perform the steps to provision LACP on the controller. See Provisioning the Controller to Configure
LACP, on page 3.

DETAILED STEPS

Command or Action Purpose


Step 1 setLacpConfig {commit | flush | lacpGlobalConfiguration | Configures global LACP.
review}
• commit—Sends the LACP configuration to NID.
Example: • flush—Flushes all LACP configuration from the
queue.
Switch(config-controller-ProvisionLacpPortType)#
setLacpConfig ? • lacpGlobalConfiguration—Sets LACP
commit commit setLacpConfig
flush flush all setLacpConfig configuration globally on the controller .
commands from queue
lacpGlobalConfiguration Set LACP configuration • review—Displays the configuration on the
request
review review setLacpConfig commands
controller .

Step 2 setLacpConfig lacpGlobalConfiguration {lacpGlobalState Sets global LACP configuration.


{enable} | systemPriopriority_value}
• lacpGlobalState—Enables the LACP
configuration globally on the controller .
Note LACP is always enabled globally.
Disable is not supported.

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
4
Configuring Link Aggregation Control Protocol (LACP)
Configuring LACP Globally on the Controller

Command or Action Purpose


• enable—Enables global LACP configuration.
Example: • systemPrio priority_value—Sets priority value.
Switch(config-controller-ProvisionLacpPortType)# The valid range is from 1 to 65535.
setLacpConfig lacpGlobalConfiguration lacpGlobalState
enable
Switch(config-controller-ProvisionLacpPortType)#
setLacpConfig lacpGlobalConfiguration systemPrio 2

Step 3 setLacpConfig review Displays the LACP configuration on the controller .

Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpConfig review
Commands in queue:
setLacpConfig lacpGlobalConfiguration
lacpGlobalState enable
setLacpConfig lacpGlobalConfiguration
systemPrio 2

Step 4 setLacpConfig commit Sends the LACP configuration to the NID.

Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpConfig commit

Step 5 exit Exits the LACP provisioning mode.

Example:
Switch(config-controller-ProvisionLacpPortType)# exit

Configuration Example
The example shows global LACP configuration on the controller :

Switch(config-controller-ProvisionLacpPortType)# setLacpConfig lacpGlobalConfiguration


lacpGlobalState enable
Switch(config-controller-ProvisionLacpPortType)# setLacpConfig lacpGlobalConfiguration
systemPrio 2
Switch(config-controller-ProvisionLacpPortType)# setLacpConfig review
Commands in queue:
setLacpConfig lacpGlobalConfiguration lacpGlobalState enable
setLacpConfig lacpGlobalConfiguration systemPrio 2
Switch(config-controller-ProvisionLacpPortType)# setLacpConfig commit
SetLacpConfig Commit Success!!!
Switch(config-controller-ProvisionLacpPortType)# exit

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
5
Configuring Link Aggregation Control Protocol (LACP)
Configuring LACP Defaults Globally on the Controller

Configuring LACP Defaults Globally on the Controller


Before You Begin
• Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure
LACP, on page 3.

DETAILED STEPS

Command or Action Purpose


Step 1 setLacpDefaults {commit | flush | setLacpDefaultsRequest | Configures default LACP globally.
review}
• commit—Sends the LACP configuration to
NID.
Example:
• flush—Flushes all LACP configuration from
Switch(config-controller-ProvisionLacpPortType)#
setLacpDefaults ? the queue.
commit commit setLacpDefaults
flush flush all setLacpDefaults • setLacpDefaultsRequest—Sets LACP default
commands from queue configuration globally on the controller .
review review setLacpDefaults commands

setLacpDefaultsRequest Set LACP default configuration


• review—Displays the configuration on the
request controller .
Switch(config-controller-ProvisionLacpPortType)#
setLacpDefaults setLacpDefaultsRequest

Step 2 setLacpDefaults review Displays the default LACP configuration on the


controller.
Example: Note The default system priority value is set to
32768.
Switch(config-controller-ProvisionLacpPortType)#
setLacpDefaults review
Commands in queue:
setLacpDefaults setLacpDefaultsRequest
setLacpDefaults setLacpDefaultsRequest

Step 3 setLacpDefaults commit Sends the LACP configuration to the NID.

Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpDefaults commit

Step 4 exit Exits the LACP provisioning mode.

Example:
Switch(config-controller-ProvisionLacpPortType)# exit

Configuration Example
The example how to configure default LACP configuration on the controller:

Switch(config-controller-ProvisionLacpPortType)# setLacpDefaults setLacpDefaultsRequest

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
6
Configuring Link Aggregation Control Protocol (LACP)
Configuring LACP at Port level on the Controller

Switch(config-controller-ProvisionLacpPortType)# setLacpDefaults review


Commands in queue:
setLacpDefaults setLacpDefaultsRequest
Switch(config-controller-ProvisionLacpPortType)# setLacpDefaults commit
SetLacpConfig Commit Success!!!
Switch(config-controller-ProvisionLacpPortType)# exit

Configuring LACP at Port level on the Controller


Before You Begin
• Perform the steps to provision LACP on the Controller. See Provisioning the Controller to Configure
LACP, on page 3.

DETAILED STEPS

Command or Action Purpose


Step 1 setLacpPortConfig {commit | flush | lacpPortConfiguration | Configures LACP at port level.
review}
• commit—Sends the LACP configuration to the
NID.
Example:
• flush—Flushes all LACP configuration from
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortConfig ? the queue.
commit commit setLacpPortConfig
flush flush all setLacpPortConfig • lacpPortConfiguration—Sets LACP
commands from queue configuration at port level on the Controller.
lacpPortConfiguration Set LACP port configuration request

review review setLacpPortConfig commands


• review—Displays the configuration on the NID.

Step 2 setLacpPortConfig lacpPortConfiguration {key key_group | Configures LACP port configuration.


lacpEnable {enable | disable} | portNumber port-num | portPriority
priority-value | role {active | passive} {enable | disable} | timeout • key key_group—Specifies the key or channel
{fast | slow} {enable | disable}} group for LACP aggregation. The valid range
is 0 to 65535.
Example: • lacpEnable —Enables LACP on the interface.
Switch(config-controller-ProvisionLacpPortType)# • enable—Enables LACP configuration.
setLacpPortConfig lacpPortConfiguration key 1
Switch(config-controller-ProvisionLacpPortType)# • disable—Disables LACP configuration.
setLacpPortConfig lacpPortConfiguration lacpEnable enable
Switch(config-controller-ProvisionLacpPortType)# • portNumber port-num—Specifies the targeted
setLacpPortConfig lacpPortConfiguration portNumber 2
Switch(config-controller-ProvisionLacpPortType)# port. The valid range is from 1 to 6.
setLacpPortConfig lacpPortConfiguration role active enable
Switch(config-controller-ProvisionLacpPortType)# • portPriority priority-value—Specifies the
setLacpPortConfig lacpPortConfiguration portPriority 23 LACP priority. The valid range is from 1 to
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortConfig lacpPortConfiguration timeout fast enable 65535.
• role—Sets the activity mode.
• active—Transmits the LACP BPDUs actively.
• passive—Waits for the neighbor before
transmitting.

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
7
Configuring Link Aggregation Control Protocol (LACP)
Configuring LACP at Port level on the Controller

Command or Action Purpose


• timeout—Sets period between BPDU
transmissions.
• fast—Transmits BPDUs every second.
• slow—Transmits BPDUs every 30th second.

Step 3 setLacpPortConfig review Displays the LACP configuration on the Controller.

Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortConfig review
Commands in queue:
setLacpPortConfig lacpPortConfiguration key 3
setLacpPortConfig lacpPortConfiguration lacpEnable
enable
setLacpPortConfig lacpPortConfiguration portNumber
2
setLacpPortConfig lacpPortConfiguration
portPriority 2
setLacpPortConfig lacpPortConfiguration role active
enable
setLacpPortConfig lacpPortConfiguration timeout
fast enable
setLacpPortConfig lacpPortConfiguration key 2
setLacpPortConfig lacpPortConfiguration lacpEnable
enable
setLacpPortConfig lacpPortConfiguration portNumber
2
setLacpPortConfig lacpPortConfiguration role active
enable
setLacpPortConfig lacpPortConfiguration timeout
fast enable

Step 4 setLacpPortConfigcommit Sends the LACP configuration to the NID.

Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortConfig commit

Step 5 exit Exits the LACP provisioning mode.

Example:
Switch(config-controller-ProvisionLacpPortType)# exit

Configuration Example
The example shows LACP port configuration on the Controller:

Switch(config-controller-ProvisionLacpPortType)# setLacpPortConfig lacpPortConfiguration


key 1
Switch(config-controller-ProvisionLacpPortType)# setLacpPortConfig lacpPortConfiguration
lacpEnable enable
Switch(config-controller-ProvisionLacpPortType)# setLacpPortConfig lacpPortConfiguration
portNumber 2
Switch(config-controller-ProvisionLacpPortType)# setLacpPortConfig lacpPortConfiguration

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
8
Configuring Link Aggregation Control Protocol (LACP)
Configuring Default LACP Configuration at Port level on the Controller

role active enable


Switch(config-controller-ProvisionLacpPortType)# setLacpPortConfig lacpPortConfiguration
portPriority 23
Switch(config-controller-ProvisionLacpPortType)# setLacpPortConfig lacpPortConfiguration
timeout fast enable
Switch(config-controller-ProvisionLacpPortType)# setLacpPortConfig review
Commands in queue:
setLacpPortConfig lacpPortConfiguration key 3
setLacpPortConfig lacpPortConfiguration lacpEnable enable
setLacpPortConfig lacpPortConfiguration portNumber 2
setLacpPortConfig lacpPortConfiguration portPriority 2
setLacpPortConfig lacpPortConfiguration role active enable
setLacpPortConfig lacpPortConfiguration timeout fast enable
setLacpPortConfig lacpPortConfiguration key 2
setLacpPortConfig lacpPortConfiguration lacpEnable enable
setLacpPortConfig lacpPortConfiguration portNumber 2
setLacpPortConfig lacpPortConfiguration role active enable
setLacpPortConfig lacpPortConfiguration timeout fast enable
Switch(config-controller-ProvisionLacpPortType)# setLacpPortConfig commit
SetLacpPortConfig Commit Success!!!
Switch(config-controller-ProvisionLacpPortType)# exit

Configuring Default LACP Configuration at Port level on the Controller


The default values for LACP port parameters are:
• lacpEnable: false
• portPriority 32768
• role: active
• timeout: fast

There is no default value for key. Configure a valid value to identify the LACP channel aggregation group.
If no value is set, key value is displayed as 0.

Before You Begin


• Perform the steps to provision LACP on thecontroller . See Provisioning the Controller to Configure
LACP, on page 3.

DETAILED STEPS

Command or Action Purpose


Step 1 setLacpPortDefaults {commit | flush | lacpPhysicalPort Configures default LACP at port level.
port_num| review}
• commit—Sends the LACP configuration to
NID.
Example:
• flush—Flushes all LACP configuration from
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortDefaults ? the queue.
commit commit setLacpPortDefaults
flush flush all setLacpPortDefaults commands • lacpPhysicalPort port_num—Sets LACP
from queue default configuration at port level on the
lacpPhysicalPort Set LACP port default configuration
request controller . The valid ports are 1 to 6.
review review setLacpPortDefaults commands

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
9
Configuring Link Aggregation Control Protocol (LACP)
Clearing LACP Statistics on the Controller

Command or Action Purpose


Switch(config-controller-ProvisionLacpPortType)# • review—Displays the configuration on the
setLacpPortDefaults lacpPhysicalPort 2
controller .

Step 2 setLacpPortDefaults review Displays the LACP configuration on the controller .

Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortDefaults review
Commands in queue:
setLacpPortDefaults lacpPhysicalPort 2

Step 3 setLacpPortDefaults commit Sends the LACP configuration to the NID.

Example:
Switch(config-controller-ProvisionLacpPortType)#
setLacpPortDefaults commit

Step 4 exit Exits the LACP provisioning mode.

Example:
Switch(config-controller-ProvisionLacpPortType)# exit

Configuration Example
The example shows default LACP port configuration on the controller :

Switch(config-controller-ProvisionLacpPortType)# setLacpPortDefaults lacpPhysicalPort 2


Switch(config-controller-ProvisionLacpPortType)# setLacpPortDefaults review
Commands in queue:
setLacpPortDefaults lacpPhysicalPort 2
witch(config-controller-ProvisionLacpPortType)# setLacpPortDefaults commit
SetLacpPortDefaults Commit Success!!!
Switch(config-controller-ProvisionLacpPortType)# exit

Clearing LACP Statistics on the Controller


Before You Begin
• Perform the steps to provision LACP on the Controller. See Provisioning the Controller to Configure
LACP, on page 3.

DETAILED STEPS

Command or Action Purpose


Step 1 clearLacpStats {commit | flush | lacpPhysicalPort port_num| Clears LACP statistics.
review}

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
10
Configuring Link Aggregation Control Protocol (LACP)
Clearing LACP Statistics on the Controller

Command or Action Purpose


• commit—Sends the LACP configuration to
Example: NID.

Switch(config-controller-ProvisionLacpPortType)# • flush—Flushes all LACP configuration from


clearLacpStats ? the queue.
commit commit clearLacpStats
flush flush all clearLacpStats commands • lacpPhysicalPort port_num—Clears the LACP
from queue
lacpPhysicalPort Clear LACP statistics request statistics on a specified port on the Controller.
review review clearLacpStats commands The valid values are 1 to 6.
Switch(config-controller-ProvisionLacpPortType)#
clearLacpStats lacpPhysicalPort 3 • review—Displays the configuration on the
Controller.

Step 2 clearLacpStats review Displays the LACP configuration on the Controller.

Example:
Switch(config-controller-ProvisionLacpPortType)#
clearLacpStats review
Commands in queue:
clearLacpStats lacpPhysicalPort 3

Step 3 clearLacpStats commit Sends the LACP configuration to the NID.

Example:
Switch(config-controller-ProvisionLacpPortType)#
clearLacpStats commit

Step 4 exit Exits the LACP provisioning mode.

Example:
Switch(config-controller-ProvisionLacpPortType)# exit

Configuration Example
The example clears the LACP statistics on port 3 on the Controller:

Switch(config-controller-ProvisionLacpPortType)# clearLacpStats lacpPhysicalPort 3


Switch(config-controller-ProvisionLacpPortType)# clearLacpStats review
Commands in queue:
clearLacpStats lacpPhysicalPort 3
Switch(config-controller-ProvisionLacpPortType)# clearLacpStats commit
ClearLacpStats_Output.clearLacpStatsResponse = 0

ClearLacpStats Commit Success!!!


Switch(config-controller-ProvisionLacpPortType)# exit

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
11
Configuring Link Aggregation Control Protocol (LACP)
Negating LACP Configuration and Restoring Defaults

Negating LACP Configuration and Restoring Defaults


Before You Begin
• Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure
LACP, on page 3.

DETAILED STEPS

Command or Action Purpose


Step 1 no ? Negates the commands and sets
the default configuration.
Example:
Switch(config-controller-ProvisionLacpPortType)# no ?

clearLacpStats Clear LACP statistics request


exit Exit from ProvisionLacpPortType sub configuration mode
getLacpConfig Get LACP configuration request
getLacpDefaults Get LACP default configuration request
getLacpPortConfig Get LACP port configuration request
getLacpPortDefaults Get LACP port default configuration request
setLacpConfig Set LACP configuration request
setLacpDefaults Set LACP default configuration request
setLacpPortConfig Set LACP port configuration request
setLacpPortDefaults Set LACP port default configuration request
showLacpAggLB Show LACP load balance request
showLacpInternal Show LACP internal request
showLacpNeighbors Show LACP neighbor status request
showLacpStats Show LACP statistics request
showLacpSysId Show LACP system-id request

Step 2 exit Exits the LACP provisioning


mode.
Example:
Switch(config-controller-ProvisionLacpPortType)# exit

Viewing the Global LACP Configuration on the controller


Before You Begin
• Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure
LACP, on page 3.

DETAILED STEPS

Command or Action Purpose


Step 1 getLacpConfig {commit | flush | getLacpConfigRequest | review} Retrieve the global LACP configuration.

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
12
Configuring Link Aggregation Control Protocol (LACP)
Viewing the Global LACP Configuration on the controller

Command or Action Purpose


• commit—Sends the LACP configuration to
Example: NID.

Switch(config-controller-ProvisionLacpPortType)# • flush—Flushes all LACP configuration from


getLacpConfig ? the queue.
commit commit getLacpConfig
flush flush all getLacpConfig commands • getLacpConfigRequest—Retrieves the
from queue
getLacpConfigRequest Get LACP configuration request configured global LACP configuration on the
review review getLacpConfig commands controller .
commit commit getLacpConfig
Switch(config-controller-ProvisionLacpPortType)# • review—Displays the configuration on the
getLacpConfig getLacpConfigRequest
controller .

Step 2 getLacpConfig review Displays the LACP configuration on the controller


.
Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpConfig review
Commands in queue:
getLacpConfig getLacpConfigRequest
getLacpConfig getLacpConfigRequest

Step 3 getLacpConfig commit Sends the LACP configuration to the NID.

Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpConfig commit

Step 4 exit Exits the LACP provisioning mode.

Example:
Switch(config-controller-ProvisionLacpPortType)# exit

Configuration Example
The example retrieves the global LACP configuration on the controller :

Switch(config-controller-ProvisionLacpPortType)# getLacpConfig getLacpConfigRequest


Switch(config-controller-ProvisionLacpPortType)# getLacpConfig review
Commands in queue:
getLacpConfig getLacpConfigRequest
getLacpConfig getLacpConfigRequest
Switch(config-controller-ProvisionLacpPortType)# getLacpConfig commit
GetLacpConfig_Output.lacpGlobalConfiguration.systemPrio = 32768
GetLacpConfig_Output.lacpGlobalConfiguration.lacpGlobalState = true
GetLacpConfig Commit Success!!!
Switch(config-controller-ProvisionLacpPortType)# exit

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
13
Configuring Link Aggregation Control Protocol (LACP)
Viewing the Default LACP Configuration on the controller

Viewing the Default LACP Configuration on the controller


Before You Begin
• Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure
LACP, on page 3.

DETAILED STEPS

Command or Action Purpose


Step 1 getLacpDefaults {commit | flush | getLacpDefaultsRequest | Retrieves the default LACP configuration.
review}
• commit—Sends the LACP configuration to
NID.
Example:
• flush—Flushes all LACP configuration from
Switch(config-controller-ProvisionLacpPortType)#
getLacpDefaults ? the queue.
commit commit getLacpDefaults
flush flush all getLacpDefaults • getLacpDefaultsRequest—Retrieves the
commands from queue default LACP configuration on the controller
getLacpDefaultsRequest Get LACP default configuration
request .
review review getLacpDefaults commands
Switch(config-controller-ProvisionLacpPortType)# • review—Displays the configuration on the
getLacpDefaults getLacpDefaultsRequest controller .

Step 2 getLacpDefaults review Displays the LACP configuration on the controller


.
Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpDefaults review
Commands in queue:
getLacpDefaults getLacpDefaultsRequest

Step 3 getLacpDefaults commit Sends the LACP configuration to the NID.

Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpDefaults commit

Step 4 exit Exits the LACP provisioning mode.

Example:
Switch(config-controller-ProvisionLacpPortType)# exit

Configuration Example
The example retrieves the default LACP configuration on the controller :

Switch(config-controller-ProvisionLacpPortType)# getLacpDefaults getLacpDefaultsRequest

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
14
Configuring Link Aggregation Control Protocol (LACP)
Viewing the LACP Configuration at Port Level on the Controller

Switch(config-controller-ProvisionLacpPortType)# getLacpDefaults review


Commands in queue:
getLacpDefaults getLacpDefaultsRequest
Switch(config-controller-ProvisionLacpPortType)# getLacpDefaults commit
GetLacpDefaults_Output.lacpGlobalConfiguration.systemPrio = 32768
GetLacpDefaults_Output.lacpGlobalConfiguration.lacpGlobalState = true

GetLacpDefaults Commit Success!!!


Switch(config-controller-ProvisionLacpPortType)# exit

Viewing the LACP Configuration at Port Level on the Controller


Before You Begin
• Perform the steps to provision LACP on the Controller. See Provisioning the Controller to Configure
LACP, on page 3.

DETAILED STEPS

Command or Action Purpose


Step 1 getLacpPortConfig {commit | flush | lacpPhysicalPort port_num Retrieves the LACP configuration at port.
| review}
• commit—Sends the LACP configuration to
NID.
Example:
• flush—Flushes all LACP configuration from
Switch(config-controller-ProvisionLacpPortType)#
getLacpPortConfig ? the queue.
commit commit getLacpPortConfig
flush flush all getLacpPortConfig commands • lacpPhysicalPort port_num—Retrieves the
from queue LACP configuration for specified port on the
lacpPhysicalPort Get LACP port configuration request
Controller. The valid values are 1 to 6.
review review getLacpPortConfig commands
Switch(config-controller-ProvisionLacpPortType)# • review—Displays the configuration on the
getLacpPortConfig lacpPhysicalPort 1 Controller.

Step 2 getLacpPortConfig review Displays the LACP configuration on the Controller.

Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpPortConfig review
Commands in queue:
getLacpPortConfig lacpPhysicalPort 1

Step 3 getLacpPortConfig commit Sends the LACP configuration to the NID.

Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpPortConfig commit

Step 4 exit Exits the LACP provisioning mode.

Example:
Switch(config-controller-ProvisionLacpPortType)# exit

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
15
Configuring Link Aggregation Control Protocol (LACP)
Viewing the Default LACP Configuration at Port Level on the controller

Configuration Example
The example retrieves the LACP configuration for port 1 on the Controller:

Switch(config-controller-ProvisionLacpPortType)# getLacpPortConfig lacpPhysicalPort 1


Switch(config-controller-ProvisionLacpPortType)# getLacpPortConfig review
Commands in queue:
getLacpPortConfig lacpPhysicalPort 1
Switch(config-controller-ProvisionLacpPortType)# getLacpPortConfig commit
GetLacpPortConfig_Output.lacpPortConfiguration.portNumber = 1
GetLacpPortConfig_Output.lacpPortConfiguration.lacpEnable = false
GetLacpPortConfig_Output.lacpPortConfiguration.key = 1
GetLacpPortConfig_Output.lacpPortConfiguration.role.t = 1
GetLacpPortConfig_Output.lacpPortConfiguration.role.u.active = true
GetLacpPortConfig_Output.lacpPortConfiguration.portPriority = 32768
GetLacpPortConfig_Output.lacpPortConfiguration.timeout.t = 1
GetLacpPortConfig_Output.lacpPortConfiguration.timeout.u.fast = true

GetLacpPortConfig Commit Success!!!


Switch(config-controller-ProvisionLacpPortType)# exit

Viewing the Default LACP Configuration at Port Level on the controller


Before You Begin
• Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure
LACP, on page 3.

DETAILED STEPS

Command or Action Purpose


Step 1 getLacpPortDefaults {commit | flush | lacpPhysicalPort Retrieve the LACP configuration at port.
port_num | review}
• commit—Sends the LACP configuration to
NID.
Example:
• flush—Flushes all LACP configuration from
Switch(config-controller-ProvisionLacpPortType)#
getLacpPortDefaults ? the queue.
commit commit getLacpPortDefaults
flush flush all getLacpPortDefaults • lacpPhysicalPort port_num—Retrieves the
commands from queue default LACP configuration for specified port
lacpPhysicalPort Get LACP port default configuration
request on the controller . The valid values are 1 to 6.
review review getLacpPortDefaults commands
Switch(config-controller-ProvisionLacpPortType)# • review—Displays the configuration on the
getLacpPortDefaults lacpPhysicalPort 1 controller .

Step 2 getLacpPortDefaults review Displays the LACP configuration on the controller .

Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpPortDefaults review

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
16
Configuring Link Aggregation Control Protocol (LACP)
Verifying LACP

Command or Action Purpose


Commands in queue:
getLacpPortDefaults lacpPhysicalPort 1

Step 3 getLacpPortDefaults commit Sends the LACP configuration to the NID.

Example:
Switch(config-controller-ProvisionLacpPortType)#
getLacpPortDefaults commit

Step 4 exit Exits the LACP provisioning mode.

Example:
Switch(config-controller-ProvisionLacpPortType)# exit

Configuration Example
The example retrieves the default LACP configuration for port 1 on the controller :

Switch(config-controller-ProvisionLacpPortType)# getLacpPortDefaults lacpPhysicalPort 1


Switch(config-controller-ProvisionLacpPortType)# getLacpPortDefaults review
Commands in queue:
getLacpPortDefaults lacpPhysicalPort 1
Switch(config-controller-ProvisionLacpPortType)# getLacpPortDefaults commit
GetLacpPortDefaults_Output.lacpPortConfiguration.portNumber = 1
GetLacpPortDefaults_Output.lacpPortConfiguration.lacpEnable = false
GetLacpPortDefaults_Output.lacpPortConfiguration.key = 0
GetLacpPortDefaults_Output.lacpPortConfiguration.role.t = 1
GetLacpPortDefaults_Output.lacpPortConfiguration.role.u.active = true
GetLacpPortDefaults_Output.lacpPortConfiguration.portPriority = 32768
GetLacpPortDefaults_Output.lacpPortConfiguration.timeout.t = 1
GetLacpPortDefaults_Output.lacpPortConfiguration.timeout.u.fast = true

GetLacpPortDefaults Commit Success!!!


Switch(config-controller-ProvisionLacpPortType)# exit

Note NOTE: You must explicitly configure a key value. The default value for key retrieved is 0 until it is set
to a value using the setLacpPortConfig operation.

Verifying LACP

Viewing the LACP System ID Information on the controller


Before You Begin
• Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure
LACP, on page 3.

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
17
Configuring Link Aggregation Control Protocol (LACP)
Viewing the LACP System ID Information on the controller

DETAILED STEPS

Command or Action Purpose


Step 1 showLacpSysId {commit | flush | showLacpSysIdRequest | Displays the LACP system ID information.
review}
• commit—Sends the LACP configuration to
NID.
Example:
• flush—Flushes all LACP configuration from
Switch(config-controller-ProvisionLacpPortType)#
showLacpSysId ? the queue.
commit commit showLacpSysId
flush flush all showLacpSysId commands • showLacpSysIdRequest—Displays the LACP
from queue system ID information on the controller .
review review showLacpSysId commands
showLacpSysIdRequest Show LACP system-id request
Switch(config-controller-ProvisionLacpPortType)#
• review—Displays the configuration on the
showLacpSysId showLacpSysIdRequest controller .

Step 2 showLacpSysId review Displays the LACP configuration on the controller


.
Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpSysId review
Commands in queue:
showLacpSysId showLacpSysIdRequest
showLacpSysId showLacpSysIdRequest

Step 3 showLacpSysId commit Sends the LACP configuration to the NID.

Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpAggLB commit

Step 4 exit Exits the LACP provisioning mode.

Example:
Switch(config-controller-ProvisionLacpPortType)# exit

Configuration Example
The example displays the LACP system ID information on the controller :

Switch(config-controller-ProvisionLacpPortType)# showLacpSysId showLacpSysIdRequest


Commands in queue:
showLacpSysId showLacpSysIdRequest
showLacpSysId showLacpSysIdRequest
Switch(config-controller-ProvisionLacpPortType)# showLacpSysId commit
ShowLacpSysId_Output.showLacpSysIdResponse.systemId = 'b8-38-61-68-7b-bc'
ShowLacpSysId_Output.showLacpSysIdResponse.systemPriority = 32768

ShowLacpSysId Commit Success!!!


Switch(config-controller-ProvisionLacpPortType)# exit

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
18
Configuring Link Aggregation Control Protocol (LACP)
Viewing the LACP Load Balance Information on the controller

Viewing the LACP Load Balance Information on the controller


Before You Begin
• Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure
LACP, on page 3.

DETAILED STEPS

Command or Action Purpose


Step 1 showLacpAggLB {commit | flush | showLacpAggLBRequest Displays LACP load balance information.
| review}
• commit—Sends the LACP configuration to
NID.
Example:
• flush—Flushes all LACP configuration from
Switch(config-controller-ProvisionLacpPortType)#
showLacpAggLB ? the queue.
commit commit showLacpAggLB
flush flush all showLacpAggLB commands • showLacpAggLBRequest—Displays the
from queue LACP load balance information on the
review review showLacpAggLB commands
showLacpAggLBRequest Show LACP load balance request controller .
Switch(config-controller-ProvisionLacpPortType)#
showLacpAggLB showLacpAggLBRequest • review—Displays the configuration on the
controller .

Step 2 showLacpAggLB review Displays the LACP configuration on the controller .

Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpAggLB review
Commands in queue:
showLacpAggLB showLacpAggLBRequest

Step 3 showLacpAggLB commit Sends the LACP configuration to the NID.

Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpAggLB commit

Step 4 exit Exits the LACP provisioning mode.

Example:
Switch(config-controller-ProvisionLacpPortType)# exit

Configuration Example
The example displays the LACP load balance information on the controller :

Switch(config-controller-ProvisionLacpPortType)# showLacpAggLB showLacpAggLBRequest

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
19
Configuring Link Aggregation Control Protocol (LACP)
Viewing the LACP Internal State Information on the controller

Switch(config-controller-ProvisionLacpPortType)# showLacpAggLB review


Commands in queue:
showLacpAggLB showLacpAggLBRequest
Switch(config-controller-ProvisionLacpPortType)# showLacpAggLB commit
ShowLacpAggLB_Output.lacpAggLBMode.smac_enable = true
ShowLacpAggLB_Output.lacpAggLBMode.dmac_enable = false
ShowLacpAggLB_Output.lacpAggLBMode.ip_enable = true
ShowLacpAggLB_Output.lacpAggLBMode.port_enable = true

ShowLacpAggLB Commit Success!!!


Switch(config-controller-ProvisionLacpPortType)# exit

Viewing the LACP Internal State Information on the controller


Before You Begin
• Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure
LACP, on page 3.

DETAILED STEPS

Command or Action Purpose


Step 1 showLacpInternal {commit | flush | lacpPhysicalPort port_num Displays LACP internal state information.
| review}
• commit—Sends the LACP configuration to
NID.
Example:
• flush—Flushes all LACP configuration from
Switch(config-controller-ProvisionLacpPortType)#
showLacpInternal ? the queue.
commit commit showLacpInternal
flush flush all showLacpInternal commands • lacpPhysicalPortport_num—Displays the
from queue LACP internal state information for specified
lacpPhysicalPort Show LACP internal request
review review showLacpInternal commands port on the controller .
Switch(config-controller-ProvisionLacpPortType)#
showLacpInternal lacpPhysicalPort 2 • review—Displays the configuration on the
controller .

Step 2 showLacpInternal review Displays the LACP configuration on the controller


.
Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpInternal review
Commands in queue:
showLacpNeighbors lacpPhysicalPort 1
showLacpInternal lacpPhysicalPort 1

Step 3 showLacpInternal commit Sends the LACP configuration to the NID.

Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpInternal commit

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
20
Configuring Link Aggregation Control Protocol (LACP)
Viewing the LACP Internal State Information on the controller

Command or Action Purpose


Step 4 exit Exits the LACP provisioning mode.

Example:
Switch(config-controller-ProvisionLacpPortType)# exit

Configuration Example
The example displays the LACP internal state information on the controller :

Switch(config-controller-ProvisionLacpPortType)# showLacpInternal lacpPhysicalPort 2


Switch(config-controller-ProvisionLacpPortType)# showLacpInternal review
Commands in queue:
showLacpNeighbors lacpPhysicalPort 1
showLacpInternal lacpPhysicalPort 1
Switch(config-controller-ProvisionLacpPortType)# showLacpInternal commit
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].portNumber =1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].mode = false
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].key = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].role = true
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].timeout = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].portPriority= 32768
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].adminKey = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].operKey = 3
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[0].collectorMaxDelay = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].portNumber =2
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].mode = false
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].key = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].role = true
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].timeout = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].portPriority= 26733
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].adminKey = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].operKey = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[1].collectorMaxDelay = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].portNumber =3
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].mode = false
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].key = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].role = true
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].timeout = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].portPriority= 32768
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].adminKey = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].operKey = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[2].collectorMaxDelay = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].portNumber =4
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].mode = false
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].key = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].role = true
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].timeout = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].portPriority= 32768
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].adminKey = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].operKey = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[3].collectorMaxDelay = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].portNumber =5
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].mode = false
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].key = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].role = true
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].timeout = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].portPriority= 32768
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].adminKey = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].operKey = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[4].collectorMaxDelay = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].portNumber =6
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].mode = false

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
21
Configuring Link Aggregation Control Protocol (LACP)
Viewing the LACP Neighbors Status Information on the controller

ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].key = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].role = true
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].timeout = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].portPriority= 32768
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].adminKey = 0
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].operKey = 1
ShowLacpInternal_Output.lacpPortInternals.lacpPortInternalslist[5].collectorMaxDelay = 0

ShowLacpInternal Commit Success!!!


Switch(config-controller-ProvisionLacpPortType)# exit

Viewing the LACP Neighbors Status Information on the controller


Before You Begin
• Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure
LACP, on page 3.

DETAILED STEPS

Command or Action Purpose


Step 1 showLacpNeighbors {commit | flush | lacpPhysicalPort Displays LACP neighbor state information.
port_num | review}
• commit—Sends the LACP configuration to
NID.
Example:
• flush—Flushes all LACP configuration from
Switch(config-controller-ProvisionLacpPortType)#
showLacpNeighbors ? the queue.
commit commit showLacpNeighbors
flush flush all showLacpNeighbors commands • lacpPhysicalPortport_num—Displays the
from queue LACP neighbors information for specified port
lacpPhysicalPort Show LACP neighbor status request
review review showLacpNeighbors commands on the controller .
Switch(config-controller-ProvisionLacpPortType)#
showLacpNeighbors lacpPhysicalPort 2 • review—Displays the configuration on the
controller .

Step 2 showLacpNeighbors review Displays the LACP configuration on the controller .

Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpNeighbors review
Commands in queue:
showLacpNeighbors lacpPhysicalPort 2

Step 3 showLacpNeighbors commit Sends the LACP configuration to the NID.

Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpNeighbors commit

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
22
Configuring Link Aggregation Control Protocol (LACP)
Viewing the LACP Statistics on the controller

Command or Action Purpose


Step 4 exit Exits the LACP provisioning mode.

Example:
Switch(config-controller-ProvisionLacpPortType)# exit

Configuration Example
The example displays the LACP neighbors status information on the controller :

Switch(config-controller-ProvisionLacpPortType)# showLacpNeighbors lacpPhysicalPort 2


Switch(config-controller-ProvisionLacpPortType)# showLacpNeighbors review
Commands in queue:
showLacpNeighbors lacpPhysicalPort 2
Switch(config-controller-ProvisionLacpPortType)# showLacpNeighbors commit
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].aggrID = 1
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].partnerSysId =
'00-3a-99-fd-4a-44'
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].partnerPort = 3
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].partnerPortPriority
= 32768
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].partnerSysPriority =
32768
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].partnerOperKey = 3
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].aggrProtocolType =
'LACP'
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].bandwidth = 0
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[0].aggrMacAddr =
'00-3a-99-fd-4a-3b'
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].aggrID = 1
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].partnerSysId =
'00-3a-99-fd-4a-44'
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].partnerPort = 6
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].partnerPortPriority
= 32768
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].partnerSysPriority =
32768
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].partnerOperKey = 3
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].aggrProtocolType =
'LACP'
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].bandwidth = 0
ShowLacpNeighbors_Output.lacpNeighborStatus.lacpNeighborStatusList[1].aggrMacAddr =
'00-3a-99-fd-4a-3e'

ShowLacpNeighbors Commit Success!!!


Switch(config-controller-ProvisionLacpPortType)# exit

Viewing the LACP Statistics on the controller


Before You Begin
• Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure
LACP, on page 3.

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
23
Configuring Link Aggregation Control Protocol (LACP)
Viewing the LACP Statistics on the controller

DETAILED STEPS

Command or Action Purpose


Step 1 showLacpStats {commit | flush | lacpPhysicalPort port_num | Displays the LACP statistics.
review}
• commit—Sends the LACP configuration.
Example: • flush—Flushes all LACP configuration from
the queue.
Switch(config-controller-ProvisionLacpPortType)#
showLacpStats ? • lacpPhysicalPortport_num—Displays the
commit commit showLacpStats
flush flush all showLacpStats commands from LACP statistics for specified port on the
queue controller .
lacpPhysicalPort Show LACP statistics request
review review showLacpStats commands
Switch(config-controller-ProvisionLacpPortType)#
• review—Displays the configuration on the
showLacpStats lacpPhysicalPort 2 controller .

Step 2 showLacpStats review Displays the LACP configuration on the controller


.
Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpStats review
Commands in queue:
showLacpStats lacpPhysicalPort 1
showLacpStats lacpPhysicalPort 2

Step 3 showLacpStats commit Sends the LACP configuration to the NID.

Example:
Switch(config-controller-ProvisionLacpPortType)#
showLacpStats commit

Step 4 exit Exits the LACP provisioning mode.

Example:
Switch(config-controller-ProvisionLacpPortType)# exit

Configuration Example
The example displays the LACP statistics on the controller :

Switch(config-controller-ProvisionLacpPortType)# showLacpStats lacpPhysicalPort 2


Switch(config-controller-ProvisionLacpPortType)# showLacpStats review
Commands in queue:
showLacpStats lacpPhysicalPort 1
showLacpStats lacpPhysicalPort 2
Switch(config-controller-ProvisionLacpPortType)# showLacpStats commit
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[0].rxUnknown = 0
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[0].port = 3
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[0].rxFrames = 17866
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[0].txFrames = 12527
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[0].rxIllegal = 0
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[1].rxUnknown = 0
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[1].port = 6

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
24
Configuring Link Aggregation Control Protocol (LACP)
Viewing the LACP Statistics on the controller

ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[1].rxFrames = 17244
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[1].txFrames = 12132
ShowLacpStats_Output.lacpPortStatistics.lacpPortStatsList[1].rxIllegal = 0

ShowLacpStats Commit Success!!!


Switch(config-controller-ProvisionLacpPortType)# exit

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN and
Later Releases
25
Configuring Link Aggregation Control Protocol (LACP)
Viewing the LACP Statistics on the controller

Cisco ME 1200 Series Carrier Ethernet Access Devices Controller Configuration Guide, Cisco IOS 15.6(1)SN
and Later Releases
26

You might also like