598 VLAN Commands
Default Configuration
The default for this command is access.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
This command has no user guidelines.
Example
The following example configures 1/g8 to access mode.
console(config)#interface ethernet 1/g8
console(config-if-1/g8)#switchport mode access
switchport protected
Use the switchport protected command in Interface Configuration mode to 
configure a protected port. The 
groupid
 parameter identifies the set of 
protected ports to which this interface is assigned. You can only configure an 
interface as protected in one group. You are required to remove an interface 
from one group before adding it to another group. 
Port protection occurs within a single switch. Protected port configuration 
does not affect traffic between ports on two different switches. No traffic 
forwarding is possible between two protected ports.
Syntax
switchport protected 
groupid
no switchport protected 
•
groupid-
-Identifies which group this port will be protected in. (Range: 0-2)
Default Configuration
No protected switchports are defined.