Command Reference Guide

Protected Ports Commands
CLI Command Reference
September 2014 Page 325
HP Moonshot Switch Module CLI Command Reference
switchport protected (Interface Config)
Use this command to add an interface to a protected port group. 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.
no switchport protected (Interface Config)
Use this command to configure a port as unprotected. The groupid parameter identifies the set of protected
ports to which this interface is assigned.
show switchport protected
This command displays the status of the interfaces configured as members of the protected port group
specified by the
groupid.
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.
Default unprotected
Format
switchport protected groupid
Mode Interface Config
Format
no switchport protected groupid
Mode Interface Config
Format
show switchport protected groupid
Mode •Privileged EXEC
User EXEC
Term Definition
Name An 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 The ports that are configured as protected for the group identified with groupid. If no port
is configured as protected for this group, this field is blank.