set policy profile
set policy profile
Use this command to create a policy profile entry.
Syntax
set policy profile profile-index [name name] [pvid-status {enable | disable}]
[pvid pvid] [cos-status {enable | disable}] [cos cos] [egress-vlans egress-
vlans][forbidden-vlans forbidden-vlans] [untagged-vlans untagged-vlans]
[precedence precedence-list] [append] [clear]
Parameters
profile‐index
name name
pvid‐status
enable | disable
pvid pvid
cos‐status enable
| disable
cos cos
egress‐vlans
egress‐vlans
forbidden‐vlans
forbidden‐vlans
untagged‐vlans
untagged‐vlans
append
clear
precedence
precedence‐list
11-4 Policy Classification Configuration
Specifies an index number for the policy profile. Valid values are 1 ‐ 255.
(Optional) Specifies a name for the policy profile. This is a string from 1 to
64 characters.
(Optional) Enables or disables PVID override for this profile. If all
classification rules associated with this profile are missed, then this
parameter, if specified, determines default behavior.
(Optional) Specifies the PVID to packets, if PVID override is enabled and
invoked as default behavior.
(Optional) Enables or disables Class of Service override for this profile. If all
classification rules associated with this profile are missed, then this
parameter, if specified, determines default behavior.
Note: A maximum of 99 rules can be supported per policy profile for policy
profiles that have cos-status enabled.
(Optional) Specifies a CoS value to assign to packets, if CoS override is
enabled and invoked as default behavior. Valid values are 0 to 7.
(Optional) Specifies that the port to which this policy profile is applied
should be added to the egress list of the VLANs defined by egress‐vlans.
Packets will be formatted as tagged.
(Optional) Specifies that the port to which this policy profile is applied
should be added as forbidden to the egress list of the VLANs defined by
forbidden‐vlans. Packets from this port will not be allowed to participate in
the listed VLANs.
(Optional) Specifies that the port to which this policy profile is applied
should be added to the egress list of the VLANs defined by untagged‐vlans.
Packets will be formatted as untagged.
(Optional) Appends this policy profile setting to settings previously
specified for this policy profile by the egress‐vlans,forbidden‐vlans, or
untagged‐vlans parameters.
If append is not used, previous VLAN settings are replaced.
(Optional) Appends this policy profile setting from settings previously
specified for this policy profile by the egress‐vlans,forbidden‐vlans, or
untagged‐vlans parameters.
(Optional) Assigns a rule precedence to this profile. Lower values will be
given higher precedence. For a list of values, refer to the show policy
profile command output.