set policy profile
9-4 Policy Classification Configuration
Parameters
Ifoptionalparametersarenotspecified,nonewillbeapplied.
Mode
Switchcommand,read‐write.
Example
Thisexampleshowshowtocreateapolicyprofile1named“netadmin”withPVIDoverride
enabledforPVID10,and Class‐of‐ServiceoverrideenabledforCoS5.ThisprofilecanuseVLAN
10foruntaggedegress:
C2(su)->set policy profile 1 name netadmin pvid-status enable pvid 10 cos-status
enable cos 5 untagged-vlans 10
profile‐index Specifiesanindexnumberforthepolicyprofile.Validvaluesare1‐255.
namename (Optional)Specifiesanameforthepolicyprofile.Thisisastringfrom1to
64characters.
pvid‐status
enable|disable
(Optional)EnablesordisablesPVIDoverrideforthisprofile.Ifall
classificationrules
associatedwiththisprofilearemissed,thenthis
parameter,ifspecified,determinesdefaultbehavior.
pvidpvid (Optional)SpecifiesthePVIDtopackets,ifPVIDoverrideisenabledand
invokedasdefaultbehavior.
cos‐statusenable
|disable
(Optional)EnablesordisablesClassofServiceoverrideforthisprofile.Ifall
classificationrulesassociated
withthisprofilearemissed,thenthis
parameter,ifspecified,determinesdefaultbehavior.
coscos (Optional)SpecifiesaCoSvaluetoassigntopackets,ifCoSoverrideis
enabledandinvokedasdefaultbehavior.Validvaluesare0to7.
egress‐vlans
egress‐vlans
(Optional)Specifiesthattheporttowhichthis
policyprofileisapplied
shouldbeaddedtotheegresslistoftheVLANsdefinedbyegress‐vlans.
Packetswillbeformattedastagged.
forbidden‐vlans
forbidden‐vlans
(Optional)Specifiesthattheporttowhichthispolicyprofileisapplied
shouldbeaddedasforbiddentotheegresslistofthe
VLANsdefinedby
forbidden‐vlans.Packetsfromthisportwillnotbeallowedtoparticipatein
thelistedVLANs.
untagged‐vlans
untagged‐vlans
(Optional)Specifiesthattheporttowhichthispolicyprofileisapplied
shouldbeaddedtotheegresslistoftheVLANsdefinedbyuntagged‐vlans.
Packets
willbeformattedasuntagged.
append (Optional)Appendsthispolicyprofilesettingtosettingspreviously
specifiedforthispolicyprofilebytheegress‐vlans,forbidden‐vlans,or
untagged‐vlansparameters.
Ifappendisnotused,previousVLANsettingsarereplaced.
clear (Optional)Appendsthispolicyprofilesettingfromsettingspreviously
specifiedfor
thispolicyprofilebytheegress‐vlans,forbidden‐vlans,or
untagged‐vlansparameters.
precedence
precedence‐list
(Optional)Assignsaruleprecedencetothisprofile.Lowervalueswillbe
givenhigherprecedence.Foralistofvalues,refertotheshowpolicy
profilecommandoutput.