Protection Port
The protected port ensures that the ports on the same vswitch do not communicate with each other.Protection ports do not forward any data to other protection ports, including unicast, multicast, and broadcast packets. Transmission cannot be performed between second-level protection ports,
Transmission between all protected ports must be forwarded through the layer-3 device. The transmission between the protected port and the non-protected port is not affected.
Step 1: Enter the global configuration mode.
Switch # config Terminal
Step 2: Specifies the interface to be configured.
Switch (config) # interface-ID
Step 3: Configure the interface as a protection port.
Switch (config-If) # switchport protected
Step 4: Returns the privileged configuration mode.
Switch (config-If) # End
Step 5: Displays and verifies the current configuration of this interface.
Switch # Show interfaces interface-ID switchport
Step 6: Save the configuration.
Switch # copy running-config startup-config
To disable the protection port, you can use the "No switchport protected" interface to configure the command.