SW-2(config-if)#switchport mode ?
access Set trunking mode to ACCESS unconditionally
dot1q-tunnel set trunking mode to TUNNEL unconditionally
private-vlan Set private-vlan mode
trunk Set trunking mode to TRUNK unconditionally
I was going through Port security tutorial and i faced error that port should be in access mode. Kindly mention it in the tutorial. https://networklessons.com/cisco/ccna-routing-switching-icnd1-100-105/how-to-configure-port-security-on-cisco-switch/