M and MSM Series
1832924 Members
2851 Online
110048 Solutions
New Discussion

Re: Newbie on VLAN, link aggregation and trunking on a 2610 switch

 
SOLVED
Go to solution
Niknok
Advisor

Newbie on VLAN, link aggregation and trunking on a 2610 switch

Hello,

 

I'm used to configuring cisco switches and now I'm tasked to do vlan, link aggregation trunking on a 2610 procurve. The new switch will be connected to an existing network made of similar procurve switches. Can you guys give me any tips or configuration to give me a head start?

 

Thanks in advance!

12 REPLIES 12
Fredrik Lönnman
Honored Contributor
Solution

Re: Newbie on VLAN, link aggregation and trunking on a 2610 switch

Hi,


Vlans and link-agg on 2610 is pretty straight forward. If you're used to Cisco CLI the main differences is that a HP "trunk" is link aggregation and not a bunch of tagged vlans on a port as in Cisco. Also ports are added to vlans and not the other way around as in Cisco.

 

A few examples to start you out:

 

Static lag / static lacp:
Syntax:  trunk <port-list> < trk1 ... trk24  > < trunk | lacp > 

ProCurve(config)# trunk 1-4 trk2 trunk
ProCurve(config)# trunk 1-4 trk5 lacp
---
Dynamic lacp:
ProCurve(config)# int 1-4 lacp active
---
Vlans:
ProCurve(config)# vlan 10
ProCurve(config-vlan10)# tagged 1-4
ProCurve(config-vlan10)# untagged 5

 

 

Hope this helps!

---
CCIE Service Provider
MASE Network Infrastructure [2011]
H3CSE
CCNP R&S

Niknok
Advisor

Re: Newbie on VLAN, link aggregation and trunking on a 2610 switch

Wow, thanks alot! By the way, how will I know if I'm going to use dynamic lacp, static lacp. Also what is the difference between lacp and trunk?

Fredrik Lönnman
Honored Contributor

Re: Newbie on VLAN, link aggregation and trunking on a 2610 switch

Depends on what the neighbouring switches are running ;). I tend to use static lacp on ports I want to be always trunked. Completely static trunking should be avoided if possible since it can Break Stuff(tm) if there is misconfiguration on one of the sides.

---
CCIE Service Provider
MASE Network Infrastructure [2011]
H3CSE
CCNP R&S

Niknok
Advisor

Re: Newbie on VLAN, link aggregation and trunking on a 2610 switch

Thanks again. I'll be configuring the switch a bit later. Hopefully you can respond in case I have a problem:smileyhappy:

Niknok
Advisor

Re: Newbie on VLAN, link aggregation and trunking on a 2610 switch

It's me again. I got the switch working but the gigabit port is only working as 100 mbps when connected to the core switch. When I connect my laptop directly to the core switch it detects 1 gbps. How do you enable the port on the switch to have 1 gbps? Thanks!

Fredrik Lönnman
Honored Contributor

Re: Newbie on VLAN, link aggregation and trunking on a 2610 switch

Be sure that both your switch and the core switch is configured with speed/duplex auto/auto, if one side is statically set to 1000/full then the other side need to be that also.

 

The command on the 2610 i think is "speed-duplex auto", cant say for you core switch since we dont know what that is.

---
CCIE Service Provider
MASE Network Infrastructure [2011]
H3CSE
CCNP R&S

Niknok
Advisor

Re: Newbie on VLAN, link aggregation and trunking on a 2610 switch

How do I statically set the speed? Thanks!
Fredrik Lönnman
Honored Contributor

Re: Newbie on VLAN, link aggregation and trunking on a 2610 switch

 

HP(eth-9)# speed-duplex ? 
 10-half               10 Mbps, half duplex. 
 100-half              100 Mbps, half duplex. 
 10-full               10 Mbps, full duplex. 
 100-full              100 Mbps, full duplex. 
 1000-full             1000 Mbps, full duplex. 
 auto                  Use Auto Negotiation for speed and duplex mode. 
 auto-10               10 Mbps, use Auto Negotiation for duplex mode. 
 auto-100              100 Mbps, use Auto Negotiation for duplex mode. 
 auto-1000             1000 Mbps, use Auto Negotiation for duplex mode. 
 auto-10-100           10 or 100 Mbps, and half or full duplex, using Auto Negotiation.
HP(eth-9)# 

 

Just remember you have to set the exact same speed-duplex settings on both sides.

---
CCIE Service Provider
MASE Network Infrastructure [2011]
H3CSE
CCNP R&S

Niknok
Advisor

Re: Newbie on VLAN, link aggregation and trunking on a 2610 switch

Thanks again. I'll inform you regarding the result.

Niknok
Advisor

Re: Newbie on VLAN, link aggregation and trunking on a 2610 switch

Everything is working. A quick question, I'm still a little confused with the tagged and untagged thing. In cisco trunk = tagged and access = untagged. In cisco you should trunk a port when you are using it for switch to switch connection and access port for end nodes. In hp you can still use an untagged port for switch to switch connection. Am I correct with this one?

Fredrik Lönnman
Honored Contributor

Re: Newbie on VLAN, link aggregation and trunking on a 2610 switch

Hi,

Great to hear everything worked out :).

 

 

In cisco trunk = tagged and access = untagged.

 

 Right, Cisco has this different interface modes which HP doesnt have. In HP a port where you set a vlan untagged is equivalent to access port, and a port where you tag one or more vlans is equivalent to a trunk port.

 

 

In cisco you should trunk a port when you are using it for switch to switch connection and access port for end nodes. In hp you can still use an untagged port for switch to switch connection.

You can connect two Cisco-switches with access ports also without problem.. but often you wont ;).

 

 

The main cause of confusion here I think is the fact that Cisco uses interface roles access or trunk whereas HP doesnt. But a trunk is besically just a port with tagged vlans and access is untagged.

---
CCIE Service Provider
MASE Network Infrastructure [2011]
H3CSE
CCNP R&S

Niknok
Advisor

Re: Newbie on VLAN, link aggregation and trunking on a 2610 switch

Thanks again for the info and the help!