udp-echo

Syntax

udp-echo {<DEST-IPV4-ADDR>|<HOSTNAME>} <PORT-NUM> [source {<SOURCE-IPV4-ADDR> |
     <IFNAME>} [source-port <PORT-NUM>]] [name-server <IPV4-ADDR-DNS-SERVER>] [payload-size 
     <PAYLOAD-SIZE>] [tos <TYPE-OF-SERVICE>] [probe-interval <PROBE-INTERVAL>]

Description

Configures UDP echo as the IP-SLA test mechanism. Requires destination address/hostname and destination port number for the IP-SLA of udp-echo SLA type.

Command context

config-ip-sla-<IP-SLA-NAME>

Parameters

{<DEST-IPV4-ADDR> | <HOSTNAME>}

Selects the destination IPv4 address for the IP-SLA or the hostname of the destination.

<PORT-NUM>

Specifies the destination port for the IP-SLA. Range: 1 to 65535.

[source {<SOURCE-IPV4-ADDR> | <IFNAME>}]

Selects the source IPv4 address for SLA probes or the source interface to use for sending IP-SLA probes.

[source-port <PORT-NUM>]

Specifies source port for the IP-SLA test. Range: 1 to 65535.

[name-server <IPV4-ADDR-DNS-SERVER>]

Specifies the DNS server for destination hostname resolution.

[payload-size <PAYLOAD-SIZE>]

Specifies the payload size of an SLA probe. Range: 28 to 1440.

[<TYPE-OF-SERVICE>]

Type of service. Range: 0 to 255.

probe-interval <PROBE-INTERVAL>

Probe interval in seconds. Range: 5 to 604800.

Authority

Administrators or local user group members with execution rights for this command.

Examples

switch(config-ipsla-1)# udp-echo 2.2.2.2 8080
    switch(config-ipsla-1)# udp-echo 2.2.2.2 8080 source 2.2.2.1
    switch(config-ipsla-1)# udp-echo https://device.arubanetworks.com 8080
    switch(config-ipsla-1)# udp-echo 2.2.2.2 8080 source 1/1/1
    switch(config-ipsla-1)# udp-echo 2.2.2.2 8080 source 2.2.2.1 payload-size 50
    switch(config-ipsla-1)# udp-echo 2.2.2.2 8080 source 1/1/1 payload-size 50
    switch(config-ipsla-1)# udp-echo 2.2.2.2 8080 payload-size 50
    switch(config-ipsla-1)# udp-echo https://device.arubanetworks.com 8080 source 2.2.2.1 
     payload-size 50
    switch(config-ipsla-1)# udp-echo https://device.arubanetworks.com 8080 source 1/1/1 
     payload-size 50
    switch(config-ipsla-1)# udp-echo https://device.arubanetworks.com 8080 
     name-server 10.10.10.2