12-24-2024 05:19 AM
I've got a set of 3850 switches & for some reason I can't get a specific vlan to appear on a down line switch. The basic topolgy is as follows:
Switch1 (Trunk Te3/1/4) > Switch2 (Trunk Po1) > Switch3 (Trunk Gi1/1/1) > Client (Switch3 Gi1/0/15)
1. The VLAN already exists on Switch1 & I just added it to Te3/1/4 (switchport trunk allowed vlan add 4).
2. On Switch2, the trunk Po1 is set to allow all Vlans 2-2000. (I believe this is where the issue lies, as when I attempt to configure an access port on this switch with VLAN 4, it ends up creating VLAN 4 instead.)
Do I need to remove the VLAN range from the port-channel & list out the trunks individually on Switch2? Not sure what the VLAN isn't traversing.
12-24-2024 05:24 AM
Vlan must be create in all the switches. It is up to you allow only specific vlans or all vlans on the trunk but you need to have the vlan created in everything. Dont matter if you will assing the vlan to access port or not, you need to add the vlan.
12-24-2024 06:27 AM
@Flavio Miranda Thanks, I did that on the Switch2, but feel I'm still missing something as when a client is connected, the client isn't getting a network connection.
On Switch2, I created the VLAN & added the same name from Switch1. I feel in the past I also had to add a gateway IP, but I believe that was on our router & not on the switch. I can't seem to find the right show command on Switch1 to show the running config of VLAn4. When I try "show run int vlan4" it just provides a syntax error.
12-24-2024 06:36 AM - edited 12-24-2024 06:37 AM
If you are crearing the vlan only in layer2 mode, the command you used has no use
If you need to creste also layer3 for vlan, you need to use the command
Interface vlan 4
IP address x.x.x.x m.m.m.m
You need to have a layer3 somewhere , not necessarily on the switch.
12-24-2024 08:55 AM
Yes, the layer 3 aspect of the vlan is done by our core, so that isn't the issue. The issue just seems to be tied to the trunking of VLAN 4 from SW1 to SW2.
12-24-2024 09:31 AM - edited 12-24-2024 09:32 AM
Right, if the layer3 is done on the core, all you need to do is configure the vlan 4 in all trunk from Core up to the last switch 3. And create the vlan in every switch, core included, with the command "vlan 4". Not necessary add name.
After done that, you just need to add the interface where the PC is connected to vlan 4 with the command
switchport access vlan 4
And then add an IP address on the PC on the same ip address range configured in the core switch. Or left if as DHCP if DHCP is available on that vlan.
12-24-2024 10:03 AM
12-24-2024 10:11 AM
I See you have Port-channel. Are both side with Port-channels?
Did you tried using the interface only as trunk?
Por-channel can cause issue and only make Sense If you are bounding interfaces
12-24-2024 10:24 AM
No, only the SW2 side is a port-channel.
What do you mean by this? "Did you tried using the interface only as trunk?"
12-24-2024 10:36 AM
Instead Port Channel, take one interface and configure as trunk.
For example,
Take interface g1/1 and connect to the second switch on g1/1
Put both interface as trunk.
So on so forth.
12-24-2024 05:58 AM
Not sure what the VLAN isn't traversing. <<- what you meaning by this? if you talking about VTP ?
MHM
12-24-2024 06:39 AM
I will send you PM
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide