Dynamic LACP Trunking
The example configurations below provide dynamic trunking between two HP Procurve Series 2500
Switches (Switch A and Switch B) using LACP (802.3ad) as the trunking protocol.
Another benefit, besides dynamic trunk formation, of an LACP trunk is port redundancy. If one of
the operational ports fails then one of the redundant "standby" ports becomes operational without
any user intervention.
To create a dynamic LACP trunk, configure ports at one end of the link to be LACP active - and
ensure that LACP is enabled at the other end.
Switch A is configured to provide six LACP active ports. Since the Series 2500 Switches support
one trunk group of up to four ports, the other two ports will be redundant "standby" ports.
Switch B is in its default configuration. As stated above for a dynamic LACP trunk, once one end of
the link is configured for LACP active, the only other requirement is that the port at the other end of
the link must have LACP enabled. Since the Series 2500 Switches have LACP enabled by default,
there is no need to modify Switch B from its default configuration.
This configuration example applies to the following products:
� J4812A HP Procurve Switch 2512
� J4813A HP Procurve Switch 2524
©Copyright Hewlett-Packard Company, 2000.
All rights reserved.
Page 1
CONFIGURATION COMMANDS: (created on software version F.01.07)
Switch A
HP ProCurve Switch 2524# erase start
Configuration will be deleted and device rebooted, continue [y/n]? y
HP ProCurve Switch 2524# config t
HP ProCurve Switch 2524(config)# hostname Switch_A
Switch_A(config)# int e 1-2,5-6,13,17 lacp active
Switch_A(config)# wr mem
Switch_A(config)# end
CONFIGURATION COMMANDS: (created on software version F.01.07)
Switch B
None. This switch is left in default configuration (LACP passive on all ports).
RESULTING CONFIGURATION:
Switch A
Switch_A# sh config
IN-FLASH CONFIGURATION
; J4813A Configuration Editor; Created on release #F.01.07
time daylight-time-rule None
hostname "Switch_A"
interface 1
lacp Active
exit
interface 2
lacp Active
exit
interface 5
lacp Active
exit
interface 6
lacp Active
exit
interface 13
lacp Active
exit
interface 17
lacp Active
exit
ip timep dhcp
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-26,Dyn1
ip address dhcp-bootp
exit
©Copyright Hewlett-Packard Company, 2000.
All rights reserved.
Page 3
RESULTING CONFIGURATION:
Switch B (Default configuration.)
HP ProCurve Switch 2524# sh config
IN-FLASH CONFIGURATION
; J4813A Configuration Editor; Created on release #F.01.07
time daylight-time-rule None
hostname "HP ProCurve Switch 2524"
ip timep dhcp
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-26,Dyn1
ip address dhcp-bootp
exit
VERIFICATION COMMANDS:
The following CLI commands can be used to display LACP information:
• show lacp
• show log lacp
Switch_A# sh lacp
LACP
PORT LACP
TRUNK
PORT
STATUS
LACP
LACP
NUMB ENABLED GROUP
PARTNER STATUS
---- ------- ------- ------- ------- -------
1
Active
Active
Passive 3
Passive 4
Active
Active
Dyn1
Dyn1
Up
Yes
Yes
No
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
2
Up
3
Down
Down
Up
4
No
5
Dyn1
Dyn1
Yes
Yes
No
6
Up
7
Passive 7
Passive 8
Passive 9
Passive 10
Passive 11
Passive 12
Down
Down
Down
Down
Down
Down
8
No
9
No
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
No
No
No
Active
Dyn1
Standby Yes
Passive 14
Passive 15
Passive 16
Down
Down
Down
No
No
No
Active
Dyn1
Standby Yes
Passive 18
Passive 19
Passive 20
Passive 21
Passive 22
Passive 23
Passive 24
Passive 25
Passive 26
Down
Down
Down
Down
Down
Down
Down
Down
Down
No
No
No
No
No
No
No
No
No
©Copyright Hewlett-Packard Company, 2000.
All rights reserved.
Page 4
HP ProCurve Switch 2524# sh lacp
LACP
PORT LACP
TRUNK
PORT
LACP
LACP
NUMB ENABLED GROUP
STATUS
PARTNER STATUS
---- ------- ------- ------- ------- -------
1
Passive 1
Down
Down
Down
Down
Down
Down
Up
No
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
2
Passive 2
No
3
Passive 3
No
4
Passive 4
No
5
Passive 5
No
6
Passive 6
No
7
Passive Dyn1
Passive Dyn1
Passive 9
Yes
Yes
No
8
Up
9
Down
Down
Up
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Passive 10
Passive Dyn1
Passive Dyn1
Passive 13
Passive 14
Passive 15
Passive 16
Passive 17
Passive 18
Passive Dyn1
Passive 20
Passive 21
Passive 22
Passive Dyn1
Passive 24
Passive 25
Passive 26
No
Yes
Yes
No
Up
Down
Down
Down
Down
Down
Down
No
No
No
No
No
Standby Yes
Down
Down
Down
No
No
No
Standby Yes
Down
Down
Down
No
No
No
Switch_A# sh log lacp
Keys: W=Warning I=Information
M=Major D=Debug
---- Event Log listing: Events Since Boot ----
I 01/01/90 00:00:09 lacp: Passive Dynamic LACP enabled on all ports
I 01/01/90 00:00:22 lacp: Port 1 is blocked - negotiation
I 01/01/90 00:00:22 lacp: Port 2 is blocked - negotiation
I 01/01/90 00:00:22 lacp: Port 5 is blocked - negotiation
I 01/01/90 00:00:22 lacp: Port 6 is blocked - negotiation
I 01/01/90 00:00:22 lacp: Port 13 is blocked - negotiation
I 01/01/90 00:00:22 lacp: Port 17 is blocked - negotiation
I 01/01/90 00:00:26 lacp: Port 13 is moved to trunk Dyn1
I 01/01/90 00:00:26 lacp: Port 17 is moved to trunk Dyn1
I 01/01/90 00:00:27 lacp: Dynamic LACP trunk Dyn1 is now on-line
I 01/01/90 00:00:28 lacp: Port 1 is moved to trunk Dyn1
I 01/01/90 00:00:29 lacp: Port 2 is moved to trunk Dyn1
I 01/01/90 00:00:30 lacp: Port 5 is moved to trunk Dyn1
I 01/01/90 00:00:30 lacp: Port 17 is blocked - re-negotiation
I 01/01/90 00:00:30 lacp: Port 6 is moved to trunk Dyn1
I 01/01/90 00:00:30 lacp: Port 13 is blocked - re-negotiation
I 01/01/90 00:00:34 lacp: Port 17 is blocked - negotiation
I 01/01/90 00:00:35 lacp: Port 17 is moved to trunk Dyn1
I 01/01/90 00:00:35 lacp: Port 13 is blocked - negotiation
I 01/01/90 00:00:36 lacp: Port 13 is moved to trunk Dyn1
---- Bottom of Log : Events Listed = 20 ----
©Copyright Hewlett-Packard Company, 2000.
All rights reserved.
Page 5
HP ProCurve Switch 2524# sh log lacp
Keys: W=Warning I=Information
M=Major
D=Debug
---- Event Log listing: Events Since Boot ----
I 01/01/90 00:00:09 lacp: Passive Dynamic LACP enabled on all ports
I 01/01/90 00:00:19 lacp: Port 7 is blocked - negotiation
I 01/01/90 00:00:19 lacp: Port 8 is blocked - negotiation
I 01/01/90 00:00:19 lacp: Port 11 is blocked - negotiation
I 01/01/90 00:00:19 lacp: Port 12 is blocked - negotiation
I 01/01/90 00:00:19 lacp: Port 19 is blocked - negotiation
I 01/01/90 00:00:19 lacp: Port 23 is blocked - negotiation
I 01/01/90 00:00:20 lacp: Port 7 is moved to trunk Dyn1
I 01/01/90 00:00:20 lacp: Port 8 is moved to trunk Dyn1
I 01/01/90 00:00:21 lacp: Dynamic LACP trunk Dyn1 is now on-line
I 01/01/90 00:00:22 lacp: Port 11 is moved to trunk Dyn1
I 01/01/90 00:00:23 lacp: Port 12 is moved to trunk Dyn1
I 01/01/90 00:00:23 lacp: Port 19 is moved to trunk Dyn1
I 01/01/90 00:00:23 lacp: Port 23 is moved to trunk Dyn1
I 01/01/90 00:00:31 lacp: Port 23 is blocked - negotiation
I 01/01/90 00:00:31 lacp: Port 23 is moved to trunk Dyn1
I 01/01/90 00:00:32 lacp: Port 19 is blocked - negotiation
I 01/01/90 00:00:32 lacp: Port 19 is moved to trunk Dyn1
---- Bottom of Log : Events Listed = 18 ----
©Copyright Hewlett-Packard Company, 2000.
All rights reserved.
Page 6
|