Users Guide

Layer 3 Routing Commands 1666
Default Configuration
By default, IP SLA operations occur in the Default VRF.
Command Mode
IP SLA ICMP Echo Configuration mode (config-ip-sla-echo).
User Guidelines
This command identifies the VPN for the operation being configured.
The vrf (IP SLA) command is supported only for IPv4 networks. This
command is not supported in IPv6 networks to configure an IP SLAs
operation that supports IPv6 addresses.
Command History
Command introduced in version 6.6 firmware.
Example
This example shows how IP SLA monitoring may be configured for a non-
default VRF. The tracking object number and the operation number are the
same simply for convenience.
console(config)#ip vrf vpn1
console(config-vrf-vpn1)#ip routing
console(config-vrf-vpn1)#exit
console(config)#vlan 100
console(config-vlan100)#interface vlan 100
console(config-if-vlan100)#ip vrf forwarding vpn1
console(config-if-vlan100)#ip address 35.1.10.1 /24
console(config-if-vlan100)#exit
console(config)#ip sla 11
console(config-ip-sla)#icmp-echo 35.1.10.2
console(config-ip-sla-echo)#vrf vpn1
console(config-ip-sla-echo)#exit
console(config-ip-sla)#exit
console(config)#ip sla schedule
console(config)#track 11 ip sla 11 reachability
console(config)#ip route vrf vpn1 10.11.12.0 /24 35.1.10.2 track 11
console(config)#interface Te1/0/1
console(config-Te1/0/1)#switchport trunk native vlan 100
console(config-Te1/0/1)#switchport mode trunk