Web and Unmanaged
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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.

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.
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.

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.

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 ?

parnassus
Honored Contributor

Re: configurando de link agregation no V1920 24G

I didn't understood what you want to achieve...but, doesn't matter, the basic important rules are:

  • You can design a single port Uplink between two Switches
  • You can design an aggregated ports Uplink (LAG) between two Switches
  • You can design some aggregated ports Uplinks (LAGs) from a central Switch to multiple - not interconnected - Switches (no loops!).
  • You must ensure that your LAGs and involved ports fulfill Port Trunking requirments and restrictions, just one as example: you must use same Media Types, Speeds and Duplex Modes for any Uplink's member ports on both ends of each trunk.

So basically (just to keep it simple) you can design any "Star Topology" or "Daisy Chain Topology" with your Switches, the important thing to remember is to use ONE Port Trunking Aggregation Group or ONE single port Uplink to connect any permitted combination of your Switches without creating loops (so not for ANY possible combination).

You can have, as example, Switch A trunked to Switch B with two 1 Gbps ports (LAG1) as you have now, then you can configure another two free 1 Gbps ports to work (slowing them down) at 10/100 Full Duplex and create a second LAG (LAG2) on Switch A to connect to the slower Switch C (LAG1) if this one has only some free 10/100 Ethernet Ports (copper) and nothing else...or if your Switch C has two free 1 Gbps Ethernet Ports (copper) you can use them in a LAG to trunk to Switch A as you did between Switch A and Switch B ending up with Switch A that has - concurrently - two fast (2x1Gbps) separate LAGs respectively to Switch B and to Switch C.

But, again, no matter how simple...you Network Topology is up to you and to you design requirements.

JR_Oliveira
Advisor

Re: configurando de link agregation no V1920 24G

hello Parnaso, thank you for all the help so far.
I have in my network my two Switches HP 1920-24G Switch model JG924A and 1 HP 1910-48 Switch JG540A. My question is if I create a link between the Aggregation and JG924A JG540A I would be losing performance? The best practice would be to keep this case only one uplink JG540A for JG924A or in both cases would lose performance in the 1920?

parnassus
Honored Contributor

Re: configurando de link agregation no V1920 24G

Hi, I don't understand your question.

What do you mean with "losing performance" regarding the usage of one or more Port Trunking?

Generally...when physical ports are aggregated together in a LAG (on both ends of a link) and a Port Trunk is then used between two Switches...the communication throughput between them gains performance (and, sure, the communication gains resiliency).

So you don't lose anything.

Networking best practices teach to use Port Trunking with LACP...but...if you can't (because you haven't any free port to aggregate together, you simply don't want, you just haven't free cables, Switches doesn't support Static/Dynamic Port Trunking or...for whatever other reason) simply stay with a single port Uplink.

Said so, IMHO, you should be able to use the two 2 RJ-45 autosensing 10/100/1000 ports of your HPE OfficeConnect 1910-48 (JG540A) to create a LAG and use that LAG to perform a Port Trunking to Switch A or to Switch B, whatever your topology requires.

In the Switch A or B you will create the second LAG (Group 2) in order to connect to the JG540A.
 
No more, no less.
JR_Oliveira
Advisor

Re: configurando de link agregation no V1920 24G


Perfect! thank you so much for the lesson.

Now I found a manual V1920 and I will try to give coninuidade configuration through him , but his explanation was very good. Just one more question , Is there any practice of security that I can configure in the V1910 Switches Family / V1920 which increases network security ?

parnassus
Honored Contributor

Re: configurando de link agregation no V1920 24G


JR_Oliveira wrote:


Just one more question , Is there any practice of security that I can configure in the V1910 Switches Family / V1920 which increases network security ?

It's hard to provide valuable answers without knowing what do you exactly mean with increase network security on your HPE OfficeConnect 1920/1910 Switches.

As example a very simple answer could be: first of all, keep your Device's Software updated...clearly it's just the first step of many.

Said so, there is a generic HP Technical White Paper called "HP Networking guide to hardening Comware-based device"...and, since both HPE OfficeConnect 1910 and 1920 are Comware 5.20 based, that guide could be a good introduction on hardening (securing) your devices.

You can find the guide here: if you need a more specific help please create another Post under the Comware sub-category here.


 

JR_Oliveira
Advisor

Re: configurando de link agregation no V1920 24G

hello , once again thank you for the clarification , I will follow the link to see if I can take the doubt and if I still have a need , I'll create another post. Thank you very much!