We have two computers, one switch and one server,everything is in one VLAN and the two computers and server can communicate with each other.
"After enabling protected ports, the ports we configured protected ports cant communicate each other.protected ports can communicate with Unprotected Ports"
Simply we can say
Protected port <--> Unprotected = working
Protected port <--> Protected port = not working
Switch(config)#interface <Interface Name>
Configure "Switchport protected" command on both interfaces where computer A and Computer B is connected.Then we can say interfaces connected to ComputerA and ComputerB are protected. Interface connected to SERVER is still unprotected.You can verify the working of protected ports by pinging each other.Also we can verify it by using below show command
#show interfaces <Interface Name> switchport
#show interfaces <Interface Name> switchport | include Protected
How to Configure Protected Ports (Switching)
by Shabeer ibm