Examples: Setting Up Forwarding Preferences

We provide two examples for setting up forwarding preferences.

Setting Up Forwarding Preferences by Using CoS on Devices Running Junos OS

The sample data provides an implementation that supports CoS features on the device running Junos OS. This implementation provides:

Table 13 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 13: Integrated BoD and Basic BoD Services in Sample Data

Name of Service

Category of Service

Name of Policy Group

Description of Service

1.0 Mbps

basic BoD

basic BoD

Specifies that a bandwidth of 1.0 Mbps be available to a specified access link for best-effort traffic.

3.0 Mbps

basic BoD

basic BoD

Specifies that a bandwidth of 3.0 Mbps be available to a specified access link for best-effort traffic.

5.0 Mbps

basic BoD

basic BoD

Specifies that a bandwidth of 5.0 Mbps be available to a specified access link for best-effort traffic.

Silver

BoD

BoD

Marks associated traffic as belonging to an assured forwarding class.

Gold

BoD

BoD

Marks associated traffic as belonging to an expedited forwarding class.

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 by Allocating a Percentage of a Link’s Bandwidth to a 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:

For an SRC configuration to support this scenario, you could create policies such as the following and assign these policies to services:

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.