Configuring Bandwidth Policies and Services for Enterprise Manager Portal
You can make bandwidth available on demand to IT managers by creating the following types of services:
- Basic BoD service—Specifies the bandwidth level available to an access link.
- BoD service—Classifies traffic and assigns a service level that specifies the forwarding treatment for the traffic class.
BoD and basic BoD services allow billing for subscriptions to supplementary services.
You can create services to provide JUNOS class of service (CoS) or JUNOSe quality of service (QoS) by configuring BoD and basic BoD services that interact with each other. You can provide different service levels to different traffic by specifying traffic classification criteria.
You can create any number of basic BoD services and any number of BoD services. Only one basic BoD service, but numerous BoD services can be assigned to an access link.
BoD services can be configured to provision bandwidth provided by basic BoD services for a link. For example, you could provide a basic BoD service that provides 1 Mbps to the access link, and two video services as BoD services, each with different characteristics.
When you configure BoD and basic BoD services, they are available to IT managers through Enterprise Manager Portal. For information about how IT managers configure BoD and basic BoD services through Enterprise Manager Portal, see Chapter 28, Managing Enterprise Service Portals.
Parameter Values Used by BoD Services
Table 33 lists the parameters for which Enterprise Manager Portal provides values. The parameter names start with "bod" (service's LDAP attribute parameterSubstitution).
Bandwidth Policies for Different Routing Platforms
If you support environments that include both JUNOSe routers and JUNOS routing platforms, you can configure policies to have policy rules for JUNOSe filters and JUNOS filters. This way, if the service is activated on a JUNOSe router, the JUNOSe rule is used, and if the service is activated on a JUNOS routing platform, the JUNOS policies are used.
When Enterprise Manager Portal has JUNOSe compatibility enabled, the portal allows:
- Single subnets for source and destination addresses
- Single ports or single port ranges for source and destination ports
In addition, with JUNOSe compatibility enabled, Enterprise Manager Portal does not show the following configuration fields for BoD services:
You should be familiar with the types of bandwidth management policies available for the type of router for which you are configuring policies. See SRC-PE Services and Policies Guide, Chapter 6, Policy Management Overview.
Configuring Basic BoD Policies
You can create policies from Policy Editor. For information about creating policies in Policy Editor, see SRC-PE Services and Policies Guide, Chapter 11, Configuring and Managing Policies with the SRC CLI or SRC-PE Services and Policies Guide, Chapter 7, Using Policy Editor.
To configure a basic BoD policy:
Typically the policy rules include JUNOS schedulers, JUNOS policers, JUNOS filters, or JUNOSe filters that specify a traffic classification, and basic rules that define best-effort forwarding and drop behavior.
- Include parameters in the classify-traffic conditions of the policer. Use parameter names from Table 33.
- Specify a precedence for the policy rules.
Structure the precedence for policies to ensure that policy rules for JUNOS schedulers and JUNOS policers have a higher precedence, and therefore a lower number, than default policy rules. If the configuration includes BoD services, the policies to support BoD services should have a higher precedence, indicated by a lower number.
For a sample basic BoD policy, see policyGroupName=basicBod, ou=entjunos, o=Policies, o=umc in the sample data.
Configuring Basic BoD Services
You can create services from SDX Admin. For information about creating services in SDX Admin, see SRC-PE Services and Policies Guide, Chapter 1, Managing Services with the SRC CLI or SRC-PE Services and Policies Guide, Chapter 2, Managing Services on a Solaris Platform.
Basic BoD services do not have service parameters.
To configure a service that uses basic BoD:
- Category—basicBod (service's LDAP attribute sspCategory)
- Description—Description of the bandwidth provided by the service
If you plan to integrate a basic BoD service with a BoD service, the description for each basic BoD service should explain the bandwidth provided, and the relationship between this bandwidth level and the BoD service. The description should also explain the relationship between the service name, which is shown on the portal in the Bandwidth Level list, and the bandwidth provided. For example, for a service named 1 Mbps, the bandwidth provided could be 1 Mbps downstream and 500 Kbps upstream.
This description will appear in the online help for Bandwidth Level in Enterprise Manager Portal. Although there is no limit for the length of the text entered, the portal displays the text in one paragraph.
For a sample BoD service, see serviceName=1.0 Mbps, l=EntJunos, o=Scopes, o=umc in the sample data.
Configuring BoD Policies
When configuring BoD policies, you create rules that classify traffic. Make sure that the source and destination policy rules correspond to location of the enterprise relative to the subscriber interface that the SRC software manages. When configuring Enterprise Manager Portal, you follow the same rules for defining source and destination fields. See SRC-PE Services and Policies Guide, Chapter 11, Configuring and Managing Policies with the SRC CLI or SRC-PE Services and Policies Guide, Chapter 7, Using Policy Editor.
You can create policies from Policy Editor. For information about creating policies in Policy Editor, see SRC-PE Services and Policies Guide, Chapter 7, Using Policy Editor.
You can create some policy rules as JUNOS filters and others as JUNOSe filters.
Specify values or parameters for the following for each policy rule for the BoD service:
- TOS byte in the IP header
- Mask used for the ToS byte
- Source TCP/UDP port
- Destination TCP/UDP port
- IP address of source
- IP address of destination
- TCP flags
- Fragmentation flags
- Fragmentation offset
- ICMP type
- ICMP code
If the configuration includes basic BoD services, the policies to support basic BoD services should have a lower precedence, indicated by a higher number.
For information about policy rules and precedences, see See SRC-PE Services and Policies Guide, Chapter 11, Configuring and Managing Policies with the SRC CLI or SRC-PE Services and Policies Guide, Chapter 7, Using Policy Editor.
For a sample BoD policy, see policyGroupName=bod, ou=entjunos, o=Policies, o=umc in the sample data. In the sample BoD policies, substitutions in services rename policy parameters to names required by Enterprise Manager Portal.
The sample data is based on a scenario that has the SRC managed interface on a device with egress to the access link that leads to the enterprise.
Configuring BoD Services
You can create services from SDX Admin. For information about creating services in SDX Admin, see SRC-PE Services and Policies Guide, Chapter 1, Managing Services with the SRC CLI or SRC-PE Services and Policies Guide, Chapter 2, Managing Services on a Solaris Platform.
NOTE: If you configure BoD services that use forwarding classes, take into consideration the number of forwarding classes supported on the router.
To configure a service for BoD:
- Category—bod (service's LDAP attribute sspCategory).
- Description—Description of how this service will affect traffic.
If you plan to integrate a basic BoD service with a BoD service, the description for each BoD service should take into consideration how the BoD service interacts with any basic BoD service selected. The description should also provide information about the forwarding treatment for traffic.
This description will appear in the online help for BoD services in Enterprise Manager Portal. Although there is no upper limit for the length of this attribute, the portal will display the text in one paragraph.
- Substitutions—Substitutions for the parameter names; these names start with "bod" (service's LDAP attribute parameterSubstitution).
Note that the actual parameter names are required to be the service parameter names for Enterprise Manager Portal.
For a sample BoD service, see serviceName=Gold, l=entJunos, o=Scopes, o=umc in the sample data.
Using BoD Services to Assign Traffic to Bandwidth Categories
You can use BoD services to assign different classes of traffic to different bandwidth categories, with each category identified by a specified quantity of bandwidth.
For example, a configuration could provide two services:
Each service has the specified bandwidth available to specified traffic flows, based on the policy rules for traffic classification and policing.
Using BoD and Basic BoD Services Together to Supply Class of Service
You can use BoD and basic BoD services together to provide more sophisticated bandwidth level management to IT managers. For example, you can integrate these types of services to take advantage of the CoS features available on JUNOS routing platforms.
On the JUNOS routing platform, policers are applied before schedulers. The type of service defined by these settings is applied to traffic exiting from the JUNOS routing platform. For information about policing, scheduling, and queuing traffic on the JUNOS routing platform, see JUNOS Network Interfaces and Class of Service Configuration Guide.
If you want to integrate basic BoD services and BoD services, you can base your configuration on the implementation in the sample data, The sample services and data are designed to work with Enterprise Manager Portal and require little configuration.
You can also create a configuration to meet requirements specific to your environment. If you want to create a configuration that has both basic BoD and BoD services, carefully plan services and associated policies. Ensure that the bandwidth requirements for BoD services are in proportion to the bandwidth provided by the basic BoD services. See Setting Up Forwarding Preferences—Example 2 for another way to provide BoD to IT managers.
NOTE: When configuring services to use JUNOS CoS, take into consideration which interfaces on the router support CoS.
Setting Up Forwarding Preferences—Example 1
The sample data provides an implementation that supports CoS features on the JUNOS routing platform. This implementation provides:
- Basic BoD services to apply a JUNOS policer only to best-effort traffic
- BoD services to assign traffic to forwarding classes other than best-effort
- Policing for best-effort traffic
Table 34 lists the services and policies in the sample data. You can locate the services in l=entJunos, o=Scopes, o=umc. You can customize the policies and services as needed. For general information about configuring policies and services, see Configuring Basic BoD Policies and Configuring BoD Policies.
Billing can be established for traffic in the assured forwarding class and in the expedited forwarding class because the SRC software can account for traffic in each of these forwarding classes separately from other forwarding classes. Traffic in the assured forwarding class and in the expedited forwarding class is not included in the accounting data for the currently selected basic BoD service.
Setting Up Forwarding Preferences—Example 2
The following example shows another way to use BoD and basic BoD services to provide BoD services. In this example, a percentage of an access link's bandwidth is allocated to a specified service.
- Three bandwidth levels available to access links: 1.0 Mbps, 1.5 Mbps, and 2.0 Mbps.
- Three service levels defined to use a specified percentage of the bandwidth set for the access link: best effort 20%, Silver 30%, and Gold 50%.
Each traffic class uses only the bandwidth assigned to it and does not share bandwidth with other traffic classes.
For an SRC configuration to support this scenario, you could create policies such as the following and assign these policies to services:
- Policies that provide a local policy parameter, bw, whose value is set by the service that references the policy:
For policy 2.0 Mb, bw= 2000000
- The transmission rate, bandwidth allocation, and priority scheduling for specified forwarding classes as shown in Table 35.
By setting exact to true, you can ensure that the sum of the transmission rates is less than the bandwidth allocated to the access link.