I have three switches and I configured VLAN with trunk on those switches but my requirement is VLAN 1, VLAN 2, VLAN 3 has to be configured on Switch 1 and Switch 3, but I don't need VLAN 2 configuration on Switch 2, so for this requirement for configuration, what should I have to configure and in which switch?
Switch 1 <---> Switch 2 <---> Switch 3
VLAN 1-3 VLAN 1,3 VLAN 1-3