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

switchport mode access

jspsumit8880
Frequent Visitor
Frequent Visitor

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

 

 

2 Replies 2

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

M02@rt37
VIP
VIP

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

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.