Wired Intelligent Edge (Campus Switching and Routing)

Reply
Highlighted
Occasional Contributor II

Configure Vlans, LACP and trunking on 2930f switches

Hi There,

 

Can someone please explain how to assign ports to vlans on aruba switches, configure lacp and trunking. I know trunking on cisco means something else but I want to achieve same desired result.

 

Management vlan is 100,

 

1) I want to assign ports to different vlans, do I need to assign port to vlan 100 as well.

 

2) How do I configure trunking(as in cisco) to pass multiple vlans

 

3) Lacp configuration, I have got 2 ports to put into lacp port 1/49 and 1/50. Please share the steps if possible.

 

4) Is STP is mandatory we have core switch from aruba 3810 but there is no STP enabled, I'm afraid If I deploy these switches STP loop might happen. 

 

Please guide me I'm kind of stuck here have gone through couple of documents but still confused. Any help will be appreciated. 

 

Thanks in advance.

 

Rish


Accepted Solutions
Highlighted

Re: Configure Vlans, LACP and trunking on 2930f switches


@rishabhm wrote:

Thanks Florian, thats useful. Just to confirm

 

I have vlan called VLAN 103 name Sales, now I want to assign port 3 to this vlan this is how I'm going to do it? or

Config# interface e 3

Config# untagged vlan 103


that is correct. 

 


@rishabhm wrote:

 

and for LACP lets say 2 ports 1/49 1/50 connect to the core switch using SFP+ module

how do i propogate all vlans through this lacp trunk. 


first, to create the trunk:

 

trunk 1/49,1/50 trk1 lacp

 

Assign VLAN's to the trunk:

 

interface trk1

tagged vlan 10-20,25

untagged vlan 30

 

first, we add VLAN 10 to 20 and 25 as tagged VLANs to the trunk and then VLAN 30 untagged (native). just as an example. 


visit our Youtube Channel:
https://www.youtube.com/channel/UCFJCnuXFGfEbwEzfcgU_ERQ/featured
Please visit my personal blog as well:
https://www.flomain.de

View solution in original post


All Replies
Highlighted

Re: Configure Vlans, LACP and trunking on 2930f switches

hi rishabhm,

 

Welcome to the show. 

 

First of all, what kind of switches are we talking about? Can be more specific on that. 

 

also, have a look at this CLI guide, comparing cisco switches to ours:

 

https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=emr_na-c04793912 

 

BR

Florian


visit our Youtube Channel:
https://www.youtube.com/channel/UCFJCnuXFGfEbwEzfcgU_ERQ/featured
Please visit my personal blog as well:
https://www.flomain.de
Highlighted
Occasional Contributor II

Re: Configure Vlans, LACP and trunking on 2930f switches

Hi Florian,

 

Its 2930f switch 48 Poe+

 

Highlighted

Re: Configure Vlans, LACP and trunking on 2930f switches

ok, thanks for the clarification. I'm running this series in my lab as well. 

 

These switches do not follow the concept of access and trunk switches. You simply assign VLANs to ports, either untagged (would be like an access VLAN or native VLAN) or tagged (would be a trunk). 

 

Let's assume you want to assign a VLAN to a port that should connect clients. you would simply add the port to the VLAN like this:

vlan 102
   name "Client Devices"
   untagged 1/2,1/5
   exit

 

To assign this VLAN on an uplink you would use the tagged key word like this:

 

vlan 102
   name "Client Devices"
   tagged 1/8
   exit

 

There is no need to assign the management VLAN to ports, except for the uplink. If you need to assign multiple tagged VLAN's on the uplink, you simply add those tagged to the same port as well. you can have one untagged VLAN and multiple tagged VLAN on a port. 

 

A link aggregation (we call this a trunk and this makes it confusing) is very simple:

trunk 1/1,1/2 trk1 lacp

 

The command above would create a dynamic (LACP based) link aggregation. 

you then assign VLAN's (tagged or untagged) to the trunk port, in this case, trk1. trk1 to trkx is predefined and the x is platform dependent. 

 

Regarding STP, this is really dependent on your setup. In newer deployments, using VSF, you do not need spanning tree, as you will do not have loops. Some customers enable spanning tree to avoid loops during failure situations. 

If you do not use VSF and you have multiple redundant uplinks, it would make sense to enable spanning tree. But there is no general answer to this question. It really depends on your environment and how you set it up. 


visit our Youtube Channel:
https://www.youtube.com/channel/UCFJCnuXFGfEbwEzfcgU_ERQ/featured
Please visit my personal blog as well:
https://www.flomain.de
Highlighted
Occasional Contributor II

Re: Configure Vlans, LACP and trunking on 2930f switches

Thanks Florian, thats useful. Just to confirm

 

I have vlan called VLAN 103 name Sales, now I want to assign port 3 to this vlan this is how I'm going to do it? or

Config# interface e 3

Config# untagged vlan 103

 

and for LACP lets say 2 ports 1/49 1/50 connect to the core switch using SFP+ module

how do i propogate all vlans through this lacp trunk. 

Highlighted
Occasional Contributor II

Re: Configure Vlans, LACP and trunking on 2930f switches

Also I would appreciate if you can guide on these following as well. HPE document is not proven very helpful to me so far and I was looking for savior like you.

 

1) Command to configuring SSL for web management using authorized CA.

2) IP DHCP-SNOOPING - is it good to have this configured on interface basis or vlan as I have got dhcp server running on 2016

3)dhcp-relay - My core switch is already acting as relay do I need to configure it on access switch as well if yes than I have to configure ip-helper address on this switch.

 

Thanks,

Rish

Highlighted

Re: Configure Vlans, LACP and trunking on 2930f switches


@rishabhm wrote:

Thanks Florian, thats useful. Just to confirm

 

I have vlan called VLAN 103 name Sales, now I want to assign port 3 to this vlan this is how I'm going to do it? or

Config# interface e 3

Config# untagged vlan 103


that is correct. 

 


@rishabhm wrote:

 

and for LACP lets say 2 ports 1/49 1/50 connect to the core switch using SFP+ module

how do i propogate all vlans through this lacp trunk. 


first, to create the trunk:

 

trunk 1/49,1/50 trk1 lacp

 

Assign VLAN's to the trunk:

 

interface trk1

tagged vlan 10-20,25

untagged vlan 30

 

first, we add VLAN 10 to 20 and 25 as tagged VLANs to the trunk and then VLAN 30 untagged (native). just as an example. 


visit our Youtube Channel:
https://www.youtube.com/channel/UCFJCnuXFGfEbwEzfcgU_ERQ/featured
Please visit my personal blog as well:
https://www.flomain.de

View solution in original post

Highlighted
Occasional Contributor II

Re: Configure Vlans, LACP and trunking on 2930f switches

Ok. So in my case default vlan will be 1, although management is on vlan 100. 

 

And is it necessary to add untagged vlan in the trunk? lets say vlan 1 in my case. 

Highlighted

Re: Configure Vlans, LACP and trunking on 2930f switches

I think, If you remove an untagged VLAN from a port (other then VLAN 1) the port will be set to VLAN 1 untagged. That is the reason, why we say, you should not use VLAN 1 for anything productive. 

If you do not add a VLAN to a link aggregation untagged, VLAN 1 will be the untagged VLAN on the link aggregation. 

If you like to remove VLAN 1 from the link aggregation you can use this command "no untagged port". But the link aggregation needs to have at least one tagged VLAN before you can use this command. 

It works also on a normal port, which is not part of a link aggregation. 

It would be the equivalent to not have a native VLAN in cisco devices. 


visit our Youtube Channel:
https://www.youtube.com/channel/UCFJCnuXFGfEbwEzfcgU_ERQ/featured
Please visit my personal blog as well:
https://www.flomain.de
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: