Switchport mode access ??

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

Reply to
BUZZ
Loading thread data ...

It defines whether the port is a access port (end host) or a trunk port (multiple vlans, uplink ports, etc)

Reply to
C Kim

Yes, to your 2nd question. All ports are members of vlan 1 unless explicitly configured for another vlan.

Reply to
Joel Salminen

Thank you both for your answers, it helped me :-)

Regards Martin

Reply to
BUZZ

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.