Today I want to show you:
- How to configure VLANs
- How to add interface to a VLAN
- How to establish 802.1q trunk between two Ethernet switches and filter VLANs
- How to configure VLANIF (VLAN interface or simply SVI).
Look at the following topology:
Let’s assume that we want to configure two switches, which are connected via Ethernet link. Both switches have PCs connected to them. We want to allow PC101 to be able to reach PC102 and PC201 to be able to reach PC202.To do so, we need to add two different VLANs, configure Ethernet Trunk between switches and add PCs to the correct VLAN.