Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Example: Providing Tiered Internet Services with Policing

 

In this scenario, the service provider offers three tiered Internet services to its subscribers:

  • Gold, which provides a bandwidth of up to 5 Mbps.

  • Silver, which provides a bandwidth of up to 1 Mbps.

  • Bronze, which provides a bandwidth of up to 64 Kbps.

One of the tiered Internet services controls the traffic at a given time. Accounting data is collected for the tiered services.

A default policy is needed to establish the context of the tiered service. The subscriber has an IP interface in the network; the access point has a default policy that prevents the subscriber from using a tiered Internet service until the service is activated.

From the service provider’s perspective, the service provider’s network is on the inside, and the enterprise network is on the outside. Ingress traffic flows from the enterprise network to the service provider’s network. Egress traffic flows from the service provider’s network to the enterprise network.

Types of Policies

JunosE policies use the rate-limit action to control bandwidth, and Junos OS policies use the policer action to control bandwidth. You can also use QoS conditions and scheduler actions to provide tiered Internet services.

Sample JunosE Rate-Limiting Policy

The sample JunosE policy has a local parameter bw, which is used in the rate-limit action both on input and output directions.

In this example, the committed action is forward, whereas the conformed and exceeded actions are set to filter.

The following information shows the configuration details of the Internet tiered policy group for routers running JunosE Software.

Local Parameter

Policy List je-out

Policy List je-in

Sample Junos OS Policer Policy

The sample Junos OS policy has a local parameter bw, which is used in the policer action both on input and output directions.

In this example, packets that exceed the bandwidth limit are filtered.

The following information shows the configuration details of the Internet tiered policy group for routers running Junos OS.

Local Parameter

Policy List j-out

Policy List j-in

Defining the Tiered Internet Services

You need to create three SAE services—Gold, Silver, and Bronze.

Assign to the new service one of the Internet-tiered policy groups that we created in the last section.

For each service, define a substitution value for the bw parameter. For the Gold service, the bw value is 5 Mbps; for the Silver service, the bw value is 1 Mbps; and for the Bronze service, the bw value is 64 Kbps.

Internet-Gold Service

Internet-Silver Service

Internet-Bronze Service