05-22-2009 08:05 AM - edited 03-06-2019 05:53 AM
Imagine I have the following:
Switch1 (all ports on Vlan1)
fa0/10 ---connected to-----fa0/10Switch2
Switch2 (all ports on Vlan2)
If I want hosts from Vlan2 to communicate with switch1 Vlan1 hosts, I would need to do:
switch1
int fa0/10
switchport mode trunk
switchport allowed vlan 2
and do the same on switch2.
Is that correct?
Solved! Go to Solution.
05-22-2009 08:14 AM
That's correct, but you'd need to create a vlan 2 on the vlan 1 switch and vice versa. The vlan's need to match on both switches. Then configure your int fa0/10 like your example.
You *may* need to change your line to allow vlan 1 also (but it's native by default, so you may not):
switchport allowed vlan add 1,2
HTH,
John
05-22-2009 08:14 AM
That's correct, but you'd need to create a vlan 2 on the vlan 1 switch and vice versa. The vlan's need to match on both switches. Then configure your int fa0/10 like your example.
You *may* need to change your line to allow vlan 1 also (but it's native by default, so you may not):
switchport allowed vlan add 1,2
HTH,
John
05-24-2009 02:52 PM
John's right. Aside from creating the VLAN 2 SVI, if your switch is the 2900/3500, 2950/3550, X4013+, you need to create VLAN 2 on the VLAN database.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: