Configuring Protected Ports
7-52 Port Configuration
Configuring Protected Ports
TheProtectedPortfeatureisusedtopreventportsfromforwardingtraffictoeachother,even
whentheyareonthesameVLAN.Portsmay bedesignatedaseitherprotectedorunprotected.
Portsareunprotectedbydefault.Multiplegroupsofprotectedportsaresupported.
Protected Port Operation
Portsthatareconfiguredtobeprotectedcannotforwardtraffictootherprotectedportsinthe
samegroup,regardlessofhavingthesameVLANmembership.However,protectedportscan
forwardtraffictoportswhichareunprotected(notlistedinanygroup).Protectedportscanalso
forwardtraffictoprotectedportsin
adifferentgroup,iftheyareinthe sameVLAN.Unprotected
portscanforward traffictobothprotectedandunprotectedports.Aportmaybelongtoonlyone
groupofprotectedports.
Thisfeatureonlyappliestoportswithinaswitchorastack.Itdoesnotapplyacrossmultiple
switchesinanetwork.
Commands
set port protected
Usethiscommandtospecifyaporttobeprotectedandassigntheporttoagroupofprotected
ports.Aportcanbeassignedtoonlyonegroup.
Syntax
set port protected port-string group-id
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
For information about... Refer to page...
set port protected 7-52
show port protected 7-53
clear port protected 7-53
set port protected name 7-54
show port protected name 7-54
clear port protected name 7-55
port‐string Specifiestheportorportstobeprotected.
group‐id Specifiestheidofthegrouptowhichtheportsshouldbeassigned.Idcan
rangefrom0to2.