Switches, Hubs, and Modems
1748128 Members
3528 Online
108758 Solutions
New Discussion юеВ

Re: How to connect a vlan through 2 switches 2626

 
Pieter 't Hart
Honored Contributor

Re: How to connect a vlan through 2 switches 2626

do a "show lacp"
lacp is enabled on portlevel, but also configured globally?

from mgmtconfig guide:
In the default configuration, all ports are configured for passive LACP. However,
if LACP is not configured, the port will not try to detect a trunk configuration
and will operate as a standard, untrunked port.
Pieter 't Hart
Honored Contributor

Re: How to connect a vlan through 2 switches 2626

about vlan tagging
yes, one vlan untagged others tagged is a valid configuration.

but to avoid misconfigs where ports at both sides are untagged in different vlan's, you may consider to use tagged-only traffic on ports enabled for multiple vlans.
Juanjo_1
Frequent Advisor

Re: How to connect a vlan through 2 switches 2626

On friday I configured LACP of port 25 in Active mode, I readed somewhere that One of the port should be configured as Active, but it didn't work.

#sho lacp

LACP

PORT LACP TRUNK PORT LACP LACP
NUMB ENABLED GROUP STATUS PARTNER STATUS
---- ------- ------- ------- ------- -------
1 Passive 1 Up No Success
2 Passive 2 Up No Success
3 Passive 3 Up No Success
4 Passive 4 Up No Success
5 Passive 5 Up No Success
6 Passive 6 Up No Success
7 Passive 7 Up No Success
8 Passive 8 Up No Success
9 Passive 9 Up No Success
10 Passive 10 Up No Success
11 Passive 11 Up No Success
12 Passive 12 Up No Success
13 Passive 13 Up No Success
14 Passive 14 Up No Success
15 Passive 15 Up No Success
16 Passive 16 Up No Success
17 Passive 17 Up No Success
18 Passive 18 Up No Success
19 Passive 19 Up No Success
20 Passive 20 Down No Success
21 Passive 21 Up No Success
22 Passive 22 Up No Success
23 Passive 23 Down No Success
24 Passive 24 Up No Success
25 Active 25 Up Yes Success
26 Passive 26 Up No Success
Pieter 't Hart
Honored Contributor

Re: How to connect a vlan through 2 switches 2626

Your output shows LACP does work :
25 Active 25 Up Yes Success

trunking on procurve is LACP Link Agergation, it's not vlan-trunking as on Cisco.
for Link Agregation you need a second port connected between the two switches (eg. port-26).
then LACP can dynamically trunk the two ports.
this stands apart from using vlan's.

see attachment
Juanjo_1
Frequent Advisor

Re: How to connect a vlan through 2 switches 2626

Yes, that's not my case, I just want to work with VLAN's, I don't care about LACP, I suppose it could be even disabled.

Any ideas why I can't ping two workstations through the the tagged ports?
Pieter 't Hart
Honored Contributor

Re: How to connect a vlan through 2 switches 2626

don't see it yet,

vlan1 is untagged, vlan2 is tagged on the connecting ports (port-25) of both switches, that should be enough.
lacp should not block this
gvrp (still enabled on switch1) should not block this.
you haven't posted the whole config, but i asume you haven't any portbased ACL's or "forbid" rules configured.

I want to check if both vlan's are active on the interconnecting link.
please do a "show vlan" or "show vlan port 25" on both switches

you can also use "show logging" (both switches) to see if any clues are found in the switches eventlog.
Juanjo_1
Frequent Advisor

Re: How to connect a vlan through 2 switches 2626

Switch 1# sho vlan 2

Status and Counters - VLAN Information - Ports - VLAN 2

802.1Q VLAN ID : 2
Name : DMZ
Status : Port-based Voice : No

Port Information Mode Unknown VLAN Status
---------------- -------- ------------ ----------
19 Untagged Learn Up
20 Untagged Learn Down
21 Untagged Learn Up
22 Untagged Learn Up
23 Untagged Learn Down
24 Untagged Learn Up
25 Tagged Learn Up

Switch 2#sho vlan 2

Status and Counters - VLAN Information - Ports - VLAN 2

802.1Q VLAN ID : 2
Name : DMZ
Status : Port-based Voice : No

Port Information Mode Unknown VLAN Status
---------------- -------- ------------ ----------
4 Untagged Learn Up
25 Tagged Learn Up
Pieter 't Hart
Honored Contributor

Re: How to connect a vlan through 2 switches 2626

thanks, but i suggested using another command.

apearently you changed switch-2's config?
you suplied previously this info:

switch 2:

Status and Counters - VLAN Information - Ports - VLAN 2

802.1Q VLAN ID : 2
Name : DMZ
Status : Port-based Voice : No

Port Information Mode Unknown VLAN Status
---------------- -------- ------------ ----------
1 Untagged Learn Down
25 Tagged Learn Up


vlan 2
name "DMZ"
untagged 1
ip address 192.168.1.208 255.255.255.0
tagged 25
exit

So no port-4 in vlan-2.
What are the current config's
Juanjo_1
Frequent Advisor

Re: How to connect a vlan through 2 switches 2626

I've changed the port in switch 2 for the vlan 2 because port 1 is in use for another service.

So the good config is the last I have posted.

Thank you,
Juanjo_1
Frequent Advisor

Re: How to connect a vlan through 2 switches 2626

I've changed again the port of the vlan 2 in the switch 2, now I'm using port 15.

Is there any way I could monitor why there's no traffic between the two switches? Because the log's output is very short...

---- Reverse event Log listing: Events Since Boot ----
I 09/08/09 09:53:47 ports: port 15 is now off-line
I 09/08/09 09:42:27 ports: port 15 is now on-line
I 09/08/09 09:42:27 ports: port 15 is Blocked by LACP
I 09/08/09 09:42:25 ports: port 15 is now off-line
I 09/08/09 09:42:23 ports: port 15 is Blocked by LACP
I 09/08/09 09:39:46 ports: port 15 is now off-line
I 09/08/09 09:33:35 ports: port 15 is now on-line
I 09/08/09 09:33:32 ports: port 15 is Blocked by LACP

Port 15 goes on-line and off-line because the workstation that's plugged into goes to hibernate very frequently.

If you need more information or you need more config information tell me how can I help you to help me.