Assigning Ports to Policy Profiles
11-14 Policy Classification Configuration
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.
Example
ThisexampleshowshowtoallowGigabitEthernetports5through15inslot1totransmitframes
accordingtopolicyprofile1:
B5(su)->set policy port ge.1.5-15 1
Note: Refer to Appendix A, Policy and Authentication Capacities for information about policy
limits for this platform.
For information about... Refer to page...
set policy port 11-14
clear policy port 11-15
port‐string Specifiestheport(s)toaddtothepolicyprofile.Foradetaileddescription
ofpossibleport‐stringvalues,referto“PortStringSyntaxUsedintheCLI”
onpage 7‐1.
profile‐index SpecifiestheIDofthepolicyprofile(role)towhichtheport(s)willbe
added.Thisvalue
mustmatchtheprofile‐indexvalueassignedusingthe
setpolicyprofilecommand(“setpolicyprofile”onpage 11‐4)inorder
forapolicyprofiletobeactiveonthespecifiedport.