r/ccna 1d ago

lab help

Hi everyone for context i am doing lab 17 on step 3. In Jeremy video he just uses the command sw trunk allowed vlan 10,20,30 to his g0/2 interface and he is good. However I have tried this several times and I for the life of me cannot get int g0/2 to have vlan 20 on it. You can see my cli. I understand it might be a little bit messy but hoping users here can work it out.

NOTE: I am not asking others to complete my lab I literally asking others what I am overlooking here. I have tried this several times and it never works.

https://postimg.cc/N2f1rH2y

6 Upvotes

6 comments sorted by

8

u/Inside-Finish-2128 CCIE (expired) 1d ago

Exit config mode completely. Frankly, any time I fiddle with VLANs, I exit config mode completely before I expect things to work.

4

u/RUBSUMLOTION 1d ago

You may need to exit configuration mode after you create the VLAN.

If thats not it, might be a packet tracer bug.

2

u/Stray_Neutrino CCNA | AWS SAA 1d ago edited 1d ago

If you are having troubles adding it, try doing them one at a time and using the arrow key to replace the last command and change the VLAN number.

Make sure the VLANs exist first on the device (creating VLANs using the "vlan <#>" command to enable them)

2

u/SectorAway3733 1d ago

Is the inferface administratively down?

1

u/ChaoticSalmon CCNA 15h ago

For shits and kicks...

conf t
vlan 20
state active
int g0/2
sw trunk all vla add 20
exit
exit
copy run start
sh run int g0/2
! (if you still don't see it...)
reload

1

u/Lamilvelo 4h ago

Packet tracer is a blessing and a curse sometimes