432 Ethernet Configuration Commands
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
groupid
name
name
no switchport protected
groupid
name
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.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example assigns the name "protected" to group 1.
console(config-if-1/0/1)#switchport protected 1 name
protected
show switchport protected
Use the show switchport protected command in Privileged EXEC mode to
display the status of all the interfaces, including protected and unprotected
interfaces.
Syntax
show switchport protected
groupid
2CSPC4.XCT-SWUM2XX1.book Page 432 Monday, October 3, 2011 11:05 AM