Requirement:It helps automatic detection of the neighboring devices with port-channels when AP is connected to the Mobility Access Switch. Based on device-group configuration, the Auto-LACP forms port-channels automatically
Solution:Starting from ArubaOS 7.4.1.1, the Mobility Access Switch supports Auto Link Aggregation Control Protocol (Auto-LACP). Based on device-group configuration, the Auto-LACP forms port-channels automatically. It helps automatic detection of the neighboring devices with port-channels when AP is connected to the Mobility Access Switch.
Auto-LACP is disabled by default on the Mobility Access Switch. You can enable Auto-LACP on the Mobility Access Switch using the CLI.
Important Points to Remember
The following are the important points to remember regarding Auto-LACP:
- Auto-LACP is supported only for AP-224, AP-225, AP-274, AP-275, AP-325, and IAP-225 access points.
- Auto-LACP is supported on S1500, S2500/S3500 Mobility Access Switch platforms.
- All Auto-LACP port-channels share the same device group configuration for AP device type.
- Configuration is blocked for Auto-LACP port-channels and port members.
- Alteration and deletion in the Auto-LACP profile is blocked.
- The maximum number of supported port-channels on S1500 and S2500/S3500 is eight and sixty four, respectively. Auto- LACP uses the LAG IDs from these limits only.
- Auto-LACP is functional only if device-group configuration is enabled.
Configuration:Configuring Auto-LACP:
To configure Auto-LACP, you should enable device configuration and Auto-LACP on the Mobility Access Switch.
To enable device configuration, execute the following commands:
(host) (config) #device-group ap
(host) (device-group access-point) #enable
To enable Auto-LACP, execute the following commands:
(host) (config) #device-group ap
(host) (device-group access-point) #auto-lacp
Triggers on Disabling Auto-LACP Port-Channels:
When you disable Auto-LACP port-channels, keep the following points in mind:
- When you disable auto-lacp parameter from device-group ap, all Auto-LACP port-channels are deleted.\
- When you disable device-group ap, all Auto-LACP port-channels are deleted.
- If an AP is deleted from one of the member interfaces or if there is an LLDP timeout, the corresponding Auto-LACP port-channel is deleted.
- In case a member is plugged out of one port and inserted into another, new port-channel will be formed with updated member interfaces.
VerificationVerifying Auto-LACP
To verify the Auto-LACP configuration on the Mobility Access Switch, execute the following command:
(host) # show device-group-config ap
device-group access-point (N/A)
-------------------------------
Parameter Value
--------- -----
Enable Device Config true --> The Enable Device Config and Enable Auto LACP parameters display a true value.
Enable Auto LACP true
Interface MSTP Profile default
Interface GVRP Profile N/A
Interface PVST Profile default
Interface LLDP Profile device-group-default
Interface PoE Profile device-group-default
Interface Ethernet Link Profile default
Interface QoS Profile N/A
Interface Policer Profile N/A
Interface AAA Profile N/A
Interfaces To Shutdown N/A
Interface MTU 1514
Interface Ingress....
....
To view Auto-LACP port-channel interfaces, execute the following command:
(host) # show interface port-channel auto-lacp
port-channel 1 is administratively Up, Link is Up, Line protocol is Up
Hardware is Port-Channel, LACP enabled, Address is 00:0b:86:6a:bd:80
Description: Link Aggregate
Created by Auto-LACP Link Aggregate
Member port(s):
GE1/0/16 is administratively Up, Link is Up, Line protocol is Up
GE2/0/16 is administratively Up, Link is Up, Line protocol is Up
Speed: 2 Gbps
Interface index: 1442...
.....
To view if a gigabit Ethernet port is a member of a port-channel, execute the following command:
(host) # show interface gigabitethernet 1/0/16
GE1/0/16 is administratively Up, Link is Up, Line protocol is Up
Hardware is Gigabit Ethernet, Interface is GE1/0/16, Address is 00:0b:86:6c:19:52
Port is the member of port-channel1
Encapsulation ARPA, Loopback not set
Configured: duplex (Full), Speed (1 Gbps), FC (Off), Autoneg (On)
Negotiated: duplex (Full), Speed (1 Gbps)
Interface index: 161
MTU 1514 bytes
Link flaps: 28
Flags: Port is a member of port
.....
To view all Auto-LACP port-channel interface status in brief, execute the following command:
(host) # show interface brief port-channel auto-lacp
Interface Admin Link Line Protocol Speed/Duplex
--------- ----- ---- ------------- ------------
port-channel2 Enable Up Up 2 Gbps / Full
port-channel3 Enable Up Up 2 Gbps / Full
port-channel4 Enable Up Up 2 Gbps / Full
port-channel5 Enable Up Up 2 Gbps / Full
To view all neighboring devices, execute the following command:
(host) (config) #show lldp neighbor
Capability codes: (R)Router, (B)Bridge, (A)Access Point, (P)Phone, (S)Station (r)Repeater, (O)
Other
LLDP Neighbor Information
-------------------------
Local Intf Chassis ID Capability Remote Intf
---------- ---------- ---------- -----------
GE0/0/1 18:64:72:c8:1e:40 B:A 18:64:72:c8:1e:40
GE0/0/3 18:64:72:c8:1e:40 B:A 18:64:72:c8:1e:40
GE0/0/6 9c:1c:12:c0:9f:e4 B:A 9c:1c:12:c0:9f:e4
GE0/0/7 9c:1c:12:c0:9f:e4 B:A 9c:1c:12:c0:9f:e4
Expiry (Secs) System Name
------------- -----------
103 18:64:72:c8:1e:40
102 18:64:72:c8:1e:40
107 9c:1c:12:c0:9f:e4
105 9c:1c:12:c0:9f:e4
Number of neighbors: 4