service path-monitor monitor <monitor-name> initial-state <state>
Determines how PBR handles matching traffic before the first Path Monitor measurements are available.
- monitor-name
- The alphanumeric name of a Path Monitor instance. The maximum number of characters in the name is 30.
- state
- The name of the compliance state. You can specify either of the following states:
compliant: All associated Path Monitor policies are compliant.
non-compliant: All associated Path Monitor policies are non-compliant.
Configuration mode
service {
path-monitor {
monitor monitor-name {
initial-state state
}
}
}
The initial state applies to all Path Monitor policies that are associated with the Path Monitor instance that this command specifies. Only those routing PBR policy rules that include this instance become compliant or non-compliant according to the initial-state setting in this command. PBR rules that do not include Path Monitor instances are not affected.
Use the set form of this command to configure how PBR handles matching traffic before the first Path Monitor measurements are available.
Use the delete form of this command to remove the initial state configuration for a Path Monitor.
Use the show form of this command to display the initial state configuration for a Path Monitor.