Web and Unmanaged
1748209 Members
2903 Online
108759 Solutions
New Discussion юеВ

Re: configurando de link agregation no V1920 24G

 
SOLVED
Go to solution
JR_Oliveira
Advisor

configurando de link agregation no V1920 24G

Ol├б a todos, embora j├б use produtos da HP a alguns anos, sou novo por aqui. 

Gostaria de pedir a ajuda dos colegas para configurar um link agregation em dois V1920 24G que tenho, j├б fiz a configura├з├гo mas acho que tem algo errado, pois com os dois cabos conectados as vezes a rede meio que perde a conex├гo, ├й como se tudo parasse por um instante de depois normaliza. Desconectei um dos cabos e n├гo ocorreu mais.  Por├йm desta forma acredito que eu n├гo esteja conseguindo a redundancia que eu  gostaria e nem o desempenho. Desde j├б agrade├зo a ajuda. 

15 REPLIES 15
parnassus
Honored Contributor
Solution

Re: configurando de link agregation no V1920 24G

If you have two HPE OfficeConnect 1920-24G and you want to configure Port Trunking between them (let's say, just to start, using 2 identical GE links) it's very simple: read this post (Port Trunking using LACP with 4 GE links) and perform reported steps on both Switches, just skip the VLAN setting step 1 and step 4 (if you don't need it) and you're done.

You can check LAG and LACP status via Web or via CLI (read the HPE OfficeConnect 1920 Switch Series User Guide for details about Port Trunking and LACP settings).

Via Web Port Trunking (LAG) and LACP is very intuitive do setup but, important, follow the right order as suggested in the post above.

Basically you should end with something similar to:

#
interface Bridge-Aggregation1
 port link-type trunk
 port trunk permit vlan all
 link-aggregation mode dynamic
#
interface GigabitEthernet1/0/1
 port link-type trunk
 port trunk permit vlan all
 port auto-power-down
 stp edged-port enable
 port link-aggregation group 1
#
interface GigabitEthernet1/0/2
 port link-type trunk
 port trunk permit vlan all
 port auto-power-down
 stp edged-port enable
 port link-aggregation group 1
#

 I used Interfaces 1/0/1, 1/0/2 and Bridge Aggregation Group 1 in the example above but that it's up to you and to your configuration.


I'm not an HPE Employee
Kudos and Accepted Solution banner
JR_Oliveira
Advisor

Re: configurando de link agregation no V1920 24G

Hello,

Thank you for listening to answer my post. I will review the settings in both 1920 , but I believe I have made тАЛтАЛthe correct settings , however not create any VLAN and put the two links Static configuration. In order to use the link Aggregation I need to create VLANs ?

Thank you again.

#
interface GigabitEthernet1/0/2
port auto-power-down
stp edged-port enable
port link-aggregation group 1
#
interface GigabitEthernet1/0/3
port auto-power-down
stp edged-port enable
#
interface GigabitEthernet1/0/4
port auto-power-down
stp edged-port enable
port link-aggregation group 2

parnassus
Honored Contributor

Re: configurando de link agregation no V1920 24G

Hi!

No you don't need to permit any other static VLANs (apart the default VLAN which is automatically added on the Port Trunking LAG by the Switch) if you don't need them.

So if VLANs traffic between the Switches isn't necessary (or other Static VLANs aren't defined apart from VLAN 1) you don't have to worry about specifying which VLAN should be permitted on the trunk since VLAN 1 Untagged is permitted already.

I saw you defined two Bridge Aggregation Groups (1 and 2) and, each one, has only one port (respectively 1/0/2 and 1/0/4) as member port.

IMHO that configuration is wrong if you need to interconnect just two Switches because you should define just ONE LAG and add to it the ports you want to be aggregated together.

With Switches from the same vendor best is to use LACP (Dynamic) over Static Trunk.

If I were you I will do (on both Switches):

  1. Remove cables used for actual Port Trunking (you need to be Ethernet connected to both Switches for their easy Web Management, do it concurrently or not).
  2. Remove ports 1/0/2 and 1/0/4 respectively from LAG 1 and LAG 2.
  3. Delete the LAG 2.
  4. Keep the yet defined LAG 1.
  5. Add the ports you want - let's say - Gigabit Ethernet 1/0/2, 1/0/3 and 1/04 to LAG 1.
  6. Set LAG 1 to be Type Dynamic (LACP).
  7. Verify (or configure) the LAG 1's Port Type so it is of Type Trunk (this is not intuitive, you will find it into Network -> VLAN -> Modify Port -> Select the BAGG 1 (so the entire LAG 1, not its single member ports) and set the Link Type to Trunk).
  8. Don't touch LAG member ports' configuration once you performed Step 7.
  9. Save configuration.
  10. Do the steps above on both Switches.
  11. Finally connect all the involved cables, one at time (just for fun).
  12. Check the Link Aggregation and LACP statues.
  13. You're done.

I'm not an HPE Employee
Kudos and Accepted Solution banner
JR_Oliveira
Advisor

Re: configurando de link agregation no V1920 24G

 Ol├б Parnassus,

Desculpe, esta configura├з├гo ├й errado? no post anterior descrita apenas a configura├з├гo de um SW, agora eu estou colocando para baixo os dois.
SW-A
rstp modo stp
stp permitir
#
interface de Bridge-Aggregation1
#
interface de Bridge-Aggregation2
#
interface de Null0
#
da interface VLAN-Interface1
endere├зo ip 192.168.0.41 255.255.255.0
#
interface de GigabitEthernet1 / 0/2
porta de auto-power-down
stp edged- porta permitem
porto link-agrega├з├гo grupo 1
#
Interface / 0/4 GigabitEthernet1
porta de auto-power-down
stp gumes porta permitem
porto grupo link-agrega├з├гo de 2
SW-B
modo de stp rstp
stp permitir
#
interface de Bridge-Aggregation1
#
interface de Bridge-Aggregation2
#
interface de Null0
#
da interface VLAN-Interface1
endere├зo ip 192.168.0.42 255.255.255.0
#
interface de GigabitEthernet1 / 0/1
porta de auto-power-down
stp gumes porta permitem
grupo de portas link-agrega├з├гo 1
#
interface de GigabitEthernet1 / 0/3
auto-port power-down
stp gumes porta permitem
grupo de portas link-agrega├з├гo 2
 
parnassus
Honored Contributor

Re: configurando de link agregation no V1920 24G

Yes, it's wrong because between two Switches you just need to use ONE LAG per Switch (so just ONE LAG configured on each Switch).

[Switch A --- LAG1 (1/0/1 + 1/0/2+...)] <== LACP Ports Trunk ==> [LAG1 (1/0/1+1/0/2+...) --- Switch B]

So the correct configuration should be something similar (change the ports numbers you like/want/need) to:

Switch A

#
interface Bridge-Aggregation1
 port link-type trunk
 port trunk permit vlan all
 link-aggregation mode dynamic
#
interface GigabitEthernet1/0/1
 port link-type trunk
 port trunk permit vlan all
 port auto-power-down
 stp edged-port enable
 port link-aggregation group 1
#
interface GigabitEthernet1/0/2
 port link-type trunk
 port trunk permit vlan all
 port auto-power-down
 stp edged-port enable
 port link-aggregation group 1
#

Switch B
#
interface Bridge-Aggregation1
 port link-type trunk
 port trunk permit vlan all
 link-aggregation mode dynamic
#
interface GigabitEthernet1/0/1
 port link-type trunk
 port trunk permit vlan all
 port auto-power-down
 stp edged-port enable
 port link-aggregation group 1
#
interface GigabitEthernet1/0/2
 port link-type trunk
 port trunk permit vlan all
 port auto-power-down
 stp edged-port enable
 port link-aggregation group 1
#

Remeber:

You're free to number the LAG (Bridge Aggregation Group) as you want, I used the Bridge-Aggregation1 (group 1) on both Switches for simplicity.

You're free to aggregate the interfaces indexes you want (respecting their type and quantity for/on both LAGs), I aggregated 1/0/1 and 1/0/2 on both Switches for simplicity.

So you can also do something like:

[Switch A --- LAG1 (1/0/2 + 1/0/4)] <== LACP Ports Trunk ==> [LAG1 (1/0/1+1/0/3) --- Switch B]

It's only a matter of semplicity and clarity of design...and, necessarily, free ports!

Definitely you don't need (and you should not use) TWO separate LAGs per each Switch.


I'm not an HPE Employee
Kudos and Accepted Solution banner
JR_Oliveira
Advisor

Re: configurando de link agregation no V1920 24G

ok , I think I'm getting the message . Can you please show me where I find this setup relat├│rito you described ?

JR_Oliveira
Advisor

Re: configurando de link agregation no V1920 24G

So this right now?

SW-A

#
stp mode rstp
stp enable
#
interface Bridge-Aggregation1
port link-type trunk
port trunk permit vlan 1
link-aggregation mode dynamic
#
interface NULL0


#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk permit vlan 1
port auto-power-down
stp edged-port enable
port link-aggregation group 1

#
interface GigabitEthernet1/0/4
port link-type trunk
port trunk permit vlan 1
port auto-power-down
stp edged-port enable
port link-aggregation group 1

SW-B

#
stp mode rstp
stp enable
#
interface Bridge-Aggregation1
port link-type trunk
port trunk permit vlan 1
link-aggregation mode dynamic
#
interface NULL0

#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan 1
port auto-power-down
stp edged-port enable
port link-aggregation group 1

#
interface GigabitEthernet1/0/3
port link-type trunk
port trunk permit vlan 1
port auto-power-down
stp edged-port enable
port link-aggregation group 1

parnassus
Honored Contributor

Re: configurando de link agregation no V1920 24G

OK, that's right.


I'm not an HPE Employee
Kudos and Accepted Solution banner
JR_Oliveira
Advisor

Re: configurando de link agregation no V1920 24G

One more doubt , now I will expose min network. I have two 1920 - 24G 1 1910-48 10/100 ports and 2 ports 10/1000 . It would be a good practice to create a link between Aggregation SW- A, SW- B and SW- C ? or would be better to leave the SW- C with a connected link -up ?