IP SLA Configuration Commands

Use these commands to configure IP SLA operations.

icmp-echo

M4250

M4350

Use this command in IP SLA configuration mode, to configure an IP Service Level Agreement (SLA) Internet Control Message Protocol (ICMP) echo operation.

Use the ip sla command to let the CLI enter the IP SLA configuration mode.

The icmp-echo command itself lets the CLI enter the IP SLA ICMP Echo configuration mode.

To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Default No IP SLAs operation type is configured.
Format icmp-echo destination-ip-address [source-interface {unit/slot/port | vlan vlan-id}]
Mode IP SLA Config
Parameter Description
destination-ip-address The IPv4 or IPv6 destination address.
unit/slot/port or vlan-id The source interface or VLAN ID for the operation.

Usage guidelines:

You must configure the type of IP SLA operation (ICMP echo) before you can configure any of the other parameters of the operation.

To change the operation values (the destination-ip-address argument, interface-name argument, or vlan-id argument) of an existing scheduled IP SLA ICMP echo operation, you must stop the IP SLA operation by using the no ip sla schedule operation-number command. Or, you can first delete the IP SLA operation (using the no ip sla global command) and then reconfigure the operation with the new operation parameters.

IP SLA ICMP echo operations support both IPv4 and IPv6 addresses.

Note: This command does not have a ‘No’ form. When you enter the no ip sla operation-number command to remove an IP SLA operation, the associated IP SLA ICMP Echo configuration is also removed.

Command example:

In the following example, IP SLA operation 12 is created and configured as an echo operation using the ICMP protocol and the destination IPv4 address 143.1.16.125.

CODE
(NETGEAR Switch)(config)#ip sla 12
(NETGEAR Switch)(config-ip-sla)#icmp-echo 143.1.16.125
(M4350-16V4C)(config-ip-sla-echo)#

Command example:

In the following example, IP SLAs operation 13 is created and configured as an echo operation using the ICMP protocol and the destination IPv6 address 3001:CD6:200::1.

CODE
(NETGEAR Switch)(config)#ip sla 13
(NETGEAR Switch)(config-ip-sla)#icmp-echo 3001:CD6:200::1
(NETGEAR Switch)(config-ip-sla-echo)#

frequency (IP SLA ICMP Echo Config)

M4250

M4350

Use the icmp-echo command to let the CLI enter the IP SLA ICMP Echo configuration mode.

This command sets the rate at which a specified IP Service Level Agreement (SLA) operation repeats. The seconds argument specifies the number of seconds between the IP SLA operations, which can range from 1 to 3600 seconds.

Default 60 seconds
Format frequency seconds
Mode IP SLA ICMP Echo Config

Usage guidelines

A single IP SLA operation repeats at a frequency for the duration of the operation. For example, an ICMP echo operation with a frequency of 60 sends an ICMP Echo Request packet once every 60 seconds for the duration of the operation. This packet is sent when the operation starts, and then is sent again 60 seconds later.

If an individual IP SLA operation takes longer to execute than the specified frequency value, a statistics counter called “busy” is incremented rather than that the operation is immediately repeated.

We recommend the following order for configuring the frequency, timeout, and threshold commands of an IP SLA ICMP Echo operation:

  1. frequency seconds
  2. timeout milliseconds
  3. threshold milliseconds
Note: We recommend that you do not set the frequency value to less than 60 seconds because the potential overhead from numerous active operations could significantly affect network performance.

This command is supported in IPv4 and IPv6 networks.

Command example:

The following example shows how to configure an IP SLA ICMP echo operation (operation 11) to repeat every 80 seconds. This example shows the frequency (IP SLA) command being used in an IPv4 network in ICMP echo configuration mode within IP SLA configuration mode:

CODE
(NETGEAR Switch)(config)#ip sla 11
(NETGEAR Switch)(config-ip-sla)#icmp-echo 203.15.10.145
(NETGEAR Switch)(config-ip-sla-echo)#frequency 80

no frequency (IP SLA ICMP Echo Config)

This command returns the frequency to the default value of 60 seconds.

Format no frequency
Mode IP SLA ICMP Echo Config

timeout (IP SLA ICMP Echo Config)

M4250

M4350

Use the icmp-echo command to let the CLI enter the IP SLA ICMP Echo configuration mode.

This command sets the period that an IP Service Level Agreement (SLA) operation waits for a response from its request packet. The milliseconds argument specifies the number of milliseconds that the operation waits to receive a response from its request packet. The range can be from 50 to 300000 milliseconds.

Base the milliseconds argument on the sum of both the maximum round-trip time (RTT) value for the packets and the processing time of the IP SLAs operation.

Default 5000 milliseconds
Format timeout milliseconds
Mode IP SLA ICMP Echo Config

Usage guidelines

We recommend that you base the milliseconds argument on the sum of both the maximum round-trip time (RTT) for the packets and the processing time of the IP SLA operation. The milliseconds argument cannot be greater than the seconds argument in the frequency command.

We recommend the following order for configuring the frequency, timeout, and threshold commands of an IP SLA ICMP Echo operation:

  1. frequency seconds
  2. timeout milliseconds
  3. threshold milliseconds

This command is supported in IPv4 and IPv6 networks.

Command example:

In the following example, the time-out value for an IP SLAs operation 11 is set for 2500 ms.

CODE
(NETGEAR Switch)(config)#ip sla 11
(NETGEAR Switch)(config-ip-sla)#icmp-echo 152.17.10.145
(NETGEAR Switch)(config-ip-sla-echo)#timeout 2500

no timeout (IP SLA ICMP Echo Config)

This command returns the time-out to the default value of 5000 milliseconds.

Format no timeout
Mode IP SLA ICMP Echo Config

threshold (IP SLA ICMP Echo Config)

M4250

M4350

Use the icmp-echo command to let the CLI enter the IP SLA ICMP Echo configuration mode.

This command sets the upper threshold value for calculating network monitoring statistics that are created by an IP SLA operation. The milliseconds argument specifies the number of milliseconds for the upper threshold. The range can be from 50 to 60000 milliseconds.

Default 5000 milliseconds
Format threshold milliseconds
Mode IP SLA ICMP Echo Config

Usage guidelines

The milliseconds argument cannot be greater than the milliseconds argument in the timeout command.

We recommend the following order for configuring the frequency, timeout, and threshold commands of an IP SLA ICMP Echo operation:

  1. frequency seconds
  2. timeout milliseconds
  3. threshold milliseconds

This command is supported in IPv4 and IPv6 networks.

Command example:

In the following example, the threshold for the IP SLA ICMP echo operation is set to 3500 milliseconds.

CODE
(NETGEAR Switch)(config)#ip sla 11
(NETGEAR Switch)(config-ip-sla)#icmp-echo 152.17.10.145
(NETGEAR Switch)(config-ip-sla-echo)#threshold 3500

no threshold (IP SLA ICMP Echo Config)

This command returns the threshold to the default value of 5000 milliseconds.

Format no threshold
Mode IP SLA ICMP Echo Config

vrf (IP SLA ICMP Echo Config)

M4250

M4350

Use the icmp-echo command to let the CLI enter the IP SLA ICMP Echo configuration mode.

This command allows reachability monitoring within a virtual private network (VPN) using an IP Service Level Agreements (SLA) operation.

The vrf-name argument is the VPN routing and forwarding (VRF) name.

Default By default, every IP SLA operation is used to monitor in the default VRF.
Format threshold vrf-name
Mode IP SLA ICMP Echo Config

Usage guidelines

Use this command only if the response time over a VPN tunnel must be measured.

This command is supported in IPv4 networks only.

Command example:

This example shows how test traffic can be sent in an existing VPN tunnel between two endpoints.

CODE
(NETGEAR Switch)(config)#ip sla 11
(NETGEAR Switch)(config-ip-sla)#icmp-echo 35.1.10.2
(NETGEAR Switch)(config-ip-sla-echo)#vrf vpn1

no vrf (IP SLA ICMP Echo Config)

This command removes a VRF association.

Format no vrf
Mode IP SLA ICMP Echo Config

show ip sla configuration

M4250

M4350

This command displays the configuration values (including all defaults) for all or a specific IP SLAs operation. The value for the operation-number argument can be from 1 to 128.

Format show ip sla configuration [operation-number]
Mode

User EXEC

Privileged EXEC

Command example:

The following command output displays IP SLAs operations in an IPv4 network.

CODE
(NETGEAR Switch)#show ip sla configuration 3

Entry number: 3
Type of operation: echo
Target address/Source address: 1.1.1.1/0.0.0.0
Operation timeout (milliseconds): 5000
Vrf Name:
Schedule:
    Next Scheduled Start Time: Start Time already passed
    Operation frequency (seconds): 60
    Life: Forever
Threshold (milliseconds): 5000

Command example:

The following command output displays IP SLAs operations in an IPv6 network.

CODE
(NETGEAR Switch)#show ip sla configuration 5

Entry number: 3
Type of operation: echo
Target address/Source address: 2001:DB8:100::1/2001:0DB8:200::FFFE
Operation timeout (milliseconds): 5000
Vrf Name:
Schedule:
    Next Scheduled Start Time: Pending Trigger
    Operation frequency (seconds): 60
    Life: Forever
Threshold (milliseconds): 5000

show ip sla statistics

M4250

M4350

This command displays the statistics and the current operational status of all or a specific IP SLA operation.

This command also shows the current state of IP SLAs operations, including whether the operation is active and also the monitoring data returned for the last (most recently completed) operation.

Format show ip sla statistics [operation-number] [details]
Mode

User EXEC

Privileged EXEC

Parameter Description
operation-number (Optional) The operation number argument, which can be from 1 to 128.
details (Optional) Display statistics and the operational status in greater detail.

Command example:

CODE
(NETGEAR Switch)# show ip sla statistics details

Round Trip Time (RTT) for       Index 1
Type of operation: icmp-echo
        Latest RTT: 1 ms
Latest operation start time: 47 milliseconds
Latest operation return code: OK
Over thresholds occurred: FALSE
Number of successes: 14
Number of failures: 0
Operation time to live: Forever
Operational state of entry: Active

clear ip sla statistics

M4250

M4350

Use this command to clear IP SLA statistical information for all or a specific IP SLA operation.

The optional operation-number argument limits the clearing to a specific IP SLA operation.

Format clear ip sla statistics [operation-number]
Mode Privileged EXEC

show ip route track-table

M4250

M4350

This command displays information about all tracked IPv4 static routes.

Format show ip route track-table
Mode

User EXEC

Privileged EXEC

Command example:

CODE
(NETGEAR Switch)#show ip route track-table

show ipv6 route track-table

M4250

M4350

This command displays information about all tracked IPv6 static routes.

Format show ipv6 route track-table
Mode

User EXEC

Privileged EXEC

Command example:

CODE
(NETGEAR Switch)#show ipv6 route track-table

ipv6 route 2001:B66::/32 4001::1 track 15 state is [up]

show track

M4250

M4350

This command displays detailed information about all track objects or for a specific track object. You can also use the command to display brief information about all track objects or about track objects that are associated with a specific IP SLA operation.

Format show track [brief | track-number | {ip sla operation-number}]
Mode Privileged EXEC
Parameter Description
brief Displays brief information for all track objects.
track-number The track object’s number from 1 to 128 for which detailed information must be displayed.
ip sla operation-number The IP SLA operation number for which information about the associated track-objects must be displayed.

Command example:

The following example shows detailed information for all track objects.

CODE
(NETGEAR Switch)#show track

Track 10
  IP SLA 1 reachability
  Reachability is Up
    1 change, last change 01:12:36
  Delay up 5 secs, down 5 secs
  Latest operation return code: OK
  Latest RTT (millisecs) 1500

Track 11
  IP SLA 2 state
  State is Up
    1 change, last change 00:41:55
  Delay up 10 secs, down 10 secs
  Latest operation return code: OK
  Latest RTT (millisecs) 1000

Track 13
  IP SLA 1 state
  State is Up
    1 change, last change 00:34:08
  Delay up 5 secs, down 5 secs
  Latest operation return code: OK
  Latest RTT (millisecs) 1500

Command example:

The following example shows detailed information for track object 10.

CODE
(NETGEAR Switch)#show track 10

Track 10
  IP SLA 1 reachability
  Reachability is Up
    1 change, last change 01:12:36
  Delay up 5 secs, down 5 secs
  Latest operation return code: OK
  Latest RTT (millisecs) 1500

Command example:

The following example shows brief information for all track objects associated with IP SLA operation 1.

CODE
(NETGEAR Switch)#show track ip sla 1

Track   Object                    Parameter        Value Last Change
10      ip sla      1             reachability     Up    01:12:36
13      ip sla      1             state            Up    00:34:08

Command example:

The following example shows brief information for all track objects.

CODE
(NETGEAR Switch)#show track brief

Track   Object                    Parameter        Value Last Change
10      ip sla      1             reachability     Up    01:12:36
11      ip sla      2             state            Up    00:41:55
13      ip sla      1             state            Up    00:34:08