switchport protected

Use this command to enable or disable the protected port feature on an interface.

Command Syntax

Copy
switchport protected (community | isolated | promiscuous)
no switchport protected

Parameters

community

Community mode

isolated

Isolated mode type

promiscuous

Protected mode type

Default

Promiscuous

Command Mode

Interface mode

Applicability

This command was introduced in OcNOS version 5.0. The community mode is not supported in Qumran2 (Q2) series platforms (J2C PLUS, Q2A, Q2C, Q2U).

Example

Copy
#configure terminal
(config)#interface xe1
(config-if)#switchport protected isolated
(config-if)#no switchport protected
 
(config)#interface po1
(config-if)#switchport protected promiscuous
(config-if)#no switchport protected