SROS Command Line Interface Reference Guide
Network Monitor Track Configuration Command Set
5991-2114
© Copyright 2006 Hewlett-Packard Development Company, L.P.
1358
Functional Notes
There is no limit to how many probes or schedules can be tested within a single test list. However, only one
type (AND, OR, or weighted) of test list can exist on a track at any given time.
Usage Examples
The following example demonstrates use of the test list weighted command. The list contains three probe
tests and each test has been assigned a different weight value (10, 20, and 30). When a probe test
passes, its weight is added to the sum of the weights from other successful tests contained within the
Weighted Track Test List. The pass threshold in this example is set to 35. The sum of all the weights must
meet or exceed the value of 35 before the Weighted Track Test List will transition to a PASS state. The fail
threshold in this example is set to 25. Therefore, if the sum of all the weights falls below the value of 25, the
Weighted Track Test List will transition to a FAIL state.
ProCurve(config)#
track LB-test
ProCurve(config-track-LB-test)#
test list weighted
ProCurve(config-track-LB-test-test)#
if probe LB weight 10
ProCurve(config-track-LB-test-test)#
if probe LB2 weight 20
ProCurve(config-track-LB-test-test)#
if probe LB3 weight 30
ProCurve(config-track-LB-test-test)#
threshold pass 35 fail 25
ProCurve(config-track-LB-test-test)#
exit
ProCurve(config-track-LB-test)#
no shutdown
The
show track LB-test
command is executed to see whether track LB-test is in a PASS state:
ProCurve#
show track LB-test
Current State: PASS (Admin: UP)
Testing:
+10 if probe LB (PASS)
+20 if probe LB2 (PASS)
+30 if probe LB3 (PASS)
Total = 60 currently, < 25 changes state to FAIL
Dampening Interval: 1 seconds
Time in current state: 2 days, 5 hours, 21 minutes, 13 seconds
Track State Changes: 0
Tracking:
Currently, all probe test commands are in the PASS state. Therefore, the sum of the assigned weights
equals 60. The value of 60 exceeds the specified pass threshold of 35. As a result, the current state of the
track is PASS.
Probe LB and probe LB3 have been forced to fail for demonstration purposes in this example. Output from
the show track LB-test command shows track LB-test to be in a FAIL state.
(config-loop 1)#
do show track LB-test
Current State: FAIL (Admin: UP)
Testing:
+10 if probe LB (FAIL)
Содержание ProCurve Secure 7102dl
Страница 2: ......
Страница 3: ...SROS Command Line Interface Reference Guide Software Version J 08 03 September 2007 61195880L1 35H ...
Страница 1454: ......