Specifications
Configuring Policy
May 18, 2009 Page 15 of 32
Configuring Policy
Thissectionpresentsconfigurationproceduresandtablesincludingcommanddescriptionand
syntaxinthefollowingpolicyareas:profile,classification,anddisplay.
Procedure 1describeshowtoconfigurepolicyrolesandrelatedfunctionality.
Procedure 1 Configuring Policy Roles
Step Task Command(s)
1. In switch command mode, create a policy role.
• name - (Optional) Specifies a name for this
policy profile; used by the filter-ID attribute.
This is a string from 1 to 64 characters.
• pvid-status - (Optional) Enables or disables
PVID override for this policy profile. If all the
classification rules associated with this profile
are missed, then this parameter, if specified,
determines the default VLAN for this profile.
• pvid - (Optional) Specifies the PVID to assign
to packets, if PVID override is enabled and
invoked as the default behavior.
• cos-status - (Optional) Enables or disables
Class of Service override for this policy
profile. If all the classification rules associated
with this profile are missed, then this
parameter, if specified, determines the
default CoS assignment.
• cos - (Optional) Specifies a CoS value to
assign to packets, if CoS override is enabled
and invoked as the default behavior. Valid
values are 0 to 255.
• egress-vlans - (Optional) Specifies 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.
• forbidden-vlans - (Optional) Specifies 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.
• untagged-vlans - (Optional) Specifies 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.
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]
[append] [clear] [
tci-overwrite
{enable | disable}] [precedence
precedence-list]