3.1.7. protected

Syntax

protected

no protected

Parameter

Default

Default protected state is no protected.

Mode

Interface Configuration

Usage

Use “protected” command to make port to be protected. Protected port is only allowed to communicate with unprotected port. In other words, protected port is not allowed to communicate with another protected port.

Use no form to make port unprotected.

Example

This example shows how to configure port fa1 and fa2 to be protected port.

Switch(config)# interface range fa1-2
Switch(config-if-range)# protected

This example shows how to show current protected port state.

Switch# show interfaces fa1-2 protected
Port | Protected State
-------+-----------------
fa1 |enabled
fa2 |enabled