Configuring Policy Profiles set policy profile
8-4 Policy Classification Configuration
Parameters
Defaults
Ifoptionalparametersarenotspecified,nonewillbeapplied.
Mode
Switchcommand,Read‐Write.
Example
Thisexampleshowshowtocreateapolicyprofile1named“netadmin”withPVIDoverride
enabledforPVID10,and Class‐of‐ServiceoverrideenabledforCoS5.ThisprofilecanuseVLAN
10foruntaggedegress:
Matrix(rw)->set policy profile 1 name netadmin pvid-status enable pvid 10 cos-
status enable cos 5 untagged-vlans 10
profile‐index Specifies anindexnumberforthepolicyprofile.Validvaluesare1‐
1023.
namename (Optional)Specifiesanameforthepolicyprofile.Thisisastringfrom1
to64characters.
pvid‐statusenable|
disable
(Optional)EnablesordisablesPVIDoverrideforthispolicyprofile.If
allthe
classificationrulesassociatedwiththisprofilearemissed,then
thisparameter,ifspecified,determinesdefaultbehavior.
pvidpvid (Optional)SpecifiesthePVIDtoassigntopackets,ifPVIDoverrideis
enabledandinvokedasthedefaultbehavior.
cos‐statusenable|
disable
(Optional)EnablesordisablesClassofServiceoverrideforthispolicy
profile.Ifalltheclassificationrulesassociatedwiththisprofileare
missed,thenthisparameter,ifspecified,determinesdefaultbehavior.
coscos (Optional)SpecifiesaCOSvaluetoassigntopackets,ifCoSoverrideis
enabledandinvokedasthedefaultbehavior.Validvaluesare0to255.
egress‐vlansegress‐
vlans
(Optional)Specifiesthattheporttowhichthispolicyprofileisapplied
shouldbeaddedtotheegresslistoftheVLANsdefinedby
egress-
vlans
.Packetswillbeformattedastagged.
forbidden‐vlans
forbidden‐vlans
(Optional)Specifiesthattheporttowhichthispolicyprofileisapplied
shouldbeaddedasforbiddentotheegresslistoftheVLANsdefined
by
forbidden-vlans.Packetsfromthisportwillnotbeallowedto
participateinthelistedVLANs.
untagged‐vlans
untagged‐vlans
(Optional)Specifiesthattheporttowhichthispolicyprofileisapplied
shouldbeaddedtotheegresslistoftheVLANsdefinedby
untagged-
vlans
.Packetswillbeformattedasuntagged.
append (Optional)Appendsthispolicyprofilesettingtosettingspreviously
specifiedforthispolicyprofilebytheegress‐vlans,forbidden‐vlans,or
untagged‐vlansparameters.
If append is not used, previous VLAN settings are replaced.
clear (Optional)Clearsthispolicyprofilesettingfromsettingspreviously
specifiedforthispolicyprofilebytheegress‐vlans,forbidden‐vlans,or
untagged‐vlansparameters.