08-24-2017 09:31 AM - edited 03-08-2019 11:49 AM
could anyone help me why we use the command "switchport mode access" in packet tracer ?
switch successfully create vlan without using this command also.
08-24-2017 09:50 AM
That command is not used to create the vlan.
It is used to tell the port what mode to run in ie. is it an access port in just one vlan or is it a trunk port carrying traffic for multiple vlans.
Jon
08-24-2017 12:25 PM
Hi
As Jon mentioned, this command line is not used to create a VLAN, it is configured under a interface to represent it as access port:
interface g1/0/1
switchport
switchport mode access
switchport access vlan 100
no shutdown
This type of port is used to connect hosts only.
:-)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide