Configuring Policy Profiles set policy profile
8-4 Policy Classification Configuration
Parameters
Defaults
Ifoptionalparametersarenotspecified,nonewillbeapplied.
Mode
Switchcommand,ReadWrite.
Example
Thisexampleshowshowtocreateapolicyprofile1named“netadmin”withPVIDoverride
enabledforPVID10,andClassofServiceoverrideenabledforCoS5.ThisprofilecanuseVLAN
10foruntaggedegress:
Matrix(rw)->set policy profile 1 name netadmin pvid-status enable pvid 10 cos-
status enable cos 5 untagged-vlans 10
profileindex Specifiesanindexnumberforthepolicyprofile.Validvaluesare1‐
1023.
namename (Optional)Specifiesanameforthepolicyprofile.Thisisastringfrom1
to64characters.
pvidstatusenable|
disable
(Optional)EnablesordisablesPVIDoverrideforthispolicyprofile.If
alltheclassificationrulesassociatedwiththisprofilearemissed,then
thisparameter,ifspecified,determinesdefaultbehavior.
pvidpvid (Optional)SpecifiesthePVIDtoassigntopackets,ifPVIDoverrideis
enabledandinvokedasthedefaultbehavior.
cosstatusenable|
disable
(Optional)EnablesordisablesClassofServiceoverrideforthispolicy
profile.Ifalltheclassificationrulesassociatedwiththisprofileare
missed,thenthisparameter,ifspecified,determinesdefaultbehavior.
coscos (Optional)SpecifiesaCOSvaluetoassigntopackets,ifCoSoverrideis
enabledandinvokedasthedefaultbehavior.Validvaluesare0to255.
egressvlansegress
vlans
(Optional)Specifiesthattheporttowhichthispolicyprofileisapplied
shouldbeaddedtotheegresslistoftheVLANsdefinedbyegress-
vlans.Packetswillbeformattedastagged.
forbiddenvlans
forbiddenvlans
(Optional)Specifiesthattheporttowhichthispolicyprofileisapplied
shouldbeaddedasforbiddentotheegresslistoftheVLANsdefined
byforbidden-vlans.Packetsfromthisportwillnotbeallowedto
participateinthelistedVLANs.
untaggedvlans
untaggedvlans
(Optional)Specifiesthattheporttowhichthispolicyprofileisapplied
shouldbeaddedtotheegresslistoftheVLANsdefinedbyuntagged-
vlans.Packetswillbeformattedasuntagged.
append (Optional)Appendsthispolicyprofilesettingtosettingspreviously
specifiedforthispolicyprofilebytheegressvlans,forbiddenvlans,or
untaggedvlansparameters.

If append is not used, previous VLAN settings are replaced.

clear (Optional)Clearsthispolicyprofilesettingfromsettingspreviously
specifiedforthispolicyprofilebytheegressvlans,forbiddenvlans,or
untaggedvlansparameters.