IP Service Level Agreements (IP SLA) actively measure network performance on NX-OS by sending synthetic probes and collecting statistics such as round-trip time, jitter, packet loss and reachability. Each operation is identified by a numeric ID and runs exactly one probe type: ICMP echo, UDP echo, UDP jitter (optionally with VoIP codec emulation), TCP connect, DNS or HTTP GET. Operations are started by a schedule (or a group schedule that starts several operations spread over a period), can raise traps or trigger other operations through reaction configurations, and can be referenced by track objects to drive HSRP or static route failover. A switch can also act as an IP SLA responder (including permanent UDP echo / TCP connect responders and a TWAMP responder) or as a TWAMP server. Each role requires its feature to be enabled: sla_sender, sla_responder or sla_twamp_server.
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value ip_sla Class ip_sla No
Name Type Constraint Mandatory Default Value logging_traps Boolean true, falseNo logging_ level_ sender Integer min: 0, max: 7 No logging_ level_ responder Integer min: 0, max: 7 No logging_ level_ twamp_ server Integer min: 0, max: 7 No responder Class responder No server_twamp Boolean true, falseNo server_ twamp_ timer_ inactivity Integer min: 1, max: 6000 No server_ twamp_ port Integer min: 1, max: 65535 No operations List operations No group_schedules List group_schedules No
Name Type Constraint Mandatory Default Value enable Boolean true, falseNo twamp Boolean true, falseNo twamp_timeout Integer min: 1, max: 604800 No udp_echos List udp_echos No tcp_connects List tcp_connects No
Name Type Constraint Mandatory Default Value id Integer min: 1, max: 65535 Yes operation_ids String No schedule_period Integer min: 1, max: 604800 No ageout Integer min: 0, max: 2073600 No frequency Integer min: 1, max: 604800 No frequency_range String No life Integer min: 0, max: 2147483647 No life_forever Boolean true, falseNo start_time String No start_ time_ month Choice January, February, March, April, May, June, July, August, September, October, November, DecemberNo start_time_day Integer min: 1, max: 31 No start_time_now Boolean true, falseNo start_ time_ pending Boolean true, falseNo start_ time_ after String No
Name Type Constraint Mandatory Default Value port Integer min: 1, max: 65535 Yes ipaddress IP No
Name Type Constraint Mandatory Default Value port Integer min: 1, max: 65535 Yes ipaddress IP No
Name Type Constraint Mandatory Default Value destination String Yes source_ip String No source_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo source_ interface_ id Any String or Integer[min: 0] No request_ data_ size Integer min: 0, max: 16384 No verify_data Boolean true, falseNo tos Integer min: 1, max: 255 No traffic_class Integer min: 1, max: 255 No vrf String No threshold Integer min: 1, max: 60000 No timeout Integer min: 0, max: 604800000 No tag String No owner String No frequency Integer min: 1, max: 604800 No frequency_ milliseconds Integer min: 100, max: 604800000 No history_ buckets_ kept Integer min: 1, max: 60 No history_ distributions_ of_ statistics_ kept Integer min: 1, max: 20 No history_ enhanced_ interval Integer min: 1, max: 3600 No history_ enhanced_ buckets Integer min: 1, max: 100 No history_filter Choice all, failures, none, overThresholdNo history_ hours_ of_ statistics_ kept Integer min: 0, max: 25 No history_ lives_ kept Integer min: 0, max: 2 No history_ statistics_ distribution_ interval Integer min: 1, max: 100000 No
Name Type Constraint Mandatory Default Value destination String Yes destination_ port Integer min: 1, max: 65535 Yes control Boolean true, falseNo source_ip String No source_port Integer min: 1, max: 65535 No request_ data_ size Integer min: 4, max: 1500 No verify_data Boolean true, falseNo data_pattern String No tos Integer min: 1, max: 255 No traffic_class Integer min: 1, max: 255 No vrf String No threshold Integer min: 1, max: 60000 No timeout Integer min: 0, max: 604800000 No tag String No owner String No frequency Integer min: 1, max: 604800 No frequency_ milliseconds Integer min: 100, max: 604800000 No history_ buckets_ kept Integer min: 1, max: 60 No history_ distributions_ of_ statistics_ kept Integer min: 1, max: 20 No history_ enhanced_ interval Integer min: 1, max: 3600 No history_ enhanced_ buckets Integer min: 1, max: 100 No history_filter Choice all, failures, none, overThresholdNo history_ hours_ of_ statistics_ kept Integer min: 0, max: 25 No history_ lives_ kept Integer min: 0, max: 2 No history_ statistics_ distribution_ interval Integer min: 1, max: 100000 No
Name Type Constraint Mandatory Default Value destination String Yes destination_ port Integer min: 1, max: 65535 Yes codec Choice g711alaw, g711ulaw, g729aNo advantage_ factor Integer min: 0, max: 20 No codec_interval Integer min: 4, max: 60000 No codec_ numpackets Integer min: 1, max: 60000 No codec_size Integer min: 16, max: 16384 No interval Integer min: 4, max: 60000 No num_packets Integer min: 1, max: 60000 No control Boolean true, falseNo source_ip String No source_port Integer min: 1, max: 65535 No request_ data_ size Integer min: 16, max: 17512 No verify_data Boolean true, falseNo tos Integer min: 1, max: 255 No traffic_class Integer min: 1, max: 255 No vrf String No threshold Integer min: 1, max: 60000 No timeout Integer min: 0, max: 604800000 No tag String No owner String No frequency Integer min: 1, max: 604800 No operation_ packet_ priority Choice normal, highNo precision Choice milliseconds, microsecondsNo clock_ tolerance_ ntp_ oneway_ absolute Integer min: 0, max: 100000 No clock_ tolerance_ ntp_ oneway_ percent Integer min: 0, max: 100 No history_ distributions_ of_ statistics_ kept Integer min: 1, max: 20 No history_ hours_ of_ statistics_ kept Integer min: 0, max: 25 No history_ statistics_ distribution_ interval Integer min: 1, max: 100000 No
Name Type Constraint Mandatory Default Value destination String Yes destination_ port Integer min: 1, max: 65535 Yes control Boolean true, falseNo source_ip String No source_port Integer min: 1, max: 65535 No close_ connection_ fin Boolean true, falseNo tos Integer min: 1, max: 255 No traffic_class Integer min: 1, max: 255 No vrf String No threshold Integer min: 1, max: 60000 No timeout Integer min: 0, max: 604800000 No tag String No owner String No frequency Integer min: 1, max: 604800 No frequency_ milliseconds Integer min: 100, max: 604800000 No history_ buckets_ kept Integer min: 1, max: 60 No history_ distributions_ of_ statistics_ kept Integer min: 1, max: 20 No history_ enhanced_ interval Integer min: 1, max: 3600 No history_ enhanced_ buckets Integer min: 1, max: 100 No history_filter Choice all, failures, none, overThresholdNo history_ hours_ of_ statistics_ kept Integer min: 0, max: 25 No history_ lives_ kept Integer min: 0, max: 2 No history_ statistics_ distribution_ interval Integer min: 1, max: 100000 No
Name Type Constraint Mandatory Default Value target String Yes name_server String Yes source_ip String No source_port Integer min: 1, max: 65535 No vrf String No threshold Integer min: 1, max: 60000 No timeout Integer min: 0, max: 604800000 No tag String No owner String No frequency Integer min: 1, max: 604800 No history_ buckets_ kept Integer min: 1, max: 60 No history_ distributions_ of_ statistics_ kept Integer min: 1, max: 20 No history_filter Choice all, failures, none, overThresholdNo history_ hours_ of_ statistics_ kept Integer min: 0, max: 25 No history_ lives_ kept Integer min: 0, max: 2 No history_ statistics_ distribution_ interval Integer min: 1, max: 100000 No
Name Type Constraint Mandatory Default Value url String Yes cache Boolean true, falseNo proxy String No source_ip String No source_port Integer min: 1, max: 65535 No version String No tos Integer min: 1, max: 255 No traffic_class Integer min: 1, max: 255 No vrf String No threshold Integer min: 1, max: 60000 No timeout Integer min: 0, max: 604800000 No tag String No owner String No frequency Integer min: 1, max: 604800 No history_ buckets_ kept Integer min: 1, max: 60 No history_ distributions_ of_ statistics_ kept Integer min: 1, max: 20 No history_filter Choice all, failures, none, overThresholdNo history_ hours_ of_ statistics_ kept Integer min: 0, max: 25 No history_ lives_ kept Integer min: 0, max: 2 No history_ statistics_ distribution_ interval Integer min: 1, max: 100000 No
Name Type Constraint Mandatory Default Value life Integer min: 0, max: 2147483647 No life_forever Boolean true, falseNo start_time String No start_ time_ month Choice January, February, March, April, May, June, July, August, September, October, November, DecemberNo start_time_day Integer min: 1, max: 31 No start_time_now Boolean true, falseNo start_ time_ pending Boolean true, falseNo start_ time_ after String No ageout Integer min: 0, max: 2073600 No recurring Boolean true, falseNo
Name Type Constraint Mandatory Default Value react Choice rtt, jitterSDAvg, jitterDSAvg, packetLossSD, packetLossDS, mos, timeout, connectionLoss, verifyError, jitterAvg, icpif, packetLateArrival, packetOutOfSequence, maxOfPositiveSD, maxOfNegativeSD, maxOfPositiveDS, maxOfNegativeDSYes action_type Choice none, trapOnly, triggerOnly, trapAndTriggerNo threshold_type Choice never, immediate, consecutive, xOfy, averageNo threshold_ type_ x Integer min: 1, max: 16 No threshold_ type_ y Integer min: 1, max: 16 No threshold_ value_ upper Integer min: 1, max: 60000 No threshold_ value_ lower Integer min: 1, max: 60000 No
Example 1: ICMP echo operation tracked for reachability, started immediately and running forever
source_interface_type : loopback
ip_sla_reachability : true
Example 2: UDP jitter operation with G.711 codec emulation, a jitter reaction that triggers a second operation, and a daily recurring schedule
operation_packet_priority : high
action_type : trapAndTrigger
threshold_value_upper : 30
threshold_value_lower : 10
close_connection_fin : true
Example 3: DNS and HTTP operations started together by a group schedule
url : http://10.0.0.80/index.html
Example 4: IP SLA responder with permanent UDP echo and TCP connect responders, TWAMP responder and TWAMP server
logging_level_responder : 5
server_twamp_timer_inactivity : 600