06-03-2024 01:59 AM
difference between two commands
switchport mode access
sw access Vlan 10 and switch port access Vlan 10. what will happen if switchport mode access command missing on the switch
06-03-2024 02:50 AM
I dont get which commands ypu want to compare
And for using only
Switchport access vlan <x>
This command do two things
1- make port as access port without need of switchport mode access
2- assign vlan<x> to this port
MHM
06-03-2024 04:26 AM
Hello @jspsumit8880
Switch-Port Mode—Specifies whether the port is an access port connected to an end device or a trunk port for uplink connectivity. Access VLAN—Specifies the VLAN id for the port, when the switch-port mode is access.
-- Native VLAN—Specifies the VLAN for incoming untagged packets, when the switch-port mode is trunk
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