VLAN Switch Configuration Example
Create VLAN 10 |
S1 (config)# vlan 10 |
Give VLAN 10 a Name |
S1 (config-vlan)# name Students |
Create VLAN 20 |
S1 (config)# vlan 20 |
Give VLAN 20 a Name |
S1 (config-vlan)# name Faculty |
Drop 1 Mode Level |
S1 (config-vlan)# exit |
Configure interface f0/1 |
S1 (config)# interface f0/1 |
Set Interface to Trunk Mode |
S1 (config-if)# switchport mode trunk |
Configure interface |
S1 (config-if)# interface f0/5 |
Set Interface to Trunk Mode |
S1 (config-if)# switchport mode trunk |
Configure interface |
S1 (config-if)# interface f0/6 |
Set Interface to Access Mode |
S1 (config-if)# switchport mode access |
Associate Interface with VLAN |
S1 (config-if)# switchport access vlan 10 |
This is the Switch part of the easiest VLAN you can set up