We provide two examples for setting up forwarding preferences.
The sample data provides an implementation that supports CoS features on the JUNOS routing platform. This implementation provides:
Table 16 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 .
Table 16: Integrated BoD and Basic BoD Services in Sample Data
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.
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.
This configuration provides:
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:
For policy 1.0 Mb, bw=1000000
For policy 1.5 Mb, bw=1500000
For policy 2.0 Mb, bw= 2000000
Table 17: Policies to Specify Forwarding Treatment for Specified Traffic Classes
Forwarding Class |
Transmission Rate |
Exact |
Priority Scheduling |
|---|---|---|---|
Best effort |
bw*0.2 bps |
true |
Low |
Silver (assured forwarding) |
bw*0.3 bps |
true |
Medium |
Gold (expedited forwarding) |
bw*0.5 bps |
true |
High |
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.