Associating Track with a weight threshold list
About weight threshold list
A weight threshold list uses a weight threshold to measure the state of the list.
If the total weight of positive objects is equal to or greater than the positive state threshold, the list is set to the positive state.
If the total weight of negative objects is equal to or smaller than the negative state threshold, the list is set to the negative state.
The state the list remains unchanged in the following conditions:
The total weight of positive objects is smaller than the positive state threshold value.
The total weight of negative objects is greater than the negative state threshold value.
Procedure
To associate Track with a weight threshold list:
Task | Command | Remark |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a track entry. | Create a track entry before you add it as an tracked object to a tracked list. A minimum of one track entry must be created. | |
3. Create a weight threshold list and enter its view. | track track-entry-number list threshold weight | By default, no tracked lists exist. |
4. Add the track entry as an object to the tracked list. | object track-entry-id [ not ] | By default, a tracked list does not contain any objects. Repeat this step to add all interested objects to the tracked list. |
5. Configure the threshold values used to determine the state of the weight threshold list. | threshold weight { negative negative-threshold | positive positive-threshold } * | By default, the negative state threshold is 0 and the positive state threshold is 1. |
6. (Optional.) Set the delay for notifying the application module of tracked list state changes. | delay { negative negative-time | positive positive-time } * | By default, the Track module notifies the application module immediately when the tracked list state changes. |