Defining a Congestion Point Profile
You can create a congestion point profile that automatically performs congestion point classification. This profile supports only edge mode and dual mode for SRC-ACP.
To define a congestion point profile:
The Congestion Point Profile pane appears.
- In the Create new list, select Profile. Type a name for the new profile in the dialog box, and click OK.
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.
- <CongestionPoint>—(Optional) Name of an instance of a congestion point that is automatically created.
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 SRC-PE Network Guide, Chapter 22, Configuring Congestion Point Classification with the SRC CLI and Selecting Congestion Point Classification Criteria.