cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2656
Views
0
Helpful
2
Replies

command in cisco packet tracer

nizamshaikh2504
Level 1
Level 1

could anyone help me why we use the command "switchport mode access" in packet tracer ?

switch successfully create vlan without using this command also.

2 Replies 2

Jon Marshall
Hall of Fame
Hall of Fame

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

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. 

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<
Review Cisco Networking products for a $25 gift card