Assigning Ports to Policy Profiles
9-14 Policy Classification Configuration
Mode
Switchcommand,read‐write.
Example
Thisexampleshowshowtoremovealladministrativeandpolicyindexrules:
D2(su)->clear policy all-rules
Assigning Ports to Policy Profiles
Purpose
Toassignandunassignportstopolicyprofiles.
Commands
set policy port
Usethiscommandtoassignportstoapolicyprofile.
Syntax
set policy port port-string profile-index
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Note: The D2 switch supports up to eight user policies per port.
For information about... Refer to page...
set policy port 9-14
clear policy port 9-15
port‐string Specifiestheport(s)toaddtothepolicyprofile.Foradetaileddescription
ofpossibleport‐stringvalues,referto“PortStringSyntaxUsedintheCLI”
onpage 4‐1.
profile‐index SpecifiestheIDofthepolicyprofile(role)towhichtheport(s)willbe
added.Thisvalue
mustmatchtheprofile‐indexvalueassignedusingthe
setpolicyprofilecommand(“setpolicyprofile”onpage 9‐4)inorderfor
apolicyprofiletobeactiveonthespecifiedport.