[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Classifying Congestion Points
The tasks to
classify congestion points are:
- Configuring Targets and Criteria for Classification Scripts
- Configuring Classification Scripts Contents for Classification
Scripts
- Configuring Congestion Point Classification Targets
Configuring Targets and Criteria for Classification Scripts
To define a target and
criteria for the congestion point classification script:
- From configuration mode, access the configuration statement
that configures congestion point scripts. In this sample procedure,
the scripts are configured in the config group.
- user@host# edit shared acp group config congestion-point-classifier
rule name
Enter a name for the congestion point
classification script.
- Specify the target for the classification script.
- [edit shared acp group config congestion-point-classifier
rule name]
- user@host# set target target
For information about classification
targets, see Classifying Congestion Points.
- Specify the classification criteria for the target.
- [edit shared acp group config congestion-point-classifier
rule name]
- user@host# set condition condition
For information about classification
criteria, see Congestion Point Classification Criteria.
Configuring Classification Scripts Contents for Classification
Scripts
To use the contents
of a classification script to another object for the congestion point
classification script:
- From configuration mode, access the configuration statement
that configures congestion point scripts. In this sample procedure,
the scripts are configured in the config group.
- user@host# edit shared acp group config congestion-point-classifier
rule name
Enter a name for the congestion point
classification script.
- Specify the classification script that you want to use.
- [edit shared acp group config congestion-point-classifier
rule name]
- user@host# set script script
Configuring Congestion Point Classification Targets
The target of the congestion point classification
script is an LDAP search string. The search string uses a syntax similar
to an LDAP URL (see RFC 2255—The LDAP URL Format (December 1997)).
The syntax is:
- baseDN [ ? [ attributes ] [ ? [ scope ] [ ? [ filter ]
] ] ]
- baseDN—Distinguished name (DN) of the object where
the LDAP search starts.
- attributes—Is ignored.
- scope—Scope of search in the directory:
- base—Default; searches the base DN only.
- one—Searches the direct children of the base DN.
- sub—Searches the complete subtree below the base
DN.
- filter—An RFC 2254–style LDAP search filter
expression; for example, (uniqueId=<-userName->). See RFC 2254—The
String Representation of LDAP Search Filters (December 1997).
With the exception of baseDN all the fields
are optional.
The result of the LDAP search must be exactly one
directory object. If no object or more than one object is found, congestion
points for the subscriber are not loaded and all service activations
for the subscriber are denied.
Congestion Point Classification Criteria
Congestion point classification criteria
define match criteria that are used to find the congestion point profile.
Use the fields in this topic to define classification criteria.
accountingId
- Value of directory attribute accountingUserId.
authUserId
- Identifier that a subscriber uses for authentication.
dhcpPacket
- Content of the DHCP discover request.
domain
- Name of the domain used for secondary authentication.
- Example—domain=“ isp99.com”
ifRadiusClass
- RADIUS class attribute on the JUNOSe interface.
- Example—ifRadiusClass=“ acpe”
ifSessionId
- Identifier for RADIUS accounting on the JUNOSe interface.
interfaceAlias
- Description of the interface.
- Value—Interface description that is configured on
the JUNOSe router with the interface ip description command
- Example—interfaceAlias=“ dhcp-subscriber12”
interfaceDescr
- Alternate name for the interface that is used by SNMP.
This name is a system-generated name.
- Example—interfaceDescr=“ IP3/1”
interfaceName
- Value
- Name of the interface in your router CLI syntax
- FORWARDING_INTERFACE for routing instance (used by traffic
mirroring)
loginName
- Guidelines—The format of the login name varies.
A loginName can be of form subscriber, domain\subscriber, subscriber@domain,
or as otherwise defined by the login setup of the manager.
nasIp
- IP address of the router.
- Value—Byte array
- For IPv4 address—4 octets in network byte order
- For IPv6 address—16 octets in network byte order
nasPort
- Port identifier of an interface.
- Value—Includes interface name and additional layer
2 information
- Example—nasPort=“ fastEthernet 3/1”
(There is a space between fastEthernet and slot number 3/1 in the
nasPort field.)
portId
- Identifier of VLAN or virtual circuit.
- Value—String; for a virtual circuit, use the format
<VPI>/<VCI>
primaryUserName
- PPP login name or the public DHCP username.
- Example—primaryUserName=“ peter”
radiusClass
- RADIUS class attribute of the service definition.
- Example—radiusClass=“ Premium”
routerName
- Value—Virtual router name in the format <virtualRouter>@<router>
- Example—routerName=“ default@e_series5”
sessionId
- Identifier of RADIUS session for the subscriber session.
serviceBundle
- Content of the RADIUS vendor-specific attribute for the
service bundle.
- Value—Name of a service bundle
- Example—serviceBundle=“ goldSubscriber”
sspHost
- Name of host on which the SAE is installed.
userDn
- DN of a subscriber in the directory.
- Value—DN of a subscriber profile
userIp
- IP address of the subscriber.
- Value—Byte array
- For IPv4 address—4 octets in network byte order
- For IPv6 address—16 octets in network byte order
userMacAddress
- Media access control (MAC) address of the DHCP subscriber.
- Example—userMacAddress=“ 00:11:22:33:44:55”
userType
Related Topics
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]