Managing Profiles
About Profile Manager
PSM allows users to create or clone profiles that can be used to configure Ethernet services.
The Profile Manager provides an easy way for you to create new profiles, as well as to manage the various profiles already associated with devices in the network. PSM automatically discovers existing profiles in the network, and makes them visible in the Profile Manager, organized by network element.
A profile can exist in the following forms:
as a profile stored in PSM
as a profile stored on the network element
A profile that is stored in PSM is called a profile template. You can use the Profile Manager to create profile templates:
by specifying all parameters explicitly
by cloning from another profile template
by cloning from a profile associated with an actual device in the network
Profile templates are stored in PSM and are applied to the specified network elements during a service activation operation. Applying a profile template to a network element causes that profile to be created and stored on the network element using the same name as the template. After service activation, the profile exists both as a template in PSM and as an actual profile on the network element.
You can create, edit, or delete profile templates on PSM. You cannot use PSM to edit or delete profiles discovered on the network elements.
There is no synchronization between the profile templates defined in PSM and the network. Changes to the templates are not reflected in the network, and changes in the network are not automatically copied back to the respective profile template. Changes in the network, however, are reflected in the discovered profiles for the respective network elements.
Profile templates are part of the replicated data set when running with multiple servers. For more information on replicated data, see Running Multiple Servers with Server Replication.
The Profile Manager screen is accessible via the Edit menu item Profiles, or via the toolbar button shown below.
The Profile Manager screen is shown below.
Selecting a Profile During Service Activation
When you activate an Ethernet service, you have the ability to specify which profile to use on a port. The possible profiles include the list of profile templates in PSM, and the list of profiles discovered on the network element to which the port belongs. If you want to use a profile found on another network element, you must first clone that profile into PSM so that it appears in the list of profile templates.
Note that it is normal for a profile template in PSM and a profile on a device to have the same name. The reason is that when you activate a service and you specify a profile template, PSM creates a profile on the device with the same name as the template.
During service activation, when confronted with a choice between a profile template on PSM and the equivalent profile on the device, you should always select the profile on the device. If you select the profile template instead, you are in effect requesting PSM to create a new profile on the device with the same name as the profile template, which will result in an error because that profile already exists.
For example, in the following profile selection dialog (during service activation), the profile GOLD appears as both a profile template and a profile:
In such situations, you should always select the GOLD profile on the device (i.e. where the Source is DEVICE) rather than the GOLD profile template (i.e. where the Source is TEMPLATE). In fact, PSM will not allow you to select the GOLD profile template because doing so means that you are requesting PSM to create a new GOLD profile on the device, but the GOLD profile already exists on the device.
Managing Profile Templates
Creating a Profile Template
- From the main menu choose Edit>Profiles, or click the Profile Manager button in the
toolbar.
The Profiles window displays.
- In the left panel, right-click on Templates and choose a profile type from the pop-up menu, as shown
below.
The parameters for the selected profile type display in the right panel. The screen below shows the Bandwidth Profile parameters.
For information on setting parameters for the Bandwidth, Service Policy, Class Map, or Service Map profiles, see:
- Enter a unique name for the profile in the Name field, and set the other parameters using the drop-down menu.
- Click Apply.
The newly-created profile appears under Templates in the left panel of the Profiles window.
Editing an Existing Profile Template
Only profile templates can be edited. Auto-discovered profiles from network elements cannot be edited using PSM.
- From the main menu choose Edit>Profiles. The Profiles window displays.
- Expand the Templates tree and select a profile to
edit from the profile Templates list. The profile parameters
are displayed in the Selected Profile section on the right
side of the screen, as shown below.
- To enable editing of the attributes, click the
Edit button.
Note The name of the profile template along with some other parameters cannot be changed this way. See Creating a profile template through cloning for this type of operation.
- Modify the parameters.
- Click Apply to save the changes.
Creating a Profile Template Through Cloning
You can clone from an existing profile (discovered from a network element) or from a profile template. Cloning creates a new template with all the same parameter values as the original. Cloned templates let users deploy proven profiles, thus reducing user input error.
- From the main menu choose Edit>Profiles. The Profiles window is displayed.
- Expand the profile or profile template list so that the profile or profile template you want to use as the source is displayed.
- Right-click the profile or profile template that you want
to be the source, and choose Clone from the pop-up
menu.
The profile parameters are displayed in the Selected Profile section on the right panel with the Name field blank.
- Enter a name, edit the parameters as required, and
click the Apply button.
The cloned profile template is created and displayed in the expanded profile template list, and the original profile or profile template is left unmodified.
Deleting a Profile Template
Only profile templates can be deleted. Auto-discovered profiles from network elements cannot be deleted using PSM.
- From the main menu choose Edit>Profiles. The Profiles window displays.
- In the Profiles area, right-click a profile Template
from the expanded list, and choose Delete from the pop-up menu
A confirmation dialog displays.
- Select OK to delete profile template, or Cancel to keep the profile template.
Bandwidth Profile Templates
Bandwidth Profiles are used for policing traffic to:
control the maximum rate of traffic sent or received on an interface.
partition a network into multiple priority levels or classes of service.
A bandwidth profile is the starting point of any policing function and can be configured for use at the CoS queue, logical interface, or Layer 2 (MAC) level. The figure below shows the parameters for a bandwidth profile.
There are three modes supported for Bandwidth Profile Templates:
Two-Rate TCM (TriColor Marker)
Single-Rate TCM
CAR
For information about configuring CIR, CBS, EIR and EBS and Quality of Service / Class of Service , see the BTI7000 Series packetVX Solutions Guide.
Pre-10.3 BTI7000 Series network elements and all BTI700 Series network elements use peak information rate and peak burst size instead of excess information rate and excess burst size. When managing those devices, PSM internally converts the EIR and EBS to the peak information rate and peak burst size. This conversion is performed transparently to the operator. The values shown on PSM continue to be the EIR and EBS, whereas the values shown on the CLI on those devices are the peak information rate and peak burst size.
TCM Bandwidth Profiles
The Three Color (or Tricolor) Marking (TCM) scheme classifies packets as green, yellow or red based on user-defined rates and burst size values.
- To create this type of Bandwidth Profile template, click the New button and select Bandwidth from the popup dialog.
- In the Selected Profile attributes pane on the right
side, select Two-Rate TCM or Single-Rate TCM from the Mode attribute.
You must provide a name for the profile template a number of rate values along with Color Mode and Action attributes.
- Click Apply to accept the changes, or Discard to cancel.
Two-rate TCM
Two-Rate TCM classifies packets based on two rates and two burst sizes. Two-Rate TCM is useful when the peak rate needs to be enforced.
The two rate values are Committed Information Rate (CIR) and Excess Information Rate (EIR).
The two burst size values are Committed Burst Size (CBS) and Excess Burst Size (EBS).
Traffic is marked green, yellow or red based on whether the packets arriving are below the CIR (green), exceed the CIR but not the EIR (yellow), or exceed the EIR (red).
Single-rate TCM
Single-Rate TCM classifies packets based on a single rate and two burst sizes. Single-Rate TCM is useful when only the burst size matters.
The rate value is Committed Information Rate (CIR).
The two burst size values are Committed Burst Size (CBS) and Excess Burst Size (EBS).
Traffic is marked green, yellow or red based on whether the packets arriving are below the CBS (green), exceed the CBS but not the EBS (yellow), or exceed the EBS (red).
CAR Bandwidth Profile Template
Committed Access Rate (CAR) allows you to configure a value above which any traffic is discarded.
To create this type of Bandwidth Profile template, click the New button and select “CAR” from the Mode attribute. Enter a name for the profile template and a CAR value. Click Apply to commit the changes or Discard to cancel.
This type of Bandwidth Profile can be used only on the BTI700 Series network elements.
Color Mode and Actions
The color mode for both Two-Rate and Single-Rate TCM is the same, either Color Aware or Color Blind. Color aware indicates that the existing color of the packet is taken into consideration when applying the bandwidth profile. Color blind indicates that the existing classification is ignored. The color (green or yellow) of a packet can be determined from the DEI bit in the VLAN tag.
Each color has an associated action that can be performed. The Conform Action applies to packets that are colored green and the Exceed Action applies to packets that are colored yellow. Incoming traffic that violates the profile is dropped. The options for assigning actions are as follows:
None: no action is taken
Remark DSCP: Sets the IP DSCP (differentiated service code point) value. The value can be in the range 0-63.
In addition, the Conform Action has the following option:
Set ToS from Priority: Sets the IP type of service field
Setting DEI on Exceed Traffic
Traffic that is classified as yellow can have the DEI bit set in the frame.
To select this option, choose Exceed Set DEI.
This is only applicable for the BTI7000 Series network elements.
Internal Priority for Bandwidth Profile Templates
The internal priority is the primary determinant of the QoS for the flow. It is a value from 0 to 7 (inclusive) and is used to select the appropriate transmit queue for the packet when a bandwidth profile is used. If the bandwidth profile is assigned to a UNI, all frames received on the UNI will be assigned the indicated internal priority.
See the BTI7000 Series documentation for more details.
Class Map Profile Templates
Class maps are not supported on the BTI805, BTI821, and BTI822.
Class Map Profiles specify the fields of a packet to be matched in order to determine the packets to classify.
In Class Map profiles, at least one match criteria must be added. All criteria added to the profile must match in order for a packet to be classified by a particular Class Map Profile.
From the main menu choose Edit>Profiles. The Profiles window is displayed.
Right-click beside Templates and choose Create Class Map Profile.
Class Map fields are added to the Selected Profile window on the right.
Enter a name for the class map in the Name field.
From the type drop-down menu, select a class map type:
Ingress per Cos
Egress per CoS
Service Map
From the New Match drop-down list, select the criteria to match.
Click Add.
A new attribute is displayed based on the selection and a value will be required. An X will be displayed next to the attribute allowing the match criteria to be removed if desired.
The BTI700 Series devices only support the following subset of Match criteria:
C-VLAN
C-VLAN Priority
S-VLAN Priority
Source MAC
Destination MAC
Class Map profile templates work in conjunction with Service Policy Profile Templates. See Example: Activating EVPLAN and EVPLINE services using service maps for flow redirection for an example on how to configure class maps.
Service Policy Profile Templates
Service policies are not supported on the BTI805, BTI821, and BTI822.
Service Policy Profile Templates are used to pair Bandwidth Profiles with Class Map Profiles.
Any number of Ingress or Egress Class Map Profiles can be paired with Bandwidth Profiles in a Service Policy Profile provided that:
all pairings are of the same type, either Ingress or Egress
a Class Map profile can appear only once in a given Service Policy profile
To create a Service Policy Profile Template:
Create at least one Bandwidth Profile Template and one Class Map Profile Template. See Bandwidth profile templates and Class map profile templates.
From the main menu choose Edit>Profiles. The Profiles window is displayed.
Right-click beside Templates and choose Create Service Policy Profile. The Selected Profile fields display on the right.
In the Name field, enter a unique name for the Service Policy.
From the Class Map and Bandwidth drop-down menus select a Class Map/Bandwidth pairing.
To add subsequent pairings to the Service Policy Profile, click Add and select the desired Class Map(s) and Bandwidth Profile(s).
When you are done, click Apply.
See Example: Activating EVPLAN and EVPLINE services using service maps for flow redirection for an example on how to configure service policies.
Service Map Profile Templates
Service Map Profile templates are used to associate Class Map Profiles with Service Policies.
Any number of Class Map Profiles can be specified provided that each Class Map Profile appears only once in a given Service Map Profile.
To create a Service Map Profile Template:
Create at least one Class Map Profile Template of type Service Map. See Class map profile templates.
From the main menu choose Edit>Profiles. The Profiles window is displayed.
Right-click beside Templates and choose Create Service Map Profile. The Service Map Profile window is displayed on the right.
In the Name field, enter a unique name for the Service Map Profile.
From the Class Map drop-down menu select a Class Map.
To add more Class Maps to this Service Map Profile, click Add and select the desired Class Map(s).
When you are done, click Apply.
See Example: Activating EVPLAN and EVPLINE services using service maps for flow redirection for an example on how to configure service maps.
SLA Measurement Profile Templates
Use this procedure to create Y.1731-based SLA (service level agreement) Measurement Profile Templates which can be assigned to Ethernet services.
To create an SLA Measurement Profile Template:
From the main menu choose Edit>Profiles. The Profiles window is displayed.
Right-click beside Templates and choose Create SLA Measurement Profile. The Selected Profile fields display on the right.
In the Name field, enter a unique name for the SLA Measurement Policy.
Specify the attributes as desired.
When you are done, click Apply.