Configuring QoS Profile-Tracking Plug-Ins with the SRC CLI
Use the following configuration statements to configure the QoS profile tracking plug-in with the SRC CLI:
shared sae configuration plug-ins poolname
qos-profile-tracking {threadsthreads
; default-qos-profiledefault-qos-profile
; separatorseparator
; qos-profile-prefixqos-profile-prefix
; service-selection-attributeservice-selection-attribute
; search-filtersearch-filter
; invisible-qos-serviceinvisible-qos-service
; qos-profile-parameter-nameqos-profile-parameter-name
;}
- From configuration mode for the QoS profile tracking plug-in.
user@host#edit shared sae configuration plug-ins pool QosTracking qos-profile-tracking
- Configure the number of working threads that all QTP instances share when they process QTP events.
[edit shared sae configuration plug-ins pool QosTracking qos-profile-tracking]user@host#set threads
threads
- Configure the name of the QoS profile that is attached to the interface when QoS services have been deactivated.
See Reestablishing Default QoS Profile.
[edit shared sae configuration plug-ins pool QosTracking qos-profile-tracking]user@host#set default-qos-profile
default-qos-profile
- Configure the character that is placed between QoS profile input values when the system concatenates the values during the process of creating QoS profile names.
[edit shared sae configuration plug-ins pool QosTracking qos-profile-tracking]user@host#set separator
separator
- Configure the prefix added to the QoS service name as part of the process to determine the name of the QoS profile that needs to be attached to an interface for a particular service.
[edit shared sae configuration plug-ins pool QosTracking qos-profile-tracking]user@host#set qos-profile-prefix
qos-profile-prefix
- Configure the name of the attribute in the service definition that you want the QTP to use as QoS profile input values.
[edit shared sae configuration plug-ins pool QosTracking qos-profile-tracking]user@host#set service-selection-attribute
service-selection-attribute
- Configure the search filter that the SAE uses to search service objects in the directory to find QoS services.
See Configuring Search Filters for QoS Profile-Tracking Plug-Ins
[edit shared sae configuration plug-ins pool QosTracking qos-profile-tracking]user@host#set search-filter
search-filter
- Configure the name of the hidden QoS profile attachment service that the QTP uses to attach QoS profiles to and remove QoS profiles from a router interface.
[edit shared sae configuration plug-ins pool QosTracking qos-profile-tracking]user@host#set invisible-qos-service
invisible-qos-service
- Configure the name of the variable parameter used in the QoS profile name field in the QoS profile attachment action of the policy group that is assigned to the hidden QoS service.
[edit shared sae configuration plug-ins pool QosTracking qos-profile-tracking]user@host#set qos-profile-parameter-name
qos-profile-parameter-name
- Verify your configuration.
[edit shared sae configuration plug-ins pool QosTracking qos-profile-tracking]user@host#show
threads 1;default-qos-profile ;separator -;qos-profile-prefix qos-profile;service-selection-attribute serviceName;search-filter (attribute.trackPlug=);invisible-qos-service svc-qos-attach;qos-profile-parameter-name qpName;Configuring Search Filters for QoS Profile-Tracking Plug-Ins
The SAE uses a search filter to search service objects in the directory to find QoS services. You can set up the filter to search the values of any attribute in the service object, such as service name, category, or tracking plug-in. The search is successful when a value matches the filter.
For information about obtaining a list of attribute names for the sspService object class, see the documentation for the LDAP schema in the SRC software distribution in the folder SDK/doc/ldap or on the Juniper Networks Web site at
http://www.juniper.net/techpubs/software/management/sdx
Configure the search filter in a format similar to the LDAP search filter. Table 5 lists the values that you can use for filters. Each filter string <filter> contains a simplified LDAP query.
- Default—(attribute.trackPlug=); note that you need to add a search value after the equal sign
- Examples
(attribute.trackPlug=*qtp*)To search service category attributes for any entry that contains ultra, video on demand, or video telephony: (|(serviceCategory=*ultra*)(|(serviceCategory=*video on demand*)(serviceCategory=*video telephony*)))