How to Configure Protected Ports (Switching)

by Shabeer ibm

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.

For security reason we have to block computer A and computer B from communicating each other.But both Computer A and Computer B can communicate with server.In such scenario we can use protected ports.By default all ports are unprotected ports.

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