- Preface
- Configuration Management
- Administering the Cisco ME 1200 NID
- Configuring Notifications
- Zero Touch Provisioning
- Configuring Synchronous Ethernet
- Configuring Ethernet Virtual Connections
- Configuring Switch Ports
- Configuring Spanning-Tree Protocol
- Configuring Link Aggregation Control Protocol (LACP)
- Provisioning Link Layer Discovery Protocol
- Configuring SNMP
- Configuring PTP
- Configuring ACLs
- Configuring Quality of Service (QoS)
- Configuring Ethernet OAM, Link OAM, and CFM
- Configuring Performance Monitoring
- Configuring EPS
- Configuring ERPS
- Configuring L2CP
- Configuring MAC Security
- Configuring NTP
- Configuring Storm Control
- Configuring Syslog
- Configuring Dedicated Debug Shell
- Configuring SPAN
- Configuring RSPAN
- Configuring RFC 2544
- Configuring sFlow
- Configuring UDLD
- Configuring Flex Links
- Configuring Y.1564
- Configuring LST
- Configuring Security Access Control Lists
- Multicast Vlan Register
- Double-tagged management VLAN using IVID parameter
- Configuring LAG Aggregation
- Information About LACP
- How to Configure LACP
- Provisioning the Controller to Configure LACP
- Configuring LACP Globally on the Controller
- Configuring LACP Defaults Globally on the Controller
- Configuring LACP at Port level on the Controller
- Configuring Default LACP Configuration at Port level on the Controller
- Clearing LACP Statistics on the Controller
- Negating LACP Configuration and Restoring Defaults
- Viewing the Global LACP Configuration on the controller
- Viewing the Default LACP Configuration on the controller
- Viewing the LACP Configuration at Port Level on the Controller
- Viewing the Default LACP Configuration at Port Level on the controller
- Verifying LACP
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
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.
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:
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.
How to Configure LACP
Provisioning the Controller to Configure LACP
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
-
Perform the steps to provision LACP on the controller. See Provisioning the Controller to Configure LACP.
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
Configuring LACP Defaults Globally on the Controller
-
Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure LACP.
Configuration Example
The example how to configure default LACP configuration on the controller:
Switch(config-controller-ProvisionLacpPortType)# setLacpDefaults setLacpDefaultsRequest 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
-
Perform the steps to provision LACP on the Controller. See Provisioning the Controller to Configure LACP.
Command or Action | Purpose | |
---|---|---|
Step 1 | setLacpPortConfig {commit |
flush
|
lacpPortConfiguration |
review}
Example:
Switch(config-controller-ProvisionLacpPortType)# setLacpPortConfig ?
commit commit setLacpPortConfig
flush flush all setLacpPortConfig commands from queue
lacpPortConfiguration Set LACP port configuration request
review review setLacpPortConfig commands
| Configures LACP at port level. |
Step 2 |
setLacpPortConfig
lacpPortConfiguration {key
key_group |
lacpEnable {enable |
disable} |
portNumber
port-num |
portPriority
priority-value |
role
{active
|
passive} {enable |
disable} |
timeout {fast |
slow}
{enable |
disable}}
Example: 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 role active enable Switch(config-controller-ProvisionLacpPortType)# setLacpPortConfig lacpPortConfiguration portPriority 23 Switch(config-controller-ProvisionLacpPortType)# setLacpPortConfig lacpPortConfiguration timeout fast enable | Configures
LACP port configuration.
|
Step 3 | setLacpPortConfig
review
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
|
Displays the LACP configuration on the Controller. |
Step 4 | setLacpPortConfigcommit
Example:
Switch(config-controller-ProvisionLacpPortType)# setLacpPortConfig commit
|
Sends the LACP configuration to the NID. |
Step 5 | exit
Example: Switch(config-controller-ProvisionLacpPortType)# exit
|
Exits the LACP provisioning mode. |
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 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
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.
-
Perform the steps to provision LACP on thecontroller . See Provisioning the Controller to Configure LACP.
Command or Action | Purpose | |
---|---|---|
Step 1 | setLacpPortDefaults
{commit |
flush
|
lacpPhysicalPort
port_num|
review}
Example: Switch(config-controller-ProvisionLacpPortType)# setLacpPortDefaults ? commit commit setLacpPortDefaults flush flush all setLacpPortDefaults commands from queue lacpPhysicalPort Set LACP port default configuration request review review setLacpPortDefaults commands Switch(config-controller-ProvisionLacpPortType)# setLacpPortDefaults lacpPhysicalPort 2 |
Configures default LACP at port level. |
Step 2 | setLacpPortDefaults
review
Example:
Switch(config-controller-ProvisionLacpPortType)# setLacpPortDefaults review
Commands in queue:
setLacpPortDefaults lacpPhysicalPort 2
|
Displays the LACP configuration on the controller . |
Step 3 | setLacpPortDefaults
commit
Example:
Switch(config-controller-ProvisionLacpPortType)# setLacpPortDefaults commit
|
Sends the LACP configuration to the NID. |
Step 4 | exit
Example: Switch(config-controller-ProvisionLacpPortType)# exit
|
Exits the LACP provisioning mode. |
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
-
Perform the steps to provision LACP on the Controller. See Provisioning the Controller to Configure LACP.
Command or Action | Purpose | |
---|---|---|
Step 1 | clearLacpStats {commit |
flush
|
lacpPhysicalPort
port_num|
review}
Example: Switch(config-controller-ProvisionLacpPortType)# clearLacpStats ? commit commit clearLacpStats flush flush all clearLacpStats commands from queue lacpPhysicalPort Clear LACP statistics request review review clearLacpStats commands Switch(config-controller-ProvisionLacpPortType)# clearLacpStats lacpPhysicalPort 3 |
Clears LACP statistics. |
Step 2 | clearLacpStats
review
Example:
Switch(config-controller-ProvisionLacpPortType)# clearLacpStats review
Commands in queue:
clearLacpStats lacpPhysicalPort 3
|
Displays the LACP configuration on the Controller. |
Step 3 | clearLacpStats
commit
Example:
Switch(config-controller-ProvisionLacpPortType)# clearLacpStats commit
|
Sends the LACP configuration to the NID. |
Step 4 | exit
Example: Switch(config-controller-ProvisionLacpPortType)# exit
|
Exits the LACP provisioning mode. |
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
Negating LACP Configuration and Restoring Defaults
-
Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure LACP.
Command or Action | Purpose | |
---|---|---|
Step 1 |
no
?
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
|
Negates the commands and sets the default configuration. |
Step 2 | exit
Example: Switch(config-controller-ProvisionLacpPortType)# exit
|
Exits the LACP provisioning mode. |
Viewing the Global LACP Configuration on the controller
-
Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure LACP.
Command or Action | Purpose | |
---|---|---|
Step 1 | getLacpConfig {commit |
flush
|
getLacpConfigRequest |
review}
Example: Switch(config-controller-ProvisionLacpPortType)# getLacpConfig ? commit commit getLacpConfig flush flush all getLacpConfig commands from queue getLacpConfigRequest Get LACP configuration request review review getLacpConfig commands commit commit getLacpConfig Switch(config-controller-ProvisionLacpPortType)# getLacpConfig getLacpConfigRequest |
Retrieve the global LACP configuration. |
Step 2 | getLacpConfig
review
Example:
Switch(config-controller-ProvisionLacpPortType)# getLacpConfig review
Commands in queue:
getLacpConfig getLacpConfigRequest
getLacpConfig getLacpConfigRequest
|
Displays the LACP configuration on the controller . |
Step 3 | getLacpConfig
commit
Example:
Switch(config-controller-ProvisionLacpPortType)# getLacpConfig commit
|
Sends the LACP configuration to the NID. |
Step 4 | exit
Example: Switch(config-controller-ProvisionLacpPortType)# exit
|
Exits the LACP provisioning mode. |
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
Viewing the Default LACP Configuration on the controller
-
Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure LACP.
Command or Action | Purpose | |
---|---|---|
Step 1 | getLacpDefaults {commit |
flush
|
getLacpDefaultsRequest |
review}
Example: Switch(config-controller-ProvisionLacpPortType)# getLacpDefaults ? commit commit getLacpDefaults flush flush all getLacpDefaults commands from queue getLacpDefaultsRequest Get LACP default configuration request review review getLacpDefaults commands Switch(config-controller-ProvisionLacpPortType)# getLacpDefaults getLacpDefaultsRequest |
Retrieves the default LACP configuration. |
Step 2 | getLacpDefaults
review
Example:
Switch(config-controller-ProvisionLacpPortType)# getLacpDefaults review
Commands in queue:
getLacpDefaults getLacpDefaultsRequest
|
Displays the LACP configuration on the controller . |
Step 3 | getLacpDefaults
commit
Example:
Switch(config-controller-ProvisionLacpPortType)# getLacpDefaults commit
|
Sends the LACP configuration to the NID. |
Step 4 | exit
Example: Switch(config-controller-ProvisionLacpPortType)# exit
|
Exits the LACP provisioning mode. |
Configuration Example
The example retrieves the default LACP configuration on the controller :
Switch(config-controller-ProvisionLacpPortType)# getLacpDefaults getLacpDefaultsRequest 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
-
Perform the steps to provision LACP on the Controller. See Provisioning the Controller to Configure LACP.
Command or Action | Purpose | |
---|---|---|
Step 1 | getLacpPortConfig {commit |
flush
|
lacpPhysicalPort
port_num |
review}
Example: Switch(config-controller-ProvisionLacpPortType)# getLacpPortConfig ? commit commit getLacpPortConfig flush flush all getLacpPortConfig commands from queue lacpPhysicalPort Get LACP port configuration request review review getLacpPortConfig commands Switch(config-controller-ProvisionLacpPortType)# getLacpPortConfig lacpPhysicalPort 1 |
Retrieves the LACP configuration at port. |
Step 2 | getLacpPortConfig
review
Example:
Switch(config-controller-ProvisionLacpPortType)# getLacpPortConfig review
Commands in queue:
getLacpPortConfig lacpPhysicalPort 1
|
Displays the LACP configuration on the Controller. |
Step 3 | getLacpPortConfig
commit
Example:
Switch(config-controller-ProvisionLacpPortType)# getLacpPortConfig commit
|
Sends the LACP configuration to the NID. |
Step 4 | exit
Example: Switch(config-controller-ProvisionLacpPortType)# exit
|
Exits the LACP provisioning mode. |
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
-
Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure LACP.
Command or Action | Purpose | |
---|---|---|
Step 1 | getLacpPortDefaults
{commit |
flush
|
lacpPhysicalPort
port_num |
review}
Example: Switch(config-controller-ProvisionLacpPortType)# getLacpPortDefaults ? commit commit getLacpPortDefaults flush flush all getLacpPortDefaults commands from queue lacpPhysicalPort Get LACP port default configuration request review review getLacpPortDefaults commands Switch(config-controller-ProvisionLacpPortType)# getLacpPortDefaults lacpPhysicalPort 1 |
Retrieve the LACP configuration at port. |
Step 2 | getLacpPortDefaults
review
Example:
Switch(config-controller-ProvisionLacpPortType)# getLacpPortDefaults review
Commands in queue:
getLacpPortDefaults lacpPhysicalPort 1
|
Displays the LACP configuration on the controller . |
Step 3 | getLacpPortDefaults
commit
Example:
Switch(config-controller-ProvisionLacpPortType)# getLacpPortDefaults commit
|
Sends the LACP configuration to the NID. |
Step 4 | exit
Example: Switch(config-controller-ProvisionLacpPortType)# exit
|
Exits the LACP provisioning mode. |
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
-
Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure LACP.
Command or Action | Purpose | |
---|---|---|
Step 1 | showLacpSysId {commit |
flush
|
showLacpSysIdRequest |
review}
Example: Switch(config-controller-ProvisionLacpPortType)# showLacpSysId ? commit commit showLacpSysId flush flush all showLacpSysId commands from queue review review showLacpSysId commands showLacpSysIdRequest Show LACP system-id request Switch(config-controller-ProvisionLacpPortType)# showLacpSysId showLacpSysIdRequest |
Displays the LACP system ID information. |
Step 2 | showLacpSysId
review
Example:
Switch(config-controller-ProvisionLacpPortType)# showLacpSysId review
Commands in queue:
showLacpSysId showLacpSysIdRequest
showLacpSysId showLacpSysIdRequest
|
Displays the LACP configuration on the controller . |
Step 3 | showLacpSysId
commit
Example:
Switch(config-controller-ProvisionLacpPortType)# showLacpAggLB commit
|
Sends the LACP configuration to the NID. |
Step 4 | exit
Example: Switch(config-controller-ProvisionLacpPortType)# exit
|
Exits the LACP provisioning mode. |
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
Viewing the LACP Load Balance Information on the controller
-
Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure LACP.
Command or Action | Purpose | |
---|---|---|
Step 1 | showLacpAggLB {commit |
flush
|
showLacpAggLBRequest |
review}
Example: Switch(config-controller-ProvisionLacpPortType)# showLacpAggLB ? commit commit showLacpAggLB flush flush all showLacpAggLB commands from queue review review showLacpAggLB commands showLacpAggLBRequest Show LACP load balance request Switch(config-controller-ProvisionLacpPortType)# showLacpAggLB showLacpAggLBRequest |
Displays LACP load balance information. |
Step 2 | showLacpAggLB
review
Example:
Switch(config-controller-ProvisionLacpPortType)# showLacpAggLB review
Commands in queue:
showLacpAggLB showLacpAggLBRequest
|
Displays the LACP configuration on the controller . |
Step 3 | showLacpAggLB
commit
Example:
Switch(config-controller-ProvisionLacpPortType)# showLacpAggLB commit
|
Sends the LACP configuration to the NID. |
Step 4 | exit
Example: Switch(config-controller-ProvisionLacpPortType)# exit
|
Exits the LACP provisioning mode. |
Configuration Example
The example displays the LACP load balance information on the controller :
Switch(config-controller-ProvisionLacpPortType)# showLacpAggLB showLacpAggLBRequest 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
-
Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure LACP.
Command or Action | Purpose | |
---|---|---|
Step 1 | showLacpInternal {commit |
flush
|
lacpPhysicalPort
port_num |
review}
Example: Switch(config-controller-ProvisionLacpPortType)# showLacpInternal ? commit commit showLacpInternal flush flush all showLacpInternal commands from queue lacpPhysicalPort Show LACP internal request review review showLacpInternal commands Switch(config-controller-ProvisionLacpPortType)# showLacpInternal lacpPhysicalPort 2 |
Displays LACP internal state information. |
Step 2 | showLacpInternal
review
Example:
Switch(config-controller-ProvisionLacpPortType)# showLacpInternal review
Commands in queue:
showLacpNeighbors lacpPhysicalPort 1
showLacpInternal lacpPhysicalPort 1
|
Displays the LACP configuration on the controller . |
Step 3 | showLacpInternal
commit
Example:
Switch(config-controller-ProvisionLacpPortType)# showLacpInternal commit
|
Sends the LACP configuration to the NID. |
Step 4 | exit
Example: Switch(config-controller-ProvisionLacpPortType)# exit
|
Exits the LACP provisioning mode. |
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 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
-
Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure LACP.
Command or Action | Purpose | |
---|---|---|
Step 1 | showLacpNeighbors {commit |
flush
|
lacpPhysicalPort
port_num |
review}
Example: Switch(config-controller-ProvisionLacpPortType)# showLacpNeighbors ? commit commit showLacpNeighbors flush flush all showLacpNeighbors commands from queue lacpPhysicalPort Show LACP neighbor status request review review showLacpNeighbors commands Switch(config-controller-ProvisionLacpPortType)# showLacpNeighbors lacpPhysicalPort 2 |
Displays LACP neighbor state information. |
Step 2 | showLacpNeighbors
review
Example:
Switch(config-controller-ProvisionLacpPortType)# showLacpNeighbors review
Commands in queue:
showLacpNeighbors lacpPhysicalPort 2
|
Displays the LACP configuration on the controller . |
Step 3 | showLacpNeighbors
commit
Example:
Switch(config-controller-ProvisionLacpPortType)# showLacpNeighbors commit
|
Sends the LACP configuration to the NID. |
Step 4 | exit
Example: Switch(config-controller-ProvisionLacpPortType)# exit
|
Exits the LACP provisioning mode. |
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
-
Perform the steps to provision LACP on the controller . See Provisioning the Controller to Configure LACP.
Command or Action | Purpose | |
---|---|---|
Step 1 | showLacpStats {commit |
flush
|
lacpPhysicalPort
port_num |
review}
Example: Switch(config-controller-ProvisionLacpPortType)# showLacpStats ? commit commit showLacpStats flush flush all showLacpStats commands from queue lacpPhysicalPort Show LACP statistics request review review showLacpStats commands Switch(config-controller-ProvisionLacpPortType)# showLacpStats lacpPhysicalPort 2 |
Displays the LACP statistics. |
Step 2 | showLacpStats
review
Example:
Switch(config-controller-ProvisionLacpPortType)# showLacpStats review
Commands in queue:
showLacpStats lacpPhysicalPort 1
showLacpStats lacpPhysicalPort 2
|
Displays the LACP configuration on the controller . |
Step 3 | showLacpStats
commit
Example:
Switch(config-controller-ProvisionLacpPortType)# showLacpStats commit
|
Sends the LACP configuration to the NID. |
Step 4 | exit
Example: Switch(config-controller-ProvisionLacpPortType)# exit
|
Exits the LACP provisioning mode. |
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 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