[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Defining a Congestion Point Profile

You can create a congestion point profile that automatically performs congestion point classification. This profile supports only access network mode for SRC-ACP.

Use the following configuration statements to configure congestion point profiles:

shared congestion-points congestion-point-profile name { 
     expression [expression...]; 
} 

To define a congestion point profile:

  1. From configuration mode, access the configuration statement that configures congestion point profiles.
  2. user@host# edit shared congestion-points congestion-point-profile name 
    
    
    

Enter a name for the profile.

  1. Specify congestion point expressions.
  2. [edit shared congestion-points congestion-point-profile name] 
    
    user@host# set expression [expression...] 
    
    
    

For information about congestion point expressions, see Congestion Point Expressions.

Congestion Point Expressions

You can enter a congestion point expression by using the syntax listed in this section. You can also embed Python scripting expressions within the congestion point expression.

If you embed Python expressions within a congestion point expression, use the escape sequence <- then -> to enclose the Python expression. See Methods for Use with Scripting Expressions and Match Criteria for Congestion Point Classification.

The syntax for a congestion point expression is:

<NetworkDevice>/<NetworkInterface>[/<CongestionPoint>]

For information about network devices, see SRC-PE Network Guide, Part 2, Using Juniper Networks Routers in the SRC Network.

For information about interfaces, see SRC-PE Subscribers and Subscriptions Guide, Chapter 6, Classifying Interfaces and Subscribers with the SRC CLI.

If one of the elements with the path contains a slash (/), use a backslash (\) as an escape character for the slash. For example, \/.

Expressions in Templates for Congestion Point Profiles

You can create a congestion point profile to be used as a template for other profiles. Templates simplify management of congestion points. Rather than configuring each congestion point individually, you can create templates to define common parameters for a class of individual congestion points.

For example, in an environment in which VLAN interfaces GigabitEthernet1/0.1 through GigabitEthernet1/0.1000 have the same available bandwidth, you can specify the characteristics of the VLAN interface once and have SRC-ACP create the congestion points based on the template configuration.

When a congestion point expression has the third element (<CongestionPoint>), SRC-ACP uses the <NetworkDevice>/<NetworkInterface> part of the expression to load the congestion point from the directory, and uses it as a template to create a congestion point in memory for subscriber. The <CongestionPoint> part of the expression distinguishes each congestion point (available bandwidth) created from this template.

Methods for Use with Scripting Expressions

SRC-ACP provides the following methods to use in scripting expressions:

Example—slot("atm 4/5:0.32") == "4"

Example—port("atm 4/5:0.32") == "5"

Example—l2id("atm 4/5:0.32") == "0.32"

Example—escape("atm 4/5") == "atm 4\/5"

Match Criteria for Congestion Point Classification

You can use the match criteria in Python scripting expressions for a congestion point expression. For more information about the match criteria, see Selecting Congestion Point Classification Criteria.


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]