What does the last commandline do? interface FastEthernet0/1 description VLAN2-PublicNet switchport access vlan 2 switchport mode access ----- If I did not have the line: switchport access vlan 2, would the last line not make FastEthernet0/1 a member of VLAN1? Regards Martin
It defines whether the port is a access port (end host) or a trunk port (multiple vlans, uplink ports, etc)
Yes, to your 2nd question. All ports are members of vlan 1 unless explicitly configured for another vlan.
Actually you are wrong ! You can never ever remove a SWITCHPORT out of a the NATIVE VLAN " 1 " unless you SHUTDOWN VLAN " 1 " on the VLAN Interface itself. Joel is wrong and indicates that all ports are a member of vlan 1 unless specifically configured for another vlan. not true, even though you configure your self solely to be in VLAN 100, unless you "SHUTDOWN" vlan 1, you will always be in the vlan 1 membership. Just wanted to make that correction, I hope it helps!