groupid- -Identifies which group this port will be protected in. (Range: 0-2)
•
Default Configuration
No protected switchports are defined.
Command Mode
Interface Configuration (Ethernet) mode
User Guidelines
This command has no user guidelines.
Example
The following example configures Ethernet port 1/0/1 as a member of
protected group 1.
console(config)#interface gigabitethernet 1/0/1
console(config-if-1/0/1)#switchport protected 1
switchport protected name
Use the switchport protected name command in Global Configuration mode
to adds the port to the protected group 1 and also sets the group name to
"protected".
Syntax
switchport protected
no switchport protected
groupid — Identifies which group the port is to be protected in.
•
(Range: 0–2)
name — Name of the group. (Range: 0-32 characters)
•
Default Configuration
This command has no default configuration.
groupid
name
name
groupid
name
Ethernet Configuration Commands
403