Quick Reference Guide

VLAN Commands | 149
Mode
User Exec; Privileged Exec
Command
History
Example
Figure 7-50. Example of Output from the show switchport protected Command
Field
Descriptions
NameAn optional name of the protected port group. The name can be up to 32 alphanumeric
characters long, including blanks. The default is blank.
Member Ports–List of ports, which are configured as protected for the group identified with
groupid. If
no port is configured as protected for this group, this field is blank.
Related
Commands
switchport protected (Global Config)
Use this command to create and name a protected port group that includes all ports on the switch.
Syntax
[no] switchport protected groupid [name name]
Parameters
Use the no switchport protected command to remove a protected port group. Alternatively, use the
name name pair to remove the name from the group.
Default
unprotected
Mode
Global Config
Command
History
Version 2.5.1 Introduced
(Force10) #show switchport protected 0
Name.........................................willstest
Member Ports :
1/0/10
switchport protected (Global Config) Create a protected port group that includes all ports on the switch
Note: 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.
groupid
Identify the set of protected ports.
Range: 0–2
name name
(OPTIONAL) Assign a name to the protected port group.
Default: blank
Range: up to 32 alphanumeric characters long, including blanks
Version 2.5.1 Introduced