R2511-HP MSR Router Series Voice Command Reference(V5)

289
call-watch rule
Use call-watch rule to create a call-watch monitoring rule in a call-watch group. If this rule is the first rule
for the call-watch group, the group is created as a result.
Use undo call-watch rule to delete the specified monitoring rule, or if no local interface or track object IP
is specified, all monitoring rules, from a monitor group. The monitor group is deleted upon removal of the
last rule.
Syntax
call-watch rule watch-number { local interface interface-type interface-number | remote track
track-entry-number }
undo call-watch rule watch-number [ local interface interface-type interface-number | remote track
track-entry-number ]
Default
No call-watch group or call-watch monitoring rule exists.
Views
System view
Default command level
2: System level
Parameters
watch-number: Specifies a call-watch group number in the range of 1 to 255.
local interface interface-type interface-number: Specifies the type and number of a local interface to be
monitored by the call-watch group.
remote track track-entry-number: Specifies the track object ID associated with the NQA test group used
for monitoring the remote IP address for the track-entry-number argument, in the range 1 to 1024. For
more information about NQA and Track configuration commands, see Network Management and
Monitoring Command Reference and High Availability Command Reference.
Usage guidelines
A monitor group cannot monitor local interfaces and IP connectivity to remote interfaces at the same
time.
A monitor group can monitor up to 16 local interfaces or be associated with up to 16 track object IDs
associated with monitored remote IP addresses.
Examples
# Create monitor group 1 and configure it to monitor local interface Ethernet 1/1.
<Sysname> system-view
[Sysname] call-watch rule 1 local interface ethernet 1/1
# Create monitor group 2 and associate it with track object ID 1.
<Sysname> system-view
[Sysname] call-watch rule 2 remote track 1