success
success
{
and
|
or
}
ippm
ippm-profile-name
{
fail
|
success
}
ippm-profile-name2
{
fail
|
success
}
no success
{
and
|
or
}
ippm
ippm-profile-name
{
fail
|
success
}
ippm-profile-name2
{
fail
|
success
}
A boolean OR operation is used.
Watcher configuration mode
Use the AND boolean operaton when all specified IPPM profiles must meet the success or fail criteria for the watcher profile to be considered true. Use the OR boolean operation when any one of the specified IPPM profiles meeting the success or fail criteria is sufficient for the watcher profile to be considered true.
A maximum of four IPPM profiles can be mapped to a single watcher profile using a boolean AND or a boolean OR operation.
The IPPM profile should be set to success if the target being monitored should be reachable for the result to be true. The IPPM profile to fail if the target being monitored should be unreachable for the result to be true.
The no form of the command
removes a configured watcher profile as a derived profile.
The following example specifies that syslog messages are logged when the IPPM profile p1 indicates success, meaning the target is reachable, and the IPPM profile p2 indicates failure, meaning the target is unreachable.
device# configure terminal device(config)# watcher name watch2 device(config-watcher-watch2)# success and ippm p2 fail ippm p1 success
| Release version | Command history |
|---|---|
| 10.0.20a | This command was introduced. |