PROFILE::tcp

Description

Returns the current value of the specified setting in an assigned TCP profile.

Syntax

PROFILE::tcp <setting_name>

PROFILE::tcp <setting_name>

  • Returns the current value of the specified setting in an assigned TCP profile.

TO DO: Provide complete list of the possible setting names

Examples

when CLIENT_ACCEPTED {

    #To generate this list, I copied the profile options from 'b profile tcp list all'
    #The commands which are commented out are apparently not valid in an iRule (yet?)
    log local0. "\[PROFILE::tcp reset_on_timeout\]:    [PROFILE::tcp reset_on_timeout]"
    log local0. "\[PROFILE::tcp time_wait_recycle\]:   [PROFILE::tcp time_wait_recycle]"
    log local0. "\[PROFILE::tcp delayed_acks\]:        [PROFILE::tcp delayed_acks]"
    log local0. "\[PROFILE::tcp proxy_mss\]:           [PROFILE::tcp proxy_mss]"
    log local0. "\[PROFILE::tcp proxy_options\]:       [PROFILE::tcp proxy_options]"
    log local0. "\[PROFILE::tcp deferred_accept\]:     [PROFILE::tcp deferred_accept]"
    log local0. "\[PROFILE::tcp selective_acks\]:      [PROFILE::tcp selective_acks]"
    log local0. "\[PROFILE::tcp dsack\]:               [PROFILE::tcp dsack]"
    log local0. "\[PROFILE::tcp ecn\]:                 [PROFILE::tcp ecn]"
    log local0. "\[PROFILE::tcp limited_transmit\]:    [PROFILE::tcp limited_transmit]"
    log local0. "\[PROFILE::tcp rfc1323\]:             [PROFILE::tcp rfc1323]"
    log local0. "\[PROFILE::tcp slow_start\]:          [PROFILE::tcp slow_start]"
    log local0. "\[PROFILE::tcp bandwidth_delay\]:     [PROFILE::tcp bandwidth_delay]"
    log local0. "\[PROFILE::tcp nagle\]:               [PROFILE::tcp nagle]"
    log local0. "\[PROFILE::tcp abc\]:                 [PROFILE::tcp abc]"
    log local0. "\[PROFILE::tcp ack_on_push\]:         [PROFILE::tcp ack_on_push]"
    #log local0. "\[PROFILE::tcp md5_sign\]:            [PROFILE::tcp md5_sign]"
    log local0. "\[PROFILE::tcp cmetrics_cache\]:      [PROFILE::tcp cmetrics_cache]"
    #log local0. "\[PROFILE::tcp md5_sign_passphrase\]: [PROFILE::tcp md5_sign_passphrase]"
    log local0. "\[PROFILE::tcp proxy_buffer_low\]:    [PROFILE::tcp proxy_buffer_low]"
    log local0. "\[PROFILE::tcp proxy_buffer_high\]:   [PROFILE::tcp proxy_buffer_high]"
    log local0. "\[PROFILE::tcp idle_timeout\]:        [PROFILE::tcp idle_timeout]"
    #log local0. "\[PROFILE::tcp time_wait\]:           [PROFILE::tcp time_wait]"
    #log local0. "\[PROFILE::tcp fin_wait\]:            [PROFILE::tcp fin_wait]"
    #log local0. "\[PROFILE::tcp close_wait\]:          [PROFILE::tcp close_wait]"
    #log local0. "\[PROFILE::tcp send_buffer\]:         [PROFILE::tcp send_buffer]"
    #log local0. "\[PROFILE::tcp recv_window\]:         [PROFILE::tcp recv_window]"
    log local0. "\[PROFILE::tcp keep_alive_interval\]: [PROFILE::tcp keep_alive_interval]"
    #log local0. "\[PROFILE::tcp max_retrans_syn\]:     [PROFILE::tcp max_retrans_syn]"
    #log local0. "\[PROFILE::tcp max_retrans\]:         [PROFILE::tcp max_retrans]"
    #log local0. "\[PROFILE::tcp ip_tos\]:              [PROFILE::tcp ip_tos]"
    #log local0. "\[PROFILE::tcp link_qos\]:            [PROFILE::tcp link_qos]"
    #log local0. "\[PROFILE::tcp congestion_control\]:  [PROFILE::tcp congestion_control]"
    #log local0. "\[PROFILE::tcp partition\]:           [PROFILE::tcp partition]"
}
when SERVER_CONNECTED {
   #Log the idle timeout on the serverside TCP profile of the VIP (default of 300 seconds)
   log local0. "\[PROFILE::tcp idle_timeout\]: [PROFILE::tcp idle_timeout]"
}

Sample log output for the default tcp-lan-optimized profile in v10.0.1

<CLIENT_ACCEPTED>: [PROFILE::tcp reset_on_timeout]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp time_wait_recycle]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp delayed_acks]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp proxy_mss]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp proxy_options]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp deferred_accept]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp selective_acks]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp dsack]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp ecn]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp limited_transmit]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp rfc1323]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp slow_start]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp bandwidth_delay]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp nagle]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp abc]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp ack_on_push]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp cmetrics_cache]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp proxy_buffer_low]: 98304
<CLIENT_ACCEPTED>: [PROFILE::tcp proxy_buffer_high]: 131072
<CLIENT_ACCEPTED>: [PROFILE::tcp idle_timeout]: 300
<CLIENT_ACCEPTED>: [PROFILE::tcp keep_alive_interval]: 1800

<SERVER_CONNECTED: [PROFILE::tcp idle_timeout]: 300

There are a few more options available on v13.x

when CLIENT_ACCEPTED {
    log local0.debug "\[PROFILE::tcp abc\]: [PROFILE::tcp abc]"
    log local0.debug "\[PROFILE::tcp ack_on_push\]: [PROFILE::tcp ack_on_push]"
#   log local0.debug "\[PROFILE::tcp app_service\]: [PROFILE::tcp app_service]"
#   log local0.debug "\[PROFILE::tcp auto_proxy_buffer_size\]: [PROFILE::tcp auto_proxy_buffer_size]"
#   log local0.debug "\[PROFILE::tcp auto_receive_window_size\]: [PROFILE::tcp auto_receive_window_size]"
#   log local0.debug "\[PROFILE::tcp auto_send_buffer_size\]: [PROFILE::tcp auto_send_buffer_size]"
    log local0.debug "\[PROFILE::tcp close_wait_timeout\]: [PROFILE::tcp close_wait_timeout]"
    log local0.debug "\[PROFILE::tcp cmetrics_cache\]: [PROFILE::tcp cmetrics_cache]"
    log local0.debug "\[PROFILE::tcp cmetrics_cache_timeout\]: [PROFILE::tcp cmetrics_cache_timeout]"
#   log local0.debug "\[PROFILE::tcp congestion_control\]: [PROFILE::tcp congestion_control]"
#   log local0.debug "\[PROFILE::tcp defaults_from\]: [PROFILE::tcp defaults_from]"
    log local0.debug "\[PROFILE::tcp deferred_accept\]: [PROFILE::tcp deferred_accept]"
    log local0.debug "\[PROFILE::tcp delay_window_control\]: [PROFILE::tcp delay_window_control]"
    log local0.debug "\[PROFILE::tcp delayed_acks\]: [PROFILE::tcp delayed_acks]"
    log local0.debug "\[PROFILE::tcp description\]: [PROFILE::tcp description]"
    log local0.debug "\[PROFILE::tcp dsack\]: [PROFILE::tcp dsack]"
    log local0.debug "\[PROFILE::tcp early_retransmit\]: [PROFILE::tcp early_retransmit]"
    log local0.debug "\[PROFILE::tcp ecn\]: [PROFILE::tcp ecn]"
    log local0.debug "\[PROFILE::tcp enhanced_loss_recovery\]: [PROFILE::tcp enhanced_loss_recovery]"
    log local0.debug "\[PROFILE::tcp fast_open\]: [PROFILE::tcp fast_open]"
    log local0.debug "\[PROFILE::tcp fast_open_cookie_expiration\]: [PROFILE::tcp fast_open_cookie_expiration]"
    log local0.debug "\[PROFILE::tcp fin_wait_2_timeout\]: [PROFILE::tcp fin_wait_2_timeout]"
    log local0.debug "\[PROFILE::tcp fin_wait_timeout\]: [PROFILE::tcp fin_wait_timeout]"
#   log local0.debug "\[PROFILE::tcp hardware_syn_cookie\]: [PROFILE::tcp hardware_syn_cookie]"
    log local0.debug "\[PROFILE::tcp idle_timeout\]: [PROFILE::tcp idle_timeout]"
    log local0.debug "\[PROFILE::tcp init_cwnd\]: [PROFILE::tcp init_cwnd]"
    log local0.debug "\[PROFILE::tcp init_rwnd\]: [PROFILE::tcp init_rwnd]"
    log local0.debug "\[PROFILE::tcp ip_df_mode\]: [PROFILE::tcp ip_df_mode]"
    log local0.debug "\[PROFILE::tcp ip_tos_to_client\]: [PROFILE::tcp ip_tos_to_client]"
    log local0.debug "\[PROFILE::tcp ip_ttl_mode\]: [PROFILE::tcp ip_ttl_mode]"
    log local0.debug "\[PROFILE::tcp ip_ttl_v4\]: [PROFILE::tcp ip_ttl_v4]"
    log local0.debug "\[PROFILE::tcp ip_ttl_v6\]: [PROFILE::tcp ip_ttl_v6]"
    log local0.debug "\[PROFILE::tcp keep_alive_interval\]: [PROFILE::tcp keep_alive_interval]"
    log local0.debug "\[PROFILE::tcp limited_transmit\]: [PROFILE::tcp limited_transmit]"
    log local0.debug "\[PROFILE::tcp link_qos_to_client\]: [PROFILE::tcp link_qos_to_client]"
#   log local0.debug "\[PROFILE::tcp max_retrans\]: [PROFILE::tcp max_retrans]"
#   log local0.debug "\[PROFILE::tcp max_segment_size\]: [PROFILE::tcp max_segment_size]"
    log local0.debug "\[PROFILE::tcp md5_signature\]: [PROFILE::tcp md5_signature]"
    log local0.debug "\[PROFILE::tcp md5_signature_passphrase\]: [PROFILE::tcp md5_signature_passphrase]"
#   log local0.debug "\[PROFILE::tcp minimum_rto\]: [PROFILE::tcp minimum_rto]"
    log local0.debug "\[PROFILE::tcp mptcp\]: [PROFILE::tcp mptcp]"
    log local0.debug "\[PROFILE::tcp mptcp_csum\]: [PROFILE::tcp mptcp_csum]"
    log local0.debug "\[PROFILE::tcp mptcp_csum_verify\]: [PROFILE::tcp mptcp_csum_verify]"
    log local0.debug "\[PROFILE::tcp mptcp_debug\]: [PROFILE::tcp mptcp_debug]"
    log local0.debug "\[PROFILE::tcp mptcp_fallback\]: [PROFILE::tcp mptcp_fallback]"
    log local0.debug "\[PROFILE::tcp mptcp_fastjoin\]: [PROFILE::tcp mptcp_fastjoin]"
    log local0.debug "\[PROFILE::tcp mptcp_idle_timeout\]: [PROFILE::tcp mptcp_idle_timeout]"
#   log local0.debug "\[PROFILE::tcp mptcp_join_max\]: [PROFILE::tcp mptcp_join_max]"
    log local0.debug "\[PROFILE::tcp mptcp_makeafterbreak\]: [PROFILE::tcp mptcp_makeafterbreak]"
    log local0.debug "\[PROFILE::tcp mptcp_nojoindssack\]: [PROFILE::tcp mptcp_nojoindssack]"
    log local0.debug "\[PROFILE::tcp mptcp_rtomax\]: [PROFILE::tcp mptcp_rtomax]"
    log local0.debug "\[PROFILE::tcp mptcp_rxmitmin\]: [PROFILE::tcp mptcp_rxmitmin]"
    log local0.debug "\[PROFILE::tcp mptcp_subflowmax\]: [PROFILE::tcp mptcp_subflowmax]"
    log local0.debug "\[PROFILE::tcp mptcp_timeout\]: [PROFILE::tcp mptcp_timeout]"
    log local0.debug "\[PROFILE::tcp nagle\]: [PROFILE::tcp nagle]"
    log local0.debug "\[PROFILE::tcp pkt_loss_ignore_burst\]: [PROFILE::tcp pkt_loss_ignore_burst]"
    log local0.debug "\[PROFILE::tcp pkt_loss_ignore_rate\]: [PROFILE::tcp pkt_loss_ignore_rate]"
    log local0.debug "\[PROFILE::tcp proxy_buffer_high\]: [PROFILE::tcp proxy_buffer_high]"
    log local0.debug "\[PROFILE::tcp proxy_buffer_low\]: [PROFILE::tcp proxy_buffer_low]"
    log local0.debug "\[PROFILE::tcp proxy_mss\]: [PROFILE::tcp proxy_mss]"
    log local0.debug "\[PROFILE::tcp proxy_options \]: [PROFILE::tcp proxy_options]"
    log local0.debug "\[PROFILE::tcp rate_pace\]: [PROFILE::tcp rate_pace]"
    log local0.debug "\[PROFILE::tcp rate_pace_max_rate\]: [PROFILE::tcp rate_pace_max_rate]"
#   log local0.debug "\[PROFILE::tcp receive_window_size\]: [PROFILE::tcp receive_window_size]"
    log local0.debug "\[PROFILE::tcp reset_on_timeout\]: [PROFILE::tcp reset_on_timeout]"
    log local0.debug "\[PROFILE::tcp rexmt_thresh\]: [PROFILE::tcp rexmt_thresh]"
    log local0.debug "\[PROFILE::tcp selective_acks\]: [PROFILE::tcp selective_acks]"
    log local0.debug "\[PROFILE::tcp selective_nack\]: [PROFILE::tcp selective_nack]"
#   log local0.debug "\[PROFILE::tcp send_buffer_size\]: [PROFILE::tcp send_buffer_size]"
    log local0.debug "\[PROFILE::tcp slow_start\]: [PROFILE::tcp slow_start]"
#   log local0.debug "\[PROFILE::tcp syn_cookie_enable\]: [PROFILE::tcp syn_cookie_enable]"
#   log local0.debug "\[PROFILE::tcp syn_cookie_whitelist\]: [PROFILE::tcp syn_cookie_whitelist]"
#   log local0.debug "\[PROFILE::tcp syn_max_retrans\]: [PROFILE::tcp syn_max_retrans]"
    log local0.debug "\[PROFILE::tcp syn_rto_base\]: [PROFILE::tcp syn_rto_base]"
    log local0.debug "\[PROFILE::tcp tail_loss_probe\]: [PROFILE::tcp tail_loss_probe]"
    log local0.debug "\[PROFILE::tcp tcp_options\]: [PROFILE::tcp tcp_options]"
    log local0.debug "\[PROFILE::tcp time_wait_recycle\]: [PROFILE::tcp time_wait_recycle]"
    log local0.debug "\[PROFILE::tcp time_wait_timeout\]: [PROFILE::tcp time_wait_timeout]"
    log local0.debug "\[PROFILE::tcp timestamps\]: [PROFILE::tcp timestamps]"
    log local0.debug "\[PROFILE::tcp verified_accept\]: [PROFILE::tcp verified_accept]"
    log local0.debug "\[PROFILE::tcp zero_window_timeout\]: [PROFILE::tcp zero_window_timeout]"
}

Sample v13.x Output
<CLIENT_ACCEPTED>: [PROFILE::tcp abc]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp ack_on_push]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp close_wait_timeout]: 5
<CLIENT_ACCEPTED>: [PROFILE::tcp cmetrics_cache]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp cmetrics_cache_timeout]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp deferred_accept]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp delay_window_control]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp delayed_acks]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp description]:
<CLIENT_ACCEPTED>: [PROFILE::tcp dsack]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp early_retransmit]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp ecn]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp enhanced_loss_recovery]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp fast_open]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp fast_open_cookie_expiration]: 21600
<CLIENT_ACCEPTED>: [PROFILE::tcp fin_wait_2_timeout]: 300
<CLIENT_ACCEPTED>: [PROFILE::tcp fin_wait_timeout]: 5
<CLIENT_ACCEPTED>: [PROFILE::tcp idle_timeout]: 300
<CLIENT_ACCEPTED>: [PROFILE::tcp init_cwnd]: 3
<CLIENT_ACCEPTED>: [PROFILE::tcp init_rwnd]: 3
<CLIENT_ACCEPTED>: [PROFILE::tcp ip_df_mode]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp ip_tos_to_client]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp ip_ttl_mode]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp ip_ttl_v4]: 255
<CLIENT_ACCEPTED>: [PROFILE::tcp ip_ttl_v6]: 64
<CLIENT_ACCEPTED>: [PROFILE::tcp keep_alive_interval]: 1800
<CLIENT_ACCEPTED>: [PROFILE::tcp limited_transmit]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp link_qos_to_client]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp md5_signature]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp md5_signature_passphrase]:
<CLIENT_ACCEPTED>: [PROFILE::tcp mptcp]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp mptcp_csum]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp mptcp_csum_verify]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp mptcp_debug]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp mptcp_fallback]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp mptcp_fastjoin]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp mptcp_idle_timeout]: 300
<CLIENT_ACCEPTED>: [PROFILE::tcp mptcp_makeafterbreak]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp mptcp_nojoindssack]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp mptcp_rtomax]: 5
<CLIENT_ACCEPTED>: [PROFILE::tcp mptcp_rxmitmin]: 1000
<CLIENT_ACCEPTED>: [PROFILE::tcp mptcp_subflowmax]: 6
<CLIENT_ACCEPTED>: [PROFILE::tcp mptcp_timeout]: 3600
<CLIENT_ACCEPTED>: [PROFILE::tcp nagle]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp pkt_loss_ignore_burst]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp pkt_loss_ignore_rate]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp proxy_buffer_high]: 49152
<CLIENT_ACCEPTED>: [PROFILE::tcp proxy_buffer_low]: 32768
<CLIENT_ACCEPTED>: [PROFILE::tcp proxy_mss]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp proxy_options ]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp rate_pace]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp rate_pace_max_rate]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp reset_on_timeout]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp rexmt_thresh]: 3
<CLIENT_ACCEPTED>: [PROFILE::tcp selective_acks]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp selective_nack]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp slow_start]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp syn_rto_base]: 3000
<CLIENT_ACCEPTED>: [PROFILE::tcp tail_loss_probe]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp tcp_options]:
<CLIENT_ACCEPTED>: [PROFILE::tcp time_wait_recycle]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp time_wait_timeout]: 2000
<CLIENT_ACCEPTED>: [PROFILE::tcp timestamps]: 1
<CLIENT_ACCEPTED>: [PROFILE::tcp verified_accept]: 0
<CLIENT_ACCEPTED>: [PROFILE::tcp zero_window_timeout]: 20000