service path-monitor monitor <name> type <type> routing instance <ri-name>
Controls specification of a routing instance for a path monitor.
If a routing instance context is specified, the path monitor uses any applicable route within the routing instance's routing table to reach the target host, regardless of the interface.
You can use this configuration as an alternative to the service path-monitor monitor <name> type <type> interface <interface>
command.
- Both a routing instance and an interface are configured on a single monitor
- Neither a routing instance nor an interface is configured on a single monitor
monitor <name>
- The alphanumeric name of the monitor.
type <type>
- Where
<type>
is{ ping | twping }
. <ri-name>
- The routing instance to use for the monitoring.