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

Specifies an index number for the policy profile. Valid values are 1 255.

name name

(Optional) Specifies a name for the policy profile. This is a string from 1 to

 

64 characters.

 

 

 

 

 

 

 

pvid‐status

(Optional) Enables or disables PVID override for this profile. If all

enable disable

classification rules associated with this profile are missed, then this

 

parameter, if specified, determines default behavior.

 

 

 

 

 

 

 

pvid pvid

(Optional) Specifies the PVID to packets, if PVID override is enabled and

 

invoked as default behavior.

 

 

 

 

 

 

 

cos‐status enable

(Optional) Enables or disables Class of Service override for this profile. If all

disable

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.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

cos cos

(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.

 

 

 

 

 

 

 

egress‐vlans

(Optional) Specifies that the port to which this policy profile is applied

egress‐vlans

should be added to the egress list of the VLANs defined by egress‐vlans.

 

Packets will be formatted as tagged.

 

 

 

 

 

 

 

forbidden‐vlans

(Optional) Specifies that the port to which this policy profile is applied

forbidden‐vlans

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 that the port to which this policy profile is applied

untagged‐vlans

should be added to the egress list of the VLANs defined by untagged‐vlans.

 

Packets will be formatted as untagged.

 

 

 

 

 

 

 

append

(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.

 

 

 

 

 

 

 

clear

(Optional) Appends this policy profile setting from settings previously

 

specified for this policy profile by the egress‐vlans,forbidden‐vlans, or

 

untagged‐vlans parameters.

 

 

 

 

 

 

 

precedence

(Optional) Assigns a rule precedence to this profile. Lower values will be

precedence‐list

given higher precedence. For a list of values, refer to the show policy

 

profile command output.

 

 

 

 

 

 

 

11-4 Policy Classification Configuration

Page 354
Image 354
Enterasys Networks 9034313-07 manual Set policy profile