Use this command in the ICMP echo configuration sub-mode of IP SLA configuration mode to allow reachability monitoring within Virtual Private Networks (VPNs) using IP Service Level Agreements (SLAs) operations.
| Default | By default, every IP SLA operation is used to monitor in the Default VRF. |
| Format | vrf vrf-name |
| Mode | IP SLA ICMP ECHO Config |
| Parameter | Description |
|---|---|
| vrf-name | VPN routing and forwarding (VRF) name. |
Usage Guidelines
This command identifies the VPN for the operation being configured.
Use this command only if the response time over the VPN tunnel needs to be measured.
The vrf (IP SLA) command is supported only in IPv4 networks. This command is not supported in IPv6 networks to configure an IP SLAs operation that supports IPv6 addresses.
Example: How to configure an IP SLAs operation for a VPN is shown in the following example. This example shows how test traffic can be sent in an already existing VPN tunnel between two endpoints.
(Routing)(config)#ip sla 11 (Routing)(config-ip-sla)#icmp-echo 35.1.10.2 (Routing)(config-ip-sla-echo)#vrf vpn1