Traffic Functions

sth::traffic_config

Purpose

Creates, modifies, removes, or resets a stream block of network traffic on the specified test port(s). A stream is a series of packets that can be tracked by Spirent HLTAPI. A stream block is a collection of one or more streams represented by a base stream definition plus one or more rules that describe how the base definition is modified to produce additional streams.

Synopsis

Note

M indicates that the argument is Mandatory .

sth::traffic_config
   [-mode  {create|modify|remove|enable|disable|reset}  M]
        [-port_handle  <handle>  M]
        [-add_header  <ALPHANUM>]
        [-header_handle  <ANY>]
        [-pcap_file <inputFilePath>]
        [-stream_id <stream_handle>]
        [-tx_port_sending_traffic_to_self_en {true|false}]
        [-endpoint_map {one_to_one|one_to_many|many_to_many}]
        [-traffic_pattern {pair|backbone}]
        [-disable_signature -{1|0}]
        [-emulation_src_handle <handle>]
        [-emulation_dst_handle <handle>]
        [-tunnel_bottom_label <ALPHANUM>]
        [-tunnel_next_label <ALPHANUM>]
        [-tunnel_top_label <ALPHANUM>]
        [-auto_select_bindings  {1|0}]
        [-enable_stream {1|0}]
        [-traffic_type {L2|L3|FC}]
        [-fcs_error {1|0}]
        [-fill_value <integer>]
        [-inter_stream_gap <ANY>]
        [-inter_stream_gap_sb <ANY>]
        [-inter_stream_gap_unit {percent|fps|bytes|ms|ns|bps|Kbps|Mbps}]
        [-inter_stream_gap_unit_sb {percent|fps|bytes|ms|ns|bps|Kbps|Mbps}]
        [-bidirectional {0|1|true|false|yes|no}]
        [-port_handle2 <handle>]
        [-mac_dst2 <aa:bb:cc:dd:ee:ff>]
        [-mac_dst2_count <1-2147483647>]
        [-mac_dst2_mode {fixed|increment|decrement|random|shuffle|list}]
        [-mac_dst2_step <1-255>]
        [-mac_src2 <aa:bb:cc:dd:ee:ff>]
        [-mac_src2_count <1-2147483647>]
        [-mac_src2_mode {fixed|increment|decrement|random|shuffle|list}]
        [-mac_src2_step <1-255>]
        [-mac_src2_repeat_count <0-2147483647>]
        [-mac_dst2_repeat_count <0-2147483647>]
        [-mac_src_repeat_count <0-2147483647>]
        [-mac_dst_repeat_count <0-2147483647>]
        [-mac_src_seed <integer>]
        [-mac_src_mask <aa:bb:cc:dd:ee:ff>]
        [-mac_dst_seed <integer>]
        [-mac_dst_mask <aa:bb:cc:dd:ee:ff>]
        [-mac_src2_seed <integer>]
        [-mac_src2_mask <aa:bb:cc:dd:ee:ff>]
        [-mac_dst2_seed <integer>]
        [-mac_dst2_mask <aa:bb:cc:dd:ee:ff>]
        [-eth_preamble <octet string>]
        [-import_textfile_param <string>]
        [-import_textfile_name <string>]
        [-l2_encap   {ethernet_ii|ethernet_ii_vlan|atm_vc_mux|ethernet_8022|
                     ethernet_8022_vlan|ethernet_ii_vlan_mpls|ethernet_8023_snap|
                     ethernet_8023_snap_vlan|fibre_channel|ethernet_customer_snap|ethernet_customer}]
           [-frame_size <44-16365>]
           [-frame_size_min <44-16365>]
           [-frame_size_max <44-16365>]
           [-frame_size_imix <string>]
           [-frame_size_step <0-16321>]
           [-dest_port_list <port_list>]
           [-lacp_subtype {01|02} ]
           [-lacp_version <integer>]
           [-lacp_actor_info {01|02|03|00}]
           [-lacp_actor_info_len <integer>]
           [-lacp_actor_sys_pri <integer>]
           [-lacp_actor_sys_id <aa:bb:cc:dd:ee:ff>]
           [-lacp_actor_key <integer>]
           [-lacp_actor_port <integer>]
           [-lacp_actor_port_pri <integer>]
           [-lacp_actor_state <integer>]
           [-lacp_actor_reserved <integer>]
           [-lacp_partner_info  {01|02|03|00}]
           [-lacp_partner_info_len <integer>]
           [-lacp_partner_sys_pri <integer>]
           [-lacp_partner_sys_id <aa:bb:cc:dd:ee:ff>]
           [-lacp_partner_key <integer>]
           [-lacp_partner_port_pri <integer>]
           [-lacp_partner_port <integer>]
           [-lacp_partner_state  <integer>]
           [-lacp_partner_reserved  <octet string>]
           [-lacp_collector_info  {01|02|03|00}]
           [-lacp_collector_info_len <integer>]
           [-lacp_collector_state <integer>]
           [-lacp_collector_max_delay <integer>]
           [-lacp_collector_reserved <Octet string>]
           [-lacp_terminator_info {01|02|03|00}]
           [-lacp_terminator_info_len <integer>]
           [-lacp_terminator_reserved <octet string>]
           [-ether_type <hexadecimal>]
           [-eth_pause_dst_mac <aa:bb:cc:dd:ee:ff>]
           [-eth_pause_len_type <octet string>]
           [-eth_pause_name <string>
           [-eth_pause_opcode <octet string>]
           [-eth_pause_params <octet string>]
           [-eth_pause_preamble <octet string>]
           [-eth_pause_reserved <octet string>]
           [-eth_pause_src_mac <aa:bb:cc:dd:ee:ff>]
           [-lldp_chassis_id_length <integer>]
           [-lldp_chassis_id_name <string>]
           [-lldp_chassis_id_type <integer>]
           [-lldp_chassis_id_chassis_component_id <ascii>]
           [-lldp_chassis_id_chassis_component_name <string>]
           [-lldp_chassis_id_chassis_component_subtype <octet string>]
           [-lldp_chassis_id_custom_id <octet string>]
           [-lldp_chassis_id_custom_name <string>]
           [-lldp_chassis_id_custom_subtype <octet string>]
           [-lldp_chassis_id_interface_alias_id <ascii>]
           [-lldp_chassis_id_interface_alias_name <string>]
           [-lldp_chassis_id_interface_alias_subtype <octet string>]
           [-lldp_chassis_id_interface_name_id <ascii>]
           [-lldp_chassis_id_interface_name_name <string>]
           [-lldp_chassis_id_interface_name_subtype <octet string>]
           [-lldp_chassis_id_locally_assigned_id <ascii>]
           [-lldp_chassis_id_locally_assigned_name <string>]
           [-lldp_chassis_id_locally_assigned_subtype <octet string>]
           [-lldp_chassis_id_mac_addr_id <aa:bb:cc:dd:ee:ff>]
           [-lldp_chassis_id_mac_addr_name <string>]
           [-lldp_chassis_id_mac_addr_subtype <octet string>]
           [-lldp_chassis_id_network_addr4_iana <integer>]
           [-lldp_chassis_id_network_addr4_id <a.b.c.d>]
           [-lldp_chassis_id_network_addr4_name <string>]
           [-lldp_chassis_id_network_addr4_subtype <octet string>]
           [-lldp_chassis_id_network_addr6_iana <integer>]
           [-lldp_chassis_id_network_addr6_id <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-lldp_chassis_id_network_addr6_name <string>]
           [-lldp_chassis_id_network_addr6_subtype <octet string>]
           [-lldp_chassis_id_port_component_id <ascii>]
           [-lldp_chassis_id_port_component_name <string>]
           [-lldp_chassis_id_port_component_subtype <octet string>]
           [-lldp_port_id_length <integer>]
           [-lldp_port_id_name <string>]
           [-lldp_port_id_type <integer>]
           [-lldp_port_id_agent_circuit_id_id <ascii>]
           [-lldp_port_id_agent_circuit_id_name <string>]
           [-lldp_port_id_agent_circuit_id_subtype <octet string>]
           [-lldp_port_id_custom_id <octet string>]
           [-lldp_port_id_custom_name <string>]
           [-lldp_port_id_custom_subtype <octet string>]
           [-lldp_port_id_interface_alias_id <ascii>]
           [-lldp_port_id_interface_alias_name <string>]
           [-lldp_port_id_interface_alias_subtype <octet string>]
           [-lldp_port_id_interface_name_id <ascii>]
           [-lldp_port_id_interface_name_name <string>]
           [-lldp_port_id_interface_name_subtype <octet string>]
           [-lldp_port_id_locally_assigned_id <ascii>]
           [-lldp_port_id_locally_assigned_name <string>]
           [-lldp_port_id_locally_assigned_subtype <octet string>]
           [-lldp_port_id_mac_addr_id <aa:bb:cc:dd:ee:ff>]
           [-lldp_port_id_mac_addr_name <string>]
           [-lldp_port_id_mac_addr_subtype <octet string>]
           [-lldp_port_id_network_addr4_iana <integer>]
           [-lldp_port_id_network_addr4_id <a.b.c.d>]
           [-lldp_port_id_network_addr4_name <string>]
           [-lldp_port_id_network_addr4_subtype <octet string>]
           [-lldp_port_id_network_addr6_iana <integer>]
           [-lldp_port_id_network_addr6_id <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-lldp_port_id_network_addr6_name <string>]
           [-lldp_port_id_network_addr6_subtype <octet string>]
           [-lldp_port_id_port_component_id <ascii>]
           [-lldp_port_id_port_component_name <string>]
           [-lldp_port_id_port_component_subtype <octet string>]
           [-lldp_ttl_length <integer>]
           [-lldp_ttl_name <string>]
           [-lldp_ttl_type <integer>]
           [-lldp_ttl_ttl <integer>]
           [-lldp_end_length <integer>]
           [-lldp_end_name <string>]
           [-lldp_end_type <integer>]
           [-lldp_sys_name_len <integer>]
           [-lldp_sys_name_name <ascii>]
           [-lldp_sys_name_type <integer>]
           [-lldp_sys_decr_len <integer>]
           [-lldp_sys_desc_desc <ascii>]
           [-lldp_sys_desc_type <integer>]
           [-lldp_port_desc_len <integer>]
           [-lldp_port_desc_desc <ascii>]
           [-lldp_port_desc_type <integer>]
           [-lldp_cust_len <integer>]
           [-lldp_cust_value <octet string>]
           [-lldp_cust_type <integer>]
           [-lldp_max_frame_maxframesize <integer>]
           [-lldp_max_frame_len <integer>]
           [-lldp_max_frame_oui <octet string>]
           [-lldp_max_frame_subtype <octet string>]
           [-lldp_max_frame_type <integer>]
           [-lldp_port_vlan_id_len <integer>]
           [-lldp_port_vlan_id_oui <octet string>]
           [-lldp_port_vlan_id_portvlanid <octet string>]
           [-lldp_port_vlan_id_subtype <octet string>]
           [-lldp_port_vlan_id_type <integer>]
           [-lldp_vlan_name_len <integer>]
           [-lldp_vlan_name_oui <octet string>]
           [-lldp_vlan_name_subtype <octet string>]
           [-lldp_vlan_name_type <integer>]
           [-lldp_vlan_name_vlan_id <integer>]
           [-lldp_vlan_name_vlanname <ascii>]
           [-lldp_vlan_name_vlannamelen <integer>]
           [-lldp_protocol_id_len <integer>]
           [-lldp_protocol_id_oui <octet string>]
           [-lldp_protocol_id_protocolid <octet string>]
           [-lldp_protocol_id_protocolidlen <integer>]
           [-lldp_protocol_id_subtype <octet string>]
           [-lldp_protocol_id_type <integer>]
           [-lldp_org_spec_len <integer>]
           [-lldp_org_spec_oui <octet string>]
           [-lldp_org_spec_subtype <octet string>]
           [-lldp_org_spec_type <integer>]
           [-lldp_org_spec_value <octet string>]
           [-lldp_dcbx_tlvt1_len <integer>]
           [-lldp_dcbx_tlvt1_oui <octet string>]
           [-lldp_dcbx_tlvt1_subtype <octet string>]
           [-lldp_dcbx_tlvt1_type <integer>]
           [-lldp_dcbx_tlvt2_len <integer>]
           [-lldp_dcbx_tlvt2_oui <octet string>]
           [-lldp_dcbx_tlvt2_subtype <octet string>]
           [-lldp_dcbx_tlvt2_type <integer>]
           [-lldp_pri_based_flow_control_len <integer>]
           [-lldp_pri_based_flow_control_mbc <bitstring>]
           [-lldp_pri_based_flow_control_oui <octet string>]
           [-lldp_pri_based_flow_control_pfc_cap <integer>]
           [-lldp_pri_based_flow_control_pfc_enable <bitstring>]
           [-lldp_pri_based_flow_control_reserved <bitstring>]
           [-lldp_pri_based_flow_control_subtype <octet string>]
           [-lldp_pri_based_flow_control_type <integer>]
           [-lldp_pri_based_flow_control_willing <bitstring>]
           [-lldp_app_pri_len <integer>]
           [-lldp_app_pri_oui <octet string>]
           [-lldp_app_pri_reserved <bitstring>]
           [-lldp_app_pri_subtype <octet string>]
           [-lldp_app_pri_type <integer>]
           [-lldp_app_pri_app_pri_name <string>]
           [-lldp_app_pri_app_pri_priority <integer>]
           [-lldp_app_pri_app_pri_protocolid <octet string>]
           [-lldp_app_pri_app_pri_reserved <bitstring>]
           [-lldp_app_pri_app_pri_sel <integer>]
           [-lldp_niv_support_len <integer>]
           [-lldp_niv_support_oui <octet string>]
           [-lldp_niv_support_subtype <octet string>]
           [-lldp_niv_support_type <integer>]
           [-lldp_sys_cap_len <integer>]
           [-lldp_sys_cap_type <integer>]
           [-lldp_enabled_cap_bridge <bitstring>]
           [-lldp_enabled_cap_docs_is_cable_dev <bitstring>]
           [-lldp_enabled_cap_name <string>]
           [-lldp_enabled_cap_other <bitstring>]
           [-lldp_enabled_cap_repeater <bitstring>]
           [-lldp_enabled_cap_reserved <octet string>]
           [-lldp_enabled_cap_router <bitstring>]
           [-lldp_enabled_cap_stationonly <bitstring>]
           [-lldp_enabled_cap_telephone <bitstring>]
           [-lldp_enabled_cap_wlan_access_point <bitstring>]
           [-lldp_system_cap_bridge <bitstring>]
           [-lldp_system_cap_docs_is_cable_dev <bitstring>]
           [-lldp_system_cap_name <string>]
           [-lldp_system_cap_other <bitstring>]
           [-lldp_system_cap_repeater <bitstring>]
           [-lldp_system_cap_reserved <octet string>]
           [-lldp_system_cap_router <bitstring>]
           [-lldp_system_cap_stationonly <bitstring>]
           [-lldp_system_cap_telephone <bitstring>]
           [-lldp_system_cap_wlan_access_point <bitstring>]
           [-lldp_mgn_addr_if_num <integer>]
           [-lldp_mgn_addr_len <integer>]
           [-lldp_mgn_addr_oid <octet string>]
           [-lldp_mgn_addr_oid_len <integer>]
           [-lldp_mgn_addr_type <integer>]
           [-lldp_mgn_addr_cust_addr_sub_type <octet string>]
           [-lldp_mgn_addr_cust_addr_mgn_addr <octet string>]
           [-lldp_mgn_addr_ipv4_addr_sub_type <octet string>]
           [-lldp_mac_phy_config_status_len <integer>]
           [-lldp_mac_phy_config_status_op_mau_type <octet string>]
           [-lldp_mac_phy_config_status_oui <octet string>]
           [-lldp_mac_phy_config_status_subtype <octet string>]
           [-lldp_mac_phy_config_status_type <integer>]
           [-lldp_auto_neg_adv_cap_b1000baset <bitstring>]
           [-lldp_auto_neg_adv_cap_b1000basetfd <bitstring>]
           [-lldp_auto_neg_adv_cap_b1000basex <bitstring>]
           [-lldp_auto_neg_adv_cap_b1000basexfd <bitstring>]
           [-lldp_auto_neg_adv_cap_b100baset2 <bitstring>]
           [-lldp_auto_neg_adv_cap_b100baset2fd <bitstring>]
           [-lldp_auto_neg_adv_cap_b100baset4 <bitstring>]
           [-lldp_auto_neg_adv_cap_b100basetx <bitstring>]
           [-lldp_auto_neg_adv_cap_b100basetxfd <bitstring>]
           [-lldp_auto_neg_adv_cap_b10baset <bitstring>]
           [-lldp_auto_neg_adv_cap_b10basetfd <bitstring>]
           [-lldp_auto_neg_adv_cap_bfdxa_pause <bitstring>]
           [-lldp_auto_neg_adv_cap_bfdxb_pause <bitstring>]
           [-lldp_auto_neg_adv_cap_bfdx_pause <bitstring>]
           [-lldp_auto_neg_adv_cap_other <bitstring>]
           [-lldp_auto_neg_adv_cap_name <string>]
           [-lldp_auto_neg_sup_and_stat_auto_neg_enabled <bitstring>]
           [-lldp_auto_neg_sup_and_stat_auto_neg_supported <bitstring>]
           [-lldp_auto_neg_sup_and_stat_name <string>]
           [-lldp_auto_neg_sup_and_stat_reserved <bitstring>]
           [-lldp_pow_via_mdi_len <integer>]
           [-lldp_pow_via_mdi_oui <octet string>]
           [-lldp_pow_via_mdi_name <string>]
           [-lldp_pow_via_mdi_pse_pow_class <octet string>]
           [-lldp_pow_via_mdi_pse_pow_pairs <octet string>]
           [-lldp_pow_via_mdi_subtype <octet string>]
           [-lldp_pow_via_mdi_type <integer>]
           [-lldp_mdi_pow_sup_name <string>]
           [-lldp_mdi_pow_sup_port_class <bitstring>]
           [-lldp_mdi_pow_sup_pse_mdi_pow_state <bitstring>]
           [-lldp_mdi_pow_sup_pse_mdi_pow_support <bitstring>]
           [-lldp_mdi_pow_sup_pse_pairs_ctl_ability <bitstring>]
           [-lldp_mdi_pow_sup_reserved <bitstring>]
           [-lldp_link_agg_len <integer>]
           [-lldp_link_agg_oui <octet string>]
           [-lldp_link_agg_name <string>]
           [-lldp_link_agg_subtype <octet string>]
           [-lldp_link_agg_type <integer>]
           [-lldp_link_agg_port_id <octet string>]
           [-lldp_agg_stat_agg_cap <bitstring>]
           [-lldp_agg_stat_agg_status <bitstring>]
           [-lldp_agg_stat_name <string>]
           [-lldp_agg_stat_reserved <bitstring>]
           [-lldp_port_and_pro_vlanid_len <integer>]
           [-lldp_port_and_pro_vlanid_oui <octet string>]
           [-lldp_port_and_pro_vlanid_name <string>]
           [-lldp_port_and_pro_vlanid_subtype <octet string>]
           [-lldp_port_and_pro_vlanid_type <integer>]
           [-lldp_port_and_pro_vlanid_vlanid <octet string>]
           [-lldp_flags_name <string>]
           [-lldp_ets_conf_cbs <bitstring>]
           [-lldp_ets_conf_len <integer>]
           [-lldp_ets_conf_max_tcs <integer>]
           [-lldp_ets_conf_name <string>]
           [-lldp_ets_conf_oui <octet string>]
           [-lldp_ets_conf_reserved <bitstring>]
           [-lldp_ets_conf_subtype <octet string>]
           [-lldp_ets_conf_type <integer>]
           [-lldp_ets_conf_willing <bitstring>]
           [-lldp_ets_conf_pri_assign_name <string>]
           [-lldp_ets_conf_pri_assign_pri_0 <integer>]
           [-lldp_ets_conf_pri_assign_pri_1 <integer>]
           [-lldp_ets_conf_pri_assign_pri_2 <integer>]
           [-lldp_ets_conf_pri_assign_pri_3 <integer>]
           [-lldp_ets_conf_pri_assign_pri_4 <integer>]
           [-lldp_ets_conf_pri_assign_pri_5 <integer>]
           [-lldp_ets_conf_pri_assign_pri_6 <integer>]
           [-lldp_ets_conf_pri_assign_pri_7 <integer>]
           [-lldp_ets_conf_tc_bw_name <string>]
           [-lldp_ets_conf_tc_bw_tc_percent_0 <integer>]
           [-lldp_ets_conf_tc_bw_tc_percent_1 <integer>]
           [-lldp_ets_conf_tc_bw_tc_percent_2 <integer>]
           [-lldp_ets_conf_tc_bw_tc_percent_3 <integer>]
           [-lldp_ets_conf_tc_bw_tc_percent_4 <integer>]
           [-lldp_ets_conf_tc_bw_tc_percent_5 <integer>]
           [-lldp_ets_conf_tc_bw_tc_percent_6 <integer>]
           [-lldp_ets_conf_tc_bw_tc_percent_7 <integer>]
           [-lldp_ets_conf_tsa_assign_name <string>]
           [-lldp_ets_conf_tsa_assign_traffic_class_0 <integer>]
           [-lldp_ets_conf_tsa_assign_traffic_class_1 <integer>]
           [-lldp_ets_conf_tsa_assign_traffic_class_2 <integer>]
           [-lldp_ets_conf_tsa_assign_traffic_class_3 <integer>]
           [-lldp_ets_conf_tsa_assign_traffic_class_4 <integer>]
           [-lldp_ets_conf_tsa_assign_traffic_class_5 <integer>]
           [-lldp_ets_conf_tsa_assign_traffic_class_6 <integer>]
           [-lldp_ets_conf_tsa_assign_traffic_class_7 <integer>]
           [-lldp_ets_recommend_len <integer>]
           [-lldp_ets_recommend_name <string>]
           [-lldp_ets_recommend_oui <octet string>]
           [-lldp_ets_recommend_reserved <bitstring>]
           [-lldp_ets_recommend_subtype <octet string>]
           [-lldp_ets_recommend_type <integer>]
           [-lldp_ets_recommend_pri_assign_name <string>]
           [-lldp_ets_recommend_pri_assign_pri_0 <integer>]
           [-lldp_ets_recommend_pri_assign_pri_1 <integer>]
           [-lldp_ets_recommend_pri_assign_pri_2 <integer>]
           [-lldp_ets_recommend_pri_assign_pri_3 <integer>]
           [-lldp_ets_recommend_pri_assign_pri_4 <integer>]
           [-lldp_ets_recommend_pri_assign_pri_5 <integer>]
           [-lldp_ets_recommend_pri_assign_pri_6 <integer>]
           [-lldp_ets_recommend_pri_assign_pri_7 <integer>]
           [-lldp_ets_recommend_tc_bw_name <string>]
           [-lldp_ets_recommend_tc_bw_tc_percent_0 <integer>]
           [-lldp_ets_recommend_tc_bw_tc_percent_1 <integer>]
           [-lldp_ets_recommend_tc_bw_tc_percent_2 <integer>]
           [-lldp_ets_recommend_tc_bw_tc_percent_3 <integer>]
           [-lldp_ets_recommend_tc_bw_tc_percent_4 <integer>]
           [-lldp_ets_recommend_tc_bw_tc_percent_5 <integer>]
           [-lldp_ets_recommend_tc_bw_tc_percent_6 <integer>]
           [-lldp_ets_recommend_tc_bw_tc_percent_7 <integer>]
           [-lldp_ets_recommend_tsa_assign_name <string>]
           [-lldp_ets_recommend_tsa_assign_traffic_class_0 <integer>]
           [-lldp_ets_recommend_tsa_assign_traffic_class_1 <integer>]
           [-lldp_ets_recommend_tsa_assign_traffic_class_2 <integer>]
           [-lldp_ets_recommend_tsa_assign_traffic_class_3 <integer>]
           [-lldp_ets_recommend_tsa_assign_traffic_class_4 <integer>]
           [-lldp_ets_recommend_tsa_assign_traffic_class_5 <integer>]
           [-lldp_ets_recommend_tsa_assign_traffic_class_6 <integer>]
           [-lldp_ets_recommend_tsa_assign_traffic_class_7 <integer>]
           [-lldp_congest_notify_cnpv_cap <bitstring>]
           [-lldp_congest_notify_cnpv_ready <bitstring>]
           [-lldp_congest_notify_len <integer>]
           [-lldp_congest_notify_name <string>]
           [-lldp_congest_notify_oui <octet string>]
           [-lldp_congest_notify_subtype <octet string>]
           [-lldp_congest_notify_type <integer>]
           [-lldp_evb_mode <EvbModes>]
           [-lldp_evb_len <integer>]
           [-lldp_evb_name <string>]
           [-lldp_evb_oui <octet string>]
           [-lldp_evb_r <integer>]
           [-lldp_evb_reserved <bitstring>]
           [-lldp_evb_rka <integer>]
           [-lldp_evb_rol_rka <{0|1}>]
           [-lldp_evb_rol_rwd <{0|1}>]
           [-lldp_evb_rte <integer>]
           [-lldp_evb_rwd <integer>]
           [-lldp_evb_type <integer>]
           [-lldp_evb_bg_stat_bgid <bitstring>]
           [-lldp_evb_bg_stat_name <string>]
           [-lldp_evb_bg_stat_reserved <bitstring>]
           [-lldp_evb_bg_stat_rrcap <bitstring>]
           [-lldp_evb_bg_stat_rrctr <bitstring>]
           [-lldp_evb_station_stat_name <string>]
           [-lldp_evb_station_stat_reserved <bitstring>]
           [-lldp_evb_station_stat_rrreq <bitstring>]
           [-lldp_evb_station_stat_rrstat <bitstring>]
           [-lldp_evb_station_stat_sgid <bitstring>]
           [-lldp_cdcp_chn_cap <integer>]
           [-lldp_cdcp_len <integer>]
           [-lldp_cdcp_name <string>]
           [-lldp_cdcp_oui <octet string>]
           [-lldp_cdcp_reserved_1 <bitstring>]
           [-lldp_cdcp_reserved_2 <bitstring>]
           [-lldp_cdcp_role <integer>]
           [-lldp_cdcp_scomp <bitstring>]
           [-lldp_cdcp_type <integer>]
           [-lldp_cdcp_scid_vsids_name <string>]
           [-lldp_cdcp_scid_svid_name <string>]
           [-lldp_cdcp_scid_svid_scid <integer>]
           [-lldp_cdcp_scid_svid_svid <integer>]
           [-lldp_aec_add_frag_size <integer>]
           [-lldp_aec_len <integer>]
           [-lldp_aec_name <string>]
           [-lldp_aec_oui <octet string>]
           [-lldp_aec_preempt_cap_active <integer>]
           [-lldp_aec_preempt_cap_status <integer>]
           [-lldp_aec_preempt_cap_support <integer>]
           [-lldp_aec_subtype <octet string>]
           [-lldp_aec_type <integer>]
           [-lsp_ping_version <integer>]
           [-lsp_ping_msg_type <integer>]
           [-lsp_ping_reply_mode <integer>]
           [-lsp_ping_rsrvd <bitstring>]
           [-lsp_ping_rtn_code <integer>]
           [-lsp_ping_rtn_subcode <integer>]
           [-lsp_ping_seq_num <integer>]
           [-lsp_ping_sndr_hdl <integer>]
           [-lsp_ping_timestamp_recvd <octet string>]
           [-lsp_ping_timestamp_sent <octet string>]
           [-lsp_ping_validate_fec_bit <bitstring>]
           [-lsp_pad_tlv_length <integer>]
           [-lsp_pad_tlv_option <integer>]
           [-lsp_pad_tlv_pad_val <octet string>]
           [-lsp_pad_tlv_type <integer>]
           [-mac_dst <aa:bb:cc:dd:ee:ff>]
           [-mac_dst_count <1-2147483647>]
           [-mac_dst_mode {fixed|increment|decrement|discovery|random|shuffle|list}]
           [-mac_dst_step <1-255>]
           [-mac_src <aa:bb:cc:dd:ee:ff>]
           [-mac_src_count <1-2147483647>]
           [-mac_src_mode {fixed|increment|decrement|random|shuffle|list}]
           [-mac_src_step <1-255>]
           [-llc_control <00-FF>]
           [-snap_ether_type <hexadecimal>]
           [-snap_oui_id <000000-FFFFFF>]
           [-appletalk_header <hexadecimal>]
           [-aarp_header <hexadecimal>]
           [-decnet_header <hexadecimal>]
           [-vines_header <hexadecimal>]
           [-customer_eth_mac_dst <aa:bb:cc:dd:ee:ff>]
           [-customer_eth_mac_src <aa:bb:cc:dd:ee:ff>]
           [-customer_eth_preamble <octet string>]
           [-customer_eth_length <integer>]
           [-customer_eth_type <hexadecimal>]
           [-customer_eth_svlan_dei {0|1}]
           [-customer_eth_svlan_pcp <bitstring>]
           [-customer_eth_svlan_type <0-65535>]
           [-customer_eth_svlan_vid <0-4095>]
           [-customer_eth_cvlan_cfi {0|1}]
           [-customer_eth_cvlan_pcp <bitstring>]
           [-customer_eth_cvlan_type <0-65535>]
           [-customer_eth_cvlan_vid <0-4095>]
           [-llc_dsap {04|06|80|AA|BC|E0|FE}]
           [-llc_ssap {04|06|80|AA|BC|E0|FE}]
           [-ipx_header <hexadecimal>]
           [-xns_header <hexadecimal>]
           [-length_mode    {increment|decrement|imix|fixed|random|auto}]
             [-l3_length <40-16383>]
             [-l3_length_step <1-8192>]
             [-l3_length_max  <40-16383>]
             [-l3_length_min  <40-16383>]
             [-l3_imix1_ratio <integer>]
             [-l3_imix1_size <integer>]
             [-l3_imix2_ratio <integer>]
             [-l3_imix2_size <integer>]
             [-l3_imix3_ratio <integer>]
             [-l3_imix3_size <integer>]
             [-l3_imix4_ratio <integer>]
             [-l3_imix4_size <integer>]
           [-vci <0-65535>]
           [-vci_count <1-65536>]
           [-vci_step <0-65535>]
           [-vpi <0-255>]
           [-vpi_count <1-256>]
           [-vpi_step <0-255>]
           [-vlan_cfi {0|1}]
           [-vlan_outer_cfi {0|1}]
           [-vlan_priority_mode {fixed|increment|decrement|random|shuffle|list}]
           [-vlan_priority_step <0-4095>]
           [-vlan_priority_count <1-4096>]
           [-vlan_id  <0-4094>]
             [-vlan_id_count  <1-4096>]
             [-vlan_id_mode {fixed|increment|decrement|random|shuffle|list}]
             [-vlan_id_repeat <integer>]
             [-vlan_id_step <0-4095>]
             [-vlan_tpid <0-65535>]
             [-vlan_user_priority <0-7>]
           [-vlan_id_outer <0-4095>]
             [-vlan_id_outer_mode {fixed|increment|decrement|random|shuffle|list}]
             [-vlan_id_outer_count <1-4096>]
             [-vlan_id_outer_repeat <integer>]
             [-vlan_id_outer_step <0-4094>]
             [-vlan_outer_tpid <0-65535>]
             [-vlan_outer_user_priority <0-7>]
             [-vlan_priority_outer_mode {fixed|increment|decrement|random|shuffle|list}]
             [-vlan_priority_outer_count <1-4096>]
             [-vlan_priority_outer_step <0-4095>]
           [-qinq_incr_mode {inner|outer|both}]
           [-fc_eof {EOFt|EOFa|EOFn|EOFni}]
           [-fc_sof {SOFi2|SOFn2|SOFi3|SOFn3|SOFf}]
           [-fc_cs_ctl  <00 - FF>]
           [-fc_data_field_control <00 - FF>]
           [-fc_dest_id <000000 - FFFFFF>]
           [-fc_dest_id_count <numeric>]
           [-fc_dest_id_mode {increment|decrement|list|random|shuffle}]
           [-fc_dest_id_repeat <integer>]
           [-fc_dest_id_step <0-4095>]
           [-fc_frame_control <000000 - FFFFFF>]
           [-fc_orig_exchange_id <0000 - FFFF>]
           [-fc_parameter <00000000 - FFFFFFFF>]
           [-fc_r_ctl  <0 - FF>]
           [-fc_response_exchange_id <0000 - FFFF>]
           [-fc_seq_count <0000 - FFFF>]
           [-fc_seq_id <00 - FF>]
           [-fc_source_id <000000 - FFFFFF>]
           [-fc_source_id_count <numeric>]
           [-fc_source_id_mode {increment|decrement|list|random|shuffle}]
           [-fc_source_id_repeat <integer>]
           [-fc_source_id_step <0-4095>]
           [-fc_type <00 - FF>]
        [-l2_encap {ethernet_ii_pppoe|ethernet_ii_vlan_pppoe|
                   ethernet_ii_qinq_pppoe|ethernet_ii_unicast_mpls}]
        [-l3_protocol  {ipv4|ipv6|arp|gre}]
           [-arp_src_hw_addr < aa:bb:cc:dd:ee:ff>]
           [-arp_src_hw_mode <fixed|increment|decrement>]
           [-arp_src_hw_count <1-2147483647>]
           [-arp_src_hw_step < aa:bb:cc:dd:ee:ff>]
           [-arp_dst_hw_addr <aa:bb:cc:dd:ee:ff>]
           [-arp_dst_hw_mode <fixed|increment|decrement>]
           [-arp_dst_hw_count <1-2147483647>]
           [-arp_dst_hw_step < aa:bb:cc:dd:ee:ff>]
           [-arp_operation {arpRequest|arpReply|rarpRequest|rarpReply}]
           [-protocol_addr_len <NUMERIC>]
           [-hardware_addr_len <NUMERIC>]
           [-mf_bit  {0|1}]
           [-mf_bit_mode {increment|decrement|random|shuffle|fixed|list}]
           [-mf_bit_step <integer>]
           [-mf_bit_count <integer>]
           [-mf_bit_mask  <integer>]
           [-mf_bit_repeat_count  <integer>]
           [-reserved  {0|1}]
           [-reserved_mode {increment|decrement|random|shuffle|fixed|list}]
           [-reserved_step <integer>]
           [-reserved_count <integer>]
           [-reserved_mask  <integer>]
           [-reserved_repeat_count  <integer>]
           [-ip_checksum  {0|1}]
           [-ip_dscp  <0-63>]
           [-ip_dscp_step  <1-63>]
           [-ip_dscp_count  <1-63>]
           [-ip_dscp_data_type  {NATIVE|BYTE}]
           [-ip_dscp_mask  <01-FF>]
           [-ip_dst_addr   <a.b.c.d>]
           [-ip_dst_count  <1-2147483647>]
           [-ip_dst_mode  {increment|decrement|random|shuffle|fixed|list}]
           [-ip_dst_step   <a.b.c.d>]
           [-ip_dst_block_count <1-2147483647>]
           [-ip_dst_block_step <a.b.c.d>]
           [-ip_ecn {00|01|10|11}]
           [-ip_fragment   {1|0}]
           [-ip_fragment_mode {increment|decrement|random|shuffle|fixed|list}]
           [-ip_fragment_step <integer>]
           [-ip_fragment_count <integer>]
           [-ip_fragment_mask <integer>]
           [-ip_fragment_repeat_count <integer>]
           [-ip_fragment_offset <0-8191>]
           [-ip_fragment_offset_mode {increment|decrement|random|shuffle|fixed|list}]
           [-ip_fragment_offset_step <integer>]
           [-ip_fragment_offset_count <integer>]
           [-ip_fragment_offset_mask  <integer>]
           [-ip_fragment_offset_repeat_count <integer>]
           [-ip_hdr_length  <0-15>]
           [-ip_id <0-65535> ]
           [-ip_precedence <0-7> ]
           [-ip_precedence_count <integer>]
           [-ip_precedence_mode {increment|decrement|random|shuffle|list}]
           [-ip_precedence_step <1-7> ]
           [-ip_precedence_data_type {NATIVE|BYTE}]
           [-ip_precedence_mask <01-FF>]
           [-ip_protocol   <0-255>]
           [-ip_src_addr   <a.b.c.d>]
           [-ip_src_count  <1-2147483647>]
           [-ip_src_mode {increment|decrement|random|shuffle|fixed|list}]
           [-ip_src_step   <a.b.c.d>]
           [-ip_src_repeat_count <0-2147483647>]
           [-ip_dst_repeat_count <0-2147483647>]
           [-ip_src_seed <integer>]
           [-ip_src_mask <a.b.c.d>]
           [-ip_dst_seed <integet>]
           [-ip_dst_mask <a.b.c.d>]
           [-ip_tos_field  <0-15>]
           [-ip_tos_count <integer>]
           [-ip_tos_step <1-15>]
           [-ip_tos_mode  {increment|decrement|random|shuffle|fixed|list}]
           [-ip_tos_data_type  {NATIVE|BYTE}]
           [-ip_tos_mask  <01-FF>]
           [-ip_mbz {0|1}]
           [-ip_router_alert {0|1}]
           [-ipv4_header_options {router_alert|nop|loose_source_route|strict_source_route
                                  time_stamp|record_route|address_extension|security|stream_identifier}]
           [-ipv4_router_alert  <keyed list>]
           [-ipv4_loose_source_route  <keyed list>]
           [-ipv4_nop  <keyed list>]
           [-ipv4_strict_source_route  <keyed list>]
           [-ipv4_time_stamp  <keyed list>]
           [-ipv4_record_route  <keyed list>]
           [-ipv4_address_extension  <keyed list>]
           [-ipv4_security_compartments  <0-65535>]
           [-ipv4_security_handling_restrictions  <0-65535>]
           [-ipv4_security_length  <0-255>]
           [-ipv4_security  <0-65535>]
           [-ipv4_security_tx_control_code  <integer>]
           [-ipv4_security_type  <integer>]
           [-ipv4_stream_identifier_len  <0-255>]
           [-ipv4_stream_identifier  <0-65535>]
           [-ipv4_stream_identifier_type  <integer>]
           [-ip_ttl        <0-255>]
           [-ipv6_dst_addr  <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-ipv6_dst_count <1-2147483647>]
           [-ipv6_dst_mode  {increment|decrement|random|shuffle|fixed|list}]
           [-ipv6_dst_step <1-65535>|<aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-ipv6_dstprefix_len <1-128>]
           [-ipv6_flow_label  <0-1048575]
           [-ipv6_hop_limit  <0-255>]
           [-ipv6_length    <0-65535>]
           [-ipv6_next_header <0-255>]
           [-ipv6_gateway_addr <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-ipv6_src_addr  <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-ipv6_src_count <1-2147483647>]
           [-ipv6_src_mode  {increment|decrement|random|shuffle|fixed|list}]
           [-ipv6_src_step <1-65535>|<aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-ipv6_src_repeat_count <0-2147483647>]
           [-ipv6_dst_repeat_count <0-2147483647>]
           [-ipv6_srcprefix_len <1-128>]
           [-ipv6_traffic_class <0-255>]
           [-ipv6_traffic_class_mode {increment|decrement|random|shuffle|fixed|list}]
           [-ipv6_traffic_class_step <00-99>]
           [-ipv6_traffic_class_count <integer>]
           [-ipv6_traffic_class_mask <01-FF>]
           [-ipv6_traffic_class_repeat_count <integer>]
           [-ipv6_frag_id < 0-4294967295>]
           [-ipv6_frag_more_flag <0|1>]
           [-ipv6_frag_offset < 0-65535>]
           [-ipv6_auth_seq_num <0-4294967295>]
           [-ipv6_auth_spi <0-4294967295 >]
           [-ipv6_auth_payload_len <0-4294967295>]
           [-ipv6_auth_string < hexadecimal >]
           [-ipv6_routing_res < hexadecimal >]
           [-ipv6_routing_type <integer>]
           [-ipv6_routing_next_header <integer>]
           [-ipv6_routing_length <integer>]
           [-ipv6_routing_seg_left <integer>]
           [-ipv6_routing_node_list < list of IPv6 addresses>]
           [-ipv6_destination_options <keyed list>]
           [-ipv6_hop_by_hop_options <keyed list>]
           [-ipv6_extension_header {none|hop_by_hop|routing|destination|
                                    authentication|fragment|encapsulation|srheader}]
           [-ipv6_encap_auth_data <hex>]
           [-ipv6_encap_pad_len <0-255>]
           [-ipv6_encap_next_header <0-255>]
           [-ipv6_encap_pad_data <hex>]
           [-ipv6_encap_payload_data <hex>]
           [-ipv6_encap_seq_num <0-4294967295>]
           [-ipv6_encap_spi <0-4294967295>]
           [-srheader_count <NUMERIC>]
           [-ipv6_srheader_last_entry <0-255>]
           [-ipv6_srheader_nxt_hdr <0-255>]
           [-ipv6_srheader_length <0-255>]
           [-ipv6_srheader_routing_type <0-255>]
           [-ipv6_srheader_seg_left <0-255>]
           [-ipv6_srheader_tag <0-65535>]
           [-ipv6_srheader_uflag <0-4294967295>]
           [-ipv6_srheader_egress_node <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-ipv6_srheader_egress_flags <0-255>]
           [-ipv6_srheader_egress_length <0-255>]
           [-ipv6_srheader_egress_reserved <0-255>]
           [-ipv6_srheader_egress_type <0-255>]
           [-ipv6_srheader_ingress_flags <0-255>]
           [-ipv6_srheader_ingress_node <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-ipv6_srheader_ingress_length <0-255>]
           [-ipv6_srheader_ingress_reserved <0-255>]
           [-ipv6_srheader_ingress_type <0-255>]
           [-ipv6_srheader_hmac <octet string>]
           [-ipv6_srheader_hmac_key_id <0-4294967295>]
           [-ipv6_srheader_hmac_length <0-255>]
           [-ipv6_srheader_hmac_reserved <0-65535>]
           [-ipv6_srheader_hmac_type <0-255>]
           [-ipv6_srheader_opaquecontainer_flags <0-255>]
           [-ipv6_srheader_opaquecontainer_length <0-255>]
           [-ipv6_srheader_opaquecontainer <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-ipv6_srheader_opaquecontainer_reserved <0-255>]
           [-ipv6_srheader_opaquecontainer_type <0-255>]
           [-ipv6_srheader_pad0_type <0-255>]
           [-ipv6_srheader_padn_length <0-255>]
           [-ipv6_srheader_padn_padding <hexadecimal>]
           [-ipv6_srheader_padn_type <0-255>]
           [-ipv6_srheader_seg <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-ipv6_srheader_nshcarrier_flags <0-255>]
           [-ipv6_srheader_nshcarrier_length <0-255>]
           [-ipv6_srheader_nshcarrier_type <0-255>]
           [-ipv6_srheader_nshmdtype1_version <0-3>]
           [-ipv6_srheader_nshmdtype1_oflag <octet string>]
           [-ipv6_srheader_nshmdtype1_u1bit <octet string>]
           [-ipv6_srheader_nshmdtype1_length <0-63>]
           [-ipv6_srheader_nshmdtype1_ttl <0-63>]
           [-ipv6_srheader_nshmdtype1_u2bits <octet string>]
           [-ipv6_srheader_nshmdtype1_mdtype <0-15>]
           [-ipv6_srheader_nshmdtype1_next_protocol <0-255>]
           [-ipv6_srheader_nshmdtype1_service_path_id <integer>]
           [-ipv6_srheader_nshmdtype1_service_index <0-255>]
           [-ipv6_srheader_nshmdtype1_context_hdr <hexadecimal>]
           [-ipv6_srheader_nshmdtype2_version <0-3>]
           [-ipv6_srheader_nshmdtype2_oflag <octet string>]
           [-ipv6_srheader_nshmdtype2_u1bit <octet string>]
           [-ipv6_srheader_nshmdtype2_ttl <0-63>]
           [-ipv6_srheader_nshmdtype2_length <0-63>]
           [-ipv6_srheader_nshmdtype2_u2bits <octet string>]
           [-ipv6_srheader_nshmdtype2_mdtype <0-15>]
           [-ipv6_srheader_nshmdtype2_next_protocol <0-255>]
           [-ipv6_srheader_nshmdtype2_service_path_id <integer>]
           [-ipv6_srheader_nshmdtype2_service_index <0-255>]
           [-ipv6_srheader_nshmdtype2_md_class <0-65535>]
           [-ipv6_srheader_nshmdtype2_type <0-255>]
           [-ipv6_srheader_nshmdtype2_ubit {0|1}]
           [-ipv6_srheader_nshmdtype2_variable_meta_data <hexadecimal>]
           [-ck_present {0|1}]
           [-routing_present {0|1} ]
           [-key_present {0|1}]
           [-seq_num_present {0|1}]
           [-reserved0 <0-511>]
           [-version <0-7>]
           [-keep_alive_enable {0|1}]
           [-keep_alive_period <0-65535>]
           [-keep_alive_retries <0-255>]
           [-gre_checksum <integer>]
           [-gre_reserved <integer>]
        [-l3_outer_protocol  {ipv4|ipv6}]
           [-ip_dst_outer_addr <a.b.c.d>]
           [-ip_dst_outer_count <1-2147483647>]
           [-ip_outer_gateway_addr <a.b.c.d>]
           [-ip_outer_dscp <0-63>]
           [-ip_outer_dscp_count <1-63>]
           [-ip_outer_dscp_step <1-63>]
           [-ip_dst_outer_mode {increment|decrement|random|fixed|shuffle|list}]
           [-ip_dst_outer_step <a.b.c.d>]
           [-ip_fragment_outer_offset <ip_fragment_outer_offset_traffic_config>`<0-8191>]
           [:ref:-ip_hdr_outer_length <ip_hdr_outer_length_traffic_config>` <0-15>]
           [-ip_outer_ecn {00|01|10|11}]
           [-ip_outer_checksum {0|1}]
           [-ip_outer_ttl <0-255>]
           [-ip_outer_id <0-65535> ]
           [-ip_outer_protocol <0-255>]
           [-ip_outer_precedence <0-7> ]
           [-ip_outer_precedence_mode {increment|dcrement|random|shuffle|list}]
           [-ip_outer_precedence_count <integer>]
           [-ip_outer_precedence_step  <1-7> ]
           [-ip_outer_tos_field  <0-15>]
           [-ip_outer_tos_mode  {increment|decrement|random|shuffle|fixed|list}]
           [-ip_outer_tos_count <integer>]
           [-ip_outer_tos_step <1-15>]
           [-ip_outer_mbz {0|1}]
           [-ip_src_outer_addr <a.b.c.d>]
           [-ip_src_outer_count <1-2147483647>]
           [-ip_src_outer_repeat_count <0-2147483647>]
           [-ip_dst_outer_repeat_count <0-2147483647>]
           [-ip_src_outer_mode {increment|decrement|random|fixed|shuffle|list}]
           [-ip_src_outer_step <a.b.c.d>]
           [-ipv6_dst_outer_count <1-2147483647>]
           [-ipv6_dst_outer_mode {increment|decrement|random|shuffle|list}]
           [-ipv6_dst_outer_step <1-65535>]
           [-ipv6_src_outer_repeat_count <0-2147483647>]
           [-ipv6_dst_outer_repeat_count <0-2147483647>]
           [-ipv6_src_outer_count <1-2147483647>]
           [-ipv6_src_outer_mode {increment|decrement|random|shuffle|list}]
           [-ipv6_src_outer_step <1-65535>]
           [-ipv6_srcprefix <aaaa:bbbb:cccc:dddd:eeee:ffff>]
           [-ipv6_dstprefix <aaaa:bbbb:cccc:dddd:eeee:ffff>]
           [-ipv6_outer_src_addr <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-ipv6_outer_dst_addr <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-ipv6_outer_gateway_addr <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-ipv6_outer_hop_limit <0-255>]
           [-ipv6_outer_traffic_class <0-255>]
           [-ipv6_outer_next_header <0-255>]
           [-ipv6_outer_flow_label <0-1048575]
           [-ipv6_outer_length <0-65535>]
        [-l4_protocol {tcp|udp|udp_dhcp_msg|icmp|icmpv6|igmp|rtp|isis|ospf|ipv4|ipv6|udp_rocev2}]
           [-custom_llc < hexadecimal >]
           [-custom_pattern < hexadecimal >]
           [-tcp_src_port <0-65535>]
           [-tcp_dst_port <0-65535 }]
           [-tcp_ack_num <^[0-9]+$>]
           [-tcp_reserved <0-63>]
           [-tcp_seq_num <1-2147483647>]
           [-tcp_urgent_ptr <0-65535>]
           [-tcp_window  <0-65535>]
           [-tcp_ack_flag  {0|1}]
           [-tcp_fin_flag  {0|1}]
           [-tcp_psh_flag  {0|1}]
           [-tcp_rst_flag  {0|1}]
           [-tcp_syn_flag  {0|1}]
           [-tcp_urg_flag  {0|1}]
           [-tcp_cwr_flag  {0|1}]
           [-tcp_ecn_echo_flag  {0|1}]
           [-tcp_src_port_repeat_count <0-65535>]
           [-tcp_dst_port_repeat_count <0-65535>]
           [-udp_dst_port  <0-65535>]
           [-udp_src_port  <0-65535>]
           [-udp_src_port_repeat_count <0-65535>]
           [-udp_dst_port_repeat_count <0-65535>]
           [-udp_checksum {0|1}]
           [-modifier_option   {{parameter_name}...}]
           [-modifier_mode  {{increment|decrement|random|shuffle|fixed}...}]
           [-modifier_count {{integer}...}]
           [-modifier_repeat_count {{integer}...}]
           [-modifier_step   {{integer}...}]
           [-modifier_mask {{ANY}...}]
           [-modifier_list_value <{value_list}...}>]
           [-modifier_import_textfile_name <{filename1} {filename2}..>]
           [-modifier_export_textfile_name <{filename1} {filename2}..>]
           [-dhcp_srv_msg_options_hdr_seq {cli_hw|cli_non_hw|custom end|hostname|
                                     lease|msg|msg_type|msg_size|overload|req_list|
                                     req_addr|server_id}]
           [-dhcp_cli_msg_options_hdr_seq {cli_hw|cli_non_hw|custom end|hostname|
                                    lease|msg|msg_type|msg_size|overload|req_list|
                                    req_addr|server_id}]
           [-dhcp_msg_header_type {discover|request|decline|release|inform}]
           [-dhcp_srv_msg_client_addr <a.b.c.d>]
           [-dhcp_srv_msg_boot_filename <HEX>]
           [-dhcp_srv_msg_magic_cookie <HEX>]
           [-dhcp_srv_msg_haddr_len <integer>]
           [-dhcp_srv_msg_hops <integer>]
           [-dhcp_srv_msg_next_serv_addr <a.b.c.d>]
           [-dhcp_srv_msg_hw_type <integer>]
           [-dhcp_srv_msg_type <integer>]
           [-dhcp_srv_msg_elapsed <integer>]
           [-dhcp_srv_msg_bootpflags <HEX>]
           [-dhcp_srv_msg_client_hw_pad <HEX>]
           [-dhcp_srv_msg_your_addr <a.b.c.d>]
           [-dhcp_srv_msg_xid <integer>]
           [-dhcp_srv_msg_client_mac <aa:bb:cc:dd:ee:ff>]
           [-dhcp_srv_msg_hostname <HEX>]
           [-dhcp_srv_msg_relay_agent_addr <a.b.c.d>]
           [-dhcp_srv_msg_cli_hw_id_type <HEX>]
           [-dhcp_srv_msg_cli_hw_type <HEX>]
           [-dhcp_srv_msg_cli_hw_client_hwa <aa:bb:cc:dd:ee:ff>]
           [-dhcp_srv_msg_cli_hw_option_length <HEX>]
           [-dhcp_srv_msg_cli_non_hw_id_type <HEX>]
           [-dhcp_srv_msg_cli_non_hw_type <HEX>]
           [-dhcp_srv_msg_cli_non_hw_value <HEX>]
           [-dhcp_srv_msg_cli_non_hw_option_length <HEX>]
           [-dhcp_srv_msg_custom_length <HEX>]
           [-dhcp_srv_msg_custom_type <HEX>]
           [-dhcp_srv_msg_custom_value <HEX>]
           [-dhcp_srv_msg_end_type <HEX>]
           [-dhcp_srv_msg_host_length <HEX>]
           [-dhcp_srv_msg_host_type <HEX>]
           [-dhcp_srv_msg_host_value <HEX>]
           [-dhcp_srv_msg_lease_type <HEX>]
           [-dhcp_srv_msg_lease_length <HEX>]
           [-dhcp_srv_msg_lease_time <integer>]
           [-dhcp_srv_msg_msg_length <HEX>]
           [-dhcp_srv_msg_msg_type <HEX>]
           [-dhcp_srv_msg_msg_value <HEX>]
           [-dhcp_srv_msg_size_length <HEX>]
           [-dhcp_srv_msg_size_type <HEX>]
           [-dhcp_srv_msg_size_value <HEX>]
           [-dhcp_srv_msg_type_length <HEX>]
           [-dhcp_srv_msg_type_code <offer|ack|nak>]
           [-dhcp_srv_msg_msgtype_type <HEX>]
           [-dhcp_srv_msg_overload_length <HEX>]
           [-dhcp_srv_msg_overload_type <HEX>]
           [-dhcp_srv_msg_overload {file|sname|file_sname}]
           [-dhcp_srv_msg_req_list_length <HEX>]
           [-dhcp_srv_msg_req_list_type <HEX>]
           [-dhcp_srv_msg_req_list_value <HEX>]
           [-dhcp_srv_msg_req_addr_length <HEX>]
           [-dhcp_srv_msg_req_addr_type <HEX>]
           [-dhcp_srv_msg_req_addr <a.b.c.d>]
           [-dhcp_srv_msg_srv_id_length <HEX>]
           [-dhcp_srv_msg_srv_id_type <HEX>]
           [-dhcp_srv_msg_srv_id_req_addr <a.b.c.d>]
           [-dhcp_cli_msg_client_addr <a.b.c.d>]
           [-dhcp_cli_msg_boot_filename <HEX>]
           [-dhcp_cli_msg_magic_cookie <HEX>]
           [-dhcp_cli_msg_haddr_len <integer>]
           [-dhcp_cli_msg_hops <integer>]
           [-dhcp_cli_msg_next_serv_addr <a.b.c.d>]
           [-dhcp_cli_msg_hw_type <integer>]
           [-dhcp_cli_msg_type <integer>]
           [-dhcp_cli_msg_elapsed <integer>]
           [-dhcp_cli_msg_bootpflags <HEX>]
           [-dhcp_cli_msg_client_hw_pad <HEX>]
           [-dhcp_cli_msg_your_addr <a.b.c.d>]
           [-dhcp_cli_msg_xid <integer>]
           [-dhcp_cli_msg_client_mac <aa:bb:cc:dd:ee:ff>]
           [-dhcp_cli_msg_hostname <HEX>]
           [-dhcp_cli_msg_relay_agent_addr <a.b.c.d>]
           [-dhcp_cli_msg_cli_hw_id_type <HEX>]
           [-dhcp_cli_msg_cli_hw_type <HEX>]
           [-dhcp_cli_msg_cli_hw_client_hwa <aa:bb:cc:dd:ee:ff>]
           [-dhcp_cli_msg_cli_hw_option_length <HEX>]
           [-dhcp_cli_msg_cli_non_hw_id_type <HEX>]
           [-dhcp_cli_msg_cli_non_hw_type <HEX>]
           [-dhcp_cli_msg_cli_non_hw_value <HEX>]
           [-dhcp_cli_msg_cli_non_hw_option_length <HEX>]
           [-dhcp_cli_msg_custom_length <HEX>]
           [-dhcp_cli_msg_custom_type <HEX>]
           [-dhcp_cli_msg_custom_value <HEX>]
           [-dhcp_cli_msg_end_type <HEX>]
           [-dhcp_cli_msg_host_length <HEX>]
           [-dhcp_cli_msg_host_type <HEX>]
           [-dhcp_cli_msg_host_value <HEX>]
           [-dhcp_cli_msg_lease_type <HEX>]
           [-dhcp_cli_msg_lease_length <HEX>]
           [-dhcp_cli_msg_lease_time <integer>]
           [-dhcp_cli_msg_msg_length <HEX>]
           [-dhcp_cli_msg_msg_type <HEX>]
           [-dhcp_cli_msg_msg_value <HEX>]
           [-dhcp_cli_msg_size_length <HEX>]
           [-dhcp_cli_msg_size_type <HEX>]
           [-dhcp_cli_msg_size_value <HEX>]
           [-dhcp_cli_msg_type_length <HEX>]
           [-dhcp_cli_msg_type_code {discover|request|decline|release|inform}]
           [-dhcp_cli_msg_msgtype_type <HEX>]
           [-dhcp_cli_msg_overload_length <HEX>]
           [-dhcp_cli_msg_overload_type <HEX>]
           [-dhcp_cli_msg_overload {file|sname|file_sname}]
           [-dhcp_cli_msg_req_list_length <HEX>]
           [-dhcp_cli_msg_req_list_type <HEX>]
           [-dhcp_cli_msg_req_list_value <HEX>]
           [-dhcp_cli_msg_req_addr_length <HEX>]
           [-dhcp_cli_msg_req_addr_type <HEX>]
           [-dhcp_cli_msg_req_addr <a.b.c.d>]
           [-dhcp_cli_msg_srv_id_length <HEX>]
           [-dhcp_cli_msg_srv_id_type <HEX>]
           [-dhcp_cli_msg_srv_id_req_addr <a.b.c.d>]
           [-rtp_csrc_count <0-15>]
           [-rtp_payload_type <0-31>]
           [-ssrc <0-4294967295>]
           [-timestamp_initial_value <0-4294967295>]
           [-timestamp_increment <0-65535>]
           [-csrc_list {list of integer values}]
           [-rtp_sequence_number <0-65535>]
           [-rtp_padding {0|1}]
           [-rtp_extension {0|1}]
           [-rtp_marker {0|1}]
           [-rtp_version <0-3>]
           [-rtp_custom_header {0|1}]
           [-icmp_checksum  <integer>]
           [-icmp_code <0-255>]
           [-icmp_id <0-65535>]
           [-icmp_seq <0-65535>]
           [-icmp_type <0-255>]
           [-icmpv6_type {1|2|3|4|129|129|130|131|132|133|134|135|136|137|143}
           [-icmpv6_ip_data <2-octet string>]
           [-icmpv6_ip_src_addr <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-icmpv6_ip_dst_addr <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-icmpv6_ip_hop_limit <0-255>]
           [-icmpv6_ip_traffic_class <0-255>]
           [-icmpv6_ip_next_header <0-255>]
           [-icmpv6_ip_flow_label <0-1048575>]
           [-icmpv6_ip_length <0-65535>]
           [-icmpv6_ip_gateway <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-icmpv6_ip_version {4|6}]
           [-icmpv6_checksum <integer>]
           [-icmpv6_code {1|2|3|4|5}]
           [-icmpv6_unused <0-65535>]
           [-icmpv6_mtu  <0-65535>]
           [-icmpv6_pointer   <0-65535>]
           [-icmpv6_id  <0-65535> ]
           [-icmpv6_seq  <0-65535>]
           [-icmpv6_data <hex>]
           [-icmpv6_reserved <0-65535> ]
           [-icmpv6_target_address <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-icmpv6_oflag {0|1}]
           [-icmpv6_rflag {0|1}]
           [-icmpv6_sflag {0|1}]
           [-icmpv6_suppress_flag {0|1}]
           [-icmpv6_max_resp_delay <0-65535>]
           [-icmpv6_mcast_addr <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-icmpv6_addr_list_ipv6_addr <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-icmpv6_link_layer_length <0-65535>]
           [-icmpv6_link_layer_type {1|2|3|4|5}]
           [-icmpv6_link_layer_value <hex>]
           [-icmpv6_mtu_option_type {1|2|3|4|5}]
           [-icmpv6_mtu_option_length <0-65535>]
           [-icmpv6_mtu_option_reserved <0-65535>]
           [-icmpv6_mtu_option_mtu <0-65535>]
           [-icmpv6_prefix_option_abit {0|1}]
           [-icmpv6_prefix_option_lbit {0|1}]
           [-icmpv6_prefix_option_length <0-65535>]
           [-icmpv6_prefix_option_preferred_lifetime <0-65535>]
           [-icmpv6_prefix_option_prefix <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-icmpv6_prefix_option_prefix_len <0-255>]
           [-icmpv6_prefix_option_reserved1 <0-65535>]
           [-icmpv6_prefix_option_reserved2 <0-65535>]
           [-icmpv6_prefix_option_type {1|2|3|4|5}]
           [-icmpv6_prefix_option_valid_lifetime {1|2|3|4|5}]
           [-icmpv6_dest_address <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-icmpv6_redirect_hdr_type {1|2|3|4|5}]
           [-icmpv6_redirect_hdr_length <0-255>]
           [-icmpv6_redirect_hdr_reserved1 <0-65535>]
           [-icmpv6_redirect_hdr_reserved2 <0-65535>]
           [-icmpv6_group_address  <0-65535>]
           [-icmpv6_max_resp_code <0-65535>]
           [-icmpv6_num_source <0-65535>]
           [-icmpv6_qqic <0-65535>]
           [-icmpv6_qrv <0-65535>]
           [-icmpv6_resv <0-65535>]
           [-icmpv6_cur_hoplimit <0-255>]
           [-icmpv6_mbit <0|1>]
           [-icmpv6_obit <0|1>]
           [-icmpv6_reachable_time <0-4294967295>]
           [-icmpv6_retrans_time <0-4294967295>]
           [-icmpv6_router_lifetime <0-65535>]
           [-icmpv6_num_grp_records <0-65535>]
           [-icmpv6_grp_record_aux_data_len <0-65535>]
           [-icmpv6_grp_record_mcast_addr <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-icmpv6_grp_record_num_source <0-65535>]
           [-icmpv6_grp_record_record_type {1|2|3|4|5|6}]
           [-igmp_checksum <NUMERIC>]
           [-igmp_group_addr <a.b.c.d>]
           [-igmp_group_count <0-65535>]
           [-igmp_group_mode {increment|decrement}]
           [-igmp_group_step <a.b.c.d>]
           [-igmp_multicast_src <a.b.c.d>]
           [-igmp_multicast_addr <a.b.c.d>]
           [-igmp_record_type <NUMERIC>]
           [-igmpv3_grprechandle <igmpv3 grprechandle>
           [-igmp_multicast_addr <a.b.c.d>]
           [-igmp_max_response_time <0-65535>]
           [-igmp_msg_type {query|report}]
           [-igmp_qqic <0-255>]
           [-igmp_qrv <0-7>]
           [-igmp_s_flag {0|1}]
           [-igmp_type <numeric>]
           [-igmp_version <1-3>]
           [-isis_pdu_header_len <00-FF>]
           [-isis_version <00-FF>]
           [-isis_system_id_len <00-FF>]
           [-isis_pdu_type <00-FF>]
           [-isis_version2 <00-FF>]
           [-isis_reserved <00-FF>]
           [-isis_max_area_addr <00-FF>]
           [-isis_reserved_circuit_type <00-FF>]
           [-isis_source_id <hexadecimal>]
           [-isis_holder_timer    <0000-FFFF>]
           [-isis_pdu_len <0000-FFFF>]
           [-isis_reserved_bit <binary string>]
           [-isis_priority <binary string>]
           [-isis_lan_id <hexadecimal>]
           [-l4_ip_gateway_addr <a.b.c.d>]
           [-l4_ip_src_addr <a.b.c.d>]
           [-l4_ip_dst_addr <a.b.c.d>]
           [-l4_ip_protocol <0-255>]
           [-l4_ip_hdr_length <0-15>]
           [-l4_ip_id <0-65535>]
           [-l4_ip_checksum {0|1}]
           [-l4_ip_ecn {00|01|10|11}]
           [-l4_ip_ttl <0-255>]
           [-l4_ip_fragment_offset  <0-8091>]
           [-l4_ip_dst_mode {increment|decrement|random|shuffle|fixed|list}]
           [-l4_ip_dst_step <a.b.c.d>]
           [-l4_ip_dst_count <1-2147483647>]
           [-l4_ip_src_mode {increment|decrement|random|shuffle|fixed|list}]
           [-l4_ip_src_step <a.b.c.d>]
           [-l4_ip_src_count <1-2147483647>]
           [-l4_ip_src_repeat_count <integer>]
           [-l4_ip_dst_repeat_count  <integer>]
           [-l4_ip_precedence  <0-7> ]
           [-l4_ip_precedence_mode  {increment|decrement|random|shuffle|list}]
           [-l4_ip_precedence_count <integer>]
           [-l4_ip_precedence_step  <1-7> ]
           [-l4_ip_tos_field  <0-15>]
           [-l4_ip_tos_mode  {increment|decrement|random|shuffle|fixed|list}]
           [-l4_ip_tos_count <integer>]
           [-l4_ip_tos_step <1-15>]
           [-l4_ip_mbz {0|1}]
           [-l4_ip_dscp <0-63>]
           [-l4_ip_dscp_count <1-63>]
           [-l4_ip_dscp_step <1-63>]
           [-l4_ipv6_src_repeat_count <integer>]
           [-l4_ipv6_dst_repeat_count <integer>]
           [-l4_ipv6_gateway_addr <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-l4_ipv6_src_addr <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-l4_ipv6_dst_addr <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-l4_ipv6_hop_limit <0-255>]
           [-l4_ipv6_traffic_class <0-255>]
           [-l4_ipv6_next_header <0-255>]
           [-l4_ipv6_flow_label <0-1048575>]
           [-l4_ipv6_length <0-65535>]
           [-l4_ipv6_dst_mode {increment|decrement|random|shuffle|fixed|list}]
           [-l4_ipv6_dst_step <1-65535>|<aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-l4_ipv6_dst_count <1-2147483647>]
           [-l4_ipv6_src_mode {increment|decrement|random|shuffle|fixed|list}]
           [-l4_ipv6_src_step <1-65535>|<aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-l4_ipv6_src_count <1-2147483647>]
           [-router_adv_type <integer>]
           [-router_adv_code <integer>]
           [-router_adv_checksum <0-65535>]
           [-router_adv_hop_limit <0-255>]
           [-router_adv_addr_field {0|1}]
           [-router_adv_config_flag {0|1}]
           [-router_adv_reserved <0-63>]
           [-router_adv_lifetime <0-65535>]
           [-router_adv_reachable_time <0-4294967295>]
           [-router_adv_retrans_time <0-4294967295>]
           [-router_adv_link_layer_type <0-255>]
           [-router_adv_link_layer_len <0-255>]
           [-router_adv_link_layer_addr <octet string>]
           [-router_adv_prefix_info_type <integer>]
           [-router_adv_prefix_info_option_len <0-255>]
           [-router_adv_prefix_info_prefix_len <0-255]
           [-router_adv_prefix_info_onlink_flag {0|1}]
           [-router_adv_prefix_info_autonomous_flag {0|1}]
           [-router_adv_prefix_info_reserved1 <0-63>]
           [-router_adv_prefix_info_valid_lifetime <0-4294967295>]
           [-router_adv_prefix_info_preferred_lifetime <0-4294967295>]
           [-router_adv_prefix_info_reserved2 <0-4294967295>]
           [-router_adv_prefix_info_prefix <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
           [-router_adv_mtu_option_type <integer>]
           [-router_adv_mtu_option_len <0-255>]
           [-router_adv_mtu_reserved <0-65535>]
           [-router_adv_mtu_value <0-4294967295>]
           [-ib_payload <HEX>]
           [-ib_icrcvalue <0-4294967295>]
           [-ib_bth_opcode <0-255>]
           [-ib_bth_solicited_event {0|1}]
           [-ib_bth_mig_req {0|1}]
           [-ib_bth_pad_count <0-3>]
           [-ib_bth_transport_header_ver <0-15>]
           [-ib_bth_partition_key <0-65535>]
           [-ib_bth_reserve8 <0-355>]
           [-ib_bth_dst_qp <0-16777215>]
           [-ib_bth_ack_req {0|1}]
           [-ib_bth_reserv7 <0-127>]
           [-ib_bth_pkt_seq_num <0-4294967295>]
           [-ib_deth_queue_key <0-4294967295>]
           [-ib_deth_reserv8 <0-355>]
           [-ib_deth_src_qp <0-4294967295>]
        [-transmit_mode   {continuous|continuous_burst|multi_burst|
                           single_burst|single_pkt|repetitions}]
           [-burst_loop_count <numeric>]
           [-rate_bps   <bits_per_second>]
           [-rate_kbps <kilobits_per_second>]
           [-rate_mbps <megabits_per_second>]
           [-rate_percent <0.00 - 100.00>]
           [-rate_pps   <packets_per_second>]
           [-pkts_per_burst <1-16777215>]
           [-pkts_per_burst_sb <1-16777215>]
        [-priority <0-255>]
        [-start_delay <0-4294967295>]
        [-mpls_labels {0-1048575}]
           [-mpls_bottom_stack_bit {0|1} ]
           [-mpls_labels_mode { fixed|increment|decrement|list}]
           [-mpls_labels_count <numeric>]
           [-mpls_labels_step <1-524288> ]
        [-mpls_cos <numeric>]
           [-mpls_cos_mode { fixed|increment|decrement|list}]
           [-mpls_cos_count <numeric>]
           [-mpls_cos_step <1-524288> ]
        [-mpls_ttl <numeric>]
           [-mpls_ttl_mode { fixed|increment|decrement|list}]
           [-mpls_ttl_count <numeric>]
           [-mpls_ttl_step <1-524288> ]
        [-mac_discovery_gw {<a.b.c.d >|<aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>}]
        [-mac_discovery_gw_step <a.b.c.d>|<aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
        [-mac_discovery_gw_count <1-2147483647>]
        [-ppp_link 0|1]
           [-ppp_link_traffic_src_list <session_block_handle>]
           [-downstream_traffic_src_list <session_block_handle>]
           [-ppp_session_id <integer>]
        [-dhcp_link 0|1]
            [-dhcp_downstream <session_block_handle>]
            [-dhcp_upstream <session_block_handle> ]
        [-tunnel_handle <GRE_tunnel_handle>]
        [-vpls_source_handle <integer>]
        [-vpls_destination_handle <integer>]
        [-enable_stream_only_gen {1|0}]
        [-fill_type {constant|incr|decr|prbs}]
        [-enable_control_plane {0|1}]
        [-enable_custom_pfc {0|1}]
        [-custom_pfc_pri <integer>]
        [-high_speed_result_analysis  {0|1}]
        [-name <name>]
        [-traffic_state {1|0}]
        [-tcp_checksum <integer>]
        [-tcp_data_offset <1-15>]
        [-tcp_src_port_mode {increment|decrement|random|shuffle|list}]
        [-tcp_src_port_count <integer>]
        [-tcp_src_port_step <integer>]
        [-tcp_dst_port_count <integer>]
        [-tcp_dst_port_step <integer>]
        [-tcp_dst_port_mode {increment|decrement|random|shuffle|list}]
        [-udp_src_port_count <integer>]
        [-udp_src_port_step <integer>]
        [-udp_dst_port_mode {increment|decrement|random|shuffle|list}]
        [-udp_dst_port_count <integer>]
        [-udp_dst_port_step <integer>]
        [-udp_src_port_mode {increment|decrement|random|shuffle|list}]
        [-vxlan {0|1}]
        [-vni <0-16777215>]
        [-peer_vtep_ipv4_addr <a.b.c.d>]
        [-ipv4_multicast_group_addr <a.b.c.d>]
        [-inner_l3_protocol {ipv4|ipv6}]
        [-inner_ip_src_addr   <a.b.c.d>]
        [-inner_ip_src_count  <1-2147483647>]
        [-inner_ip_src_mode {increment|decrement|random|shuffle|fixed|list}]
        [-inner_ip_src_step   <a.b.c.d>]
        [-inner_ip_dst_addr   <a.b.c.d>]
        [-inner_ip_dst_count  <1-2147483647>]
        [-inner_ip_dst_mode  {increment|decrement|random|shuffle|fixed|list}]
        [-inner_ip_src_seed <integer>]
        [-inner_ip_src_mask <a.b.c.d>]
        [-inner_ip_dst_seed <integet>]
        [-inner_ip_dst_mask <a.b.c.d>]
        [-inner_ip_dst_step <a.b.c.d>]
        [-inner_ip_fragment_offset  <0-8191>]
        [-inner_ip_id <0-65535> ]
        [-inner_ip_checksum  {0|1}]
        [-inner_ip_gw <a.b.c.d>]
        [-inner_ip_gw_step <a.b.c.d>]
        [-inner_ip_gw_count <1-2147483647>]
        [-inner_ipv6_dst_addr  <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
        [-inner_ipv6_flow_label  <0-1048575>]
        [-inner_ipv6_hop_limit  <0-255>]
        [-inner_ipv6_length    <0-65535>]
        [-inner_ipv6_next_header <0-255>]
        [-inner_ipv6_gateway_addr <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
        [-inner_ipv6_src_addr  <aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>]
        [-inner_ipv6_traffic_class <0-255>]
        [-inner_l2_encap {ethernet_ii|ethernet_ii_vlan}]
        [-inner_ether_type <hexadecimal>]
        [-inner_mac_dst <aa:bb:cc:dd:ee:ff>]
        [-inner_mac_dst_count  <1-2147483647>]
        [-inner_mac_dst_mode {fixed|increment|decrement|random|shuffle|list}]
        [-inner_mac_dst_step <1-255>]
        [-inner_mac_src  <aa:bb:cc:dd:ee:ff>]
        [-inner_mac_src_count  <1-2147483647>]
        [-inner_mac_src_mode   {fixed|increment|decrement|random|shuffle|list}]
        [-inner_mac_src_step   <1-255>]
        [-inner_mac_src_mask <aa:bb:cc:dd:ee:ff>]
        [-inner_mac_dst_seed <integer>]
        [-inner_mac_dst_mask <aa:bb:cc:dd:ee:ff>]
        [-inner_mac_src_seed <integer>]
        [-inner_vlan_priority_mode  {fixed|increment|decrement|random|shuffle|list}]
        [-inner_vlan_priority_step <0-4095>]
        [-inner_vlan_priority_count <1-4096>]
        [-inner_vlan_id  <0-4094>]
             [-inner_vlan_id_count  <1-4096>]
             [-inner_vlan_id_mode {fixed|increment|decrement|random|shuffle|list}]
             [-inner_vlan_id_repeat <integer>]
             [-inner_vlan_id_step   <0-4095>]
             [-inner_vlan_cfi {0|1}]
             [-inner_vlan_tpid <0-65535>]
             [-inner_vlan_user_priority <0-7>]
        [-inner_vlan_id_outer <0-4095>]
             [-inner_vlan_id_outer_mode {fixed|increment|decrement|random|shuffle|list}]
             [-inner_vlan_id_outer_count <1-4096>]
             [-inner_vlan_id_outer_repeat <integer>]
             [-inner_vlan_id_outer_step <0-4094>]
             [-inner_vlan_outer_cfi {0|1}]
             [-inner_vlan_outer_tpid <0-65535>]
             [-inner_vlan_outer_user_priority <0-7>]
             [-inner_vlan_outer_user_priority_mode {fixed|increment|decrement|random|shuffle|list}]
             [-inner_vlan_outer_user_priority_step <0-4095>]
             [-inner_vlan_outer_user_priority_count <1-4096>]
        [-inner_qinq_incr_mode {inner|outer|both}]
        [-inner_l4_protocol {udp|tcp}]
        [-inner_udp_dst_port <0-65535>]
        [-inner_udp_src_port <0-65535>]
        [-inner_udp_checksum {0|1}]
        [-inner_tcp_checksum <integer>]
        [-inner_tcp_data_offset <1-15>]
        [-inner_tcp_src_port  <0-65535>]
        [-inner_tcp_dst_port  <0-65535>]
        [-inner_tcp_ack_num  <0-4294967295>]
        [-inner_tcp_reserved <0-63>]
        [-inner_tcp_seq_num   <1-2147483647>]
        [-inner_tcp_urgent_ptr <0-65535>]
        [-inner_tcp_window    <0-65535>]
        [-inner_tcp_ack_flag  {0|1}]
        [-inner_tcp_fin_flag  {0|1}]
        [-inner_tcp_psh_flag  {0|1}]
        [-inner_tcp_rst_flag  {0|1}]
        [-inner_tcp_syn_flag  {0|1}]
        [-inner_tcp_urg_flag  {0|1}]
        [-inner_tcp_cwr_flag  {0|1}]
        [-inner_tcp_ecn_echo_flag  {0|1}]
        [-vlan_id_other <0-4095>]
          [-vlan_cfi_other {0|1}]
          [-vlan_user_priority_other <0-7>]
          [-vlan_id_other_mode {fixed|increment|decrement|random|shuffle}]
          [-vlan_id_other_step  <0-4095>]
          [-vlan_id_other_count  <1-4096>]
          [-vlan_id_other_repeat <integer>]
          [-vlan_tpid_other <0-65535>]
        [-advanced_sequence_threshold <NUMERIC>]
        [-jumbo_frame_threshold <NUMERIC>]
        [-oversize_frame_threshold <NUMERIC>]
        [-undersize_frame_threshold <NUMERIC>]
        [-gtpv1_version <integer>]
        [-gtpv1_tunnel_endpoint_id <integer>]
        [-gtpv1_seq_num_flag {0|1}]
        [-gtpv1_reserved {0|1}]
        [-gtpv1_protocol {0|1}]
        [-gtpv1_npdu_num_flag {0|1}]
        [-gtpv1_msg_type <integer>]
        [-gtpv1_total_length <integer>]
        [-gtpv1_extended_header_flag {0|1}]
        [-gtpv1_ext_seq_num <0-65535>]
        [-gtpv1_ext_npdu_num <0-255>]
        [-gtpv1_ext_next_extension_header_type <0-255>]
        [-gtpv1_ext_extension_header_length <integer>]
        [-gtpv1_ext_pattern <octet string>]
        [-gtpv1_opt_seq_num <0-65535>]
        [-gtpv1_opt_npdu_num <0-255>]
        [-gtpv1_opt_next_extension_header_type <0-255>]
        [-eth_pause_pfc_opCode <octet string>]
        [-eth_pause_pfc_reserved <octet string>]
        [-eth_pause_pfc_time0 <integer>]
        [-eth_pause_pfc_time1 <integer>]
        [-eth_pause_pfc_time2 <integer>]
        [-eth_pause_pfc_time3 <integer>]
        [-eth_pause_pfc_time4 <integer>]
        [-eth_pause_pfc_time5 <integer>]
        [-eth_pause_pfc_time6 <integer>]
        [-eth_pause_pfc_time7 <integer>]
        [-class_enable_vector_lsoctet <octet string>]
        [-class_enable_vector_msoctet <octet string>]
        [-pause_mac_control_opcode <octet string>]
        [-pause_mac_control_pause_time <integer>]
        [-pause_mac_control_reserved <octet string>]

Arguments

-bidirectional

Sets up bidirectional traffic between the ports identified by the port_handle and port_handle2 arguments. Valid values are 0 (false/no) and 1 (true/yes). Specify the value 1 (true/yes) to use bidirectional traffic. The default is 0.

To configure the bidirectional flow, Spirent HLTAPI uses the Layer 3 protocol (IPv4 or IPv6) source and destination addresses for both ports. (See the -l3_protocol, -ip_src_addr, -ip_dst_addr, -ipv6_src_addr, and -ipv6_dst_addr arguments.) Spirent HLTAPI uses the source and destination addresses for the first port (-port_handle), and then swaps the addresses to use them for the second port (-port_handle2). Any additional values specified in the function call are duplicated for both transmitting ports.

Spirent HLTAPI uses the MAC addresses specified in the -mac_dst and -mac_dst2. The -mac_dst2 argument applies to the port associated with -port_handle2.

-burst_loop_count

Specifies the number of times to transmit a burst (that is, a continuous transfer of data without interruption from one device to another). The default is 1. Use this argument when transmit mode is set to either multi_burst, single_burst, single_pkt or repetitions. Set this argument to 1 if transmit mode is set to either single_burst or single_pkt. -port_handle is Mandatory when calling this argument.

-dhcp_downstream

Spirent Extension (for Spirent HLTAPI only).

Specifies the DHCP session block handle from which to retrieve source IP addresses and creates dynamic downstream traffic. The sth::dhcp_config function returns this handle in the keyed list. The -dhcp_link argument must be set to 1.

Spirent Extension (for Spirent HLTAPI only).

Enables or disables DHCP dynamic traffic. Valid values are 1 and 0. Specify the value 1 to enable dynamic binding from the bound DHCP sessions. Specify the value 0 to disable DHCP dynamic traffic. The default is 0.

Note

For both PPPoX and DHCP bound traffic, for subsequent connects and disconnect you do not have to delete and re- create traffic when adding new sessions. To disconnect and re-connect multiple PPPoX or DHCP sessions, you must stop and then restart traffic AFTER all new sessions have connected so the traffic configuration can get the newly updated session information. If you do not stop traffic, the old session information will not be replaced by the new one.

-dhcp_upstream

Spirent Extension (for Spirent HLTAPI only).

Specifies the DHCP session block handle from which to retrieve source IP addresses and creates dynamic upstream traffic. The sth::dhcp_config function returns this handle in the keyed list. The -dhcp_link argument must be set to 1.

-downstream_traffic_src_list

Spirent Extension (for Spirent HLTAPI only).

Specifies the PPPoX session block handle from which to retrieve the source IP addresses and use for the downstream bindings. The sth::pppox_config function returns this handle in the keyed list. If you use this option, you must set -ppp_link to 1.

-emulation_src_handle

The handle used to retrieve information for L2 or L3 IPv4 source addresses. This handle is returned by an emulation configuration function such as sth::emulation_bgp_config, sth::emulation_ospf_config, or sth::emulation_ldp_config. An emulation handle can be a host handle, a router handle, or a router block handle. (For routing protocol, the -emulation_src_handle argument currently only supports BGP, OSPF, and LDP.)

The following example creates a new stream block of traffic on port2, uses the default source and default destination MAC addresses for the stream as Ethernet II, retrieves the IPv4 source address from the specified BGP route block handle, and retrieves the IPv4 destination address from the specified BGP route block handle:

::sth::traffic_config -mode create -port_handle port2\
    -l2_encap ethernet_ii\
    -length_mode fixed -l3_length 128 -l3_protocol ipv4 \
    -emulation_dst_handle $port1BgpRouter1RouteBlk1 \
    -emulation_src_handle $port2BgpRouter1RouteBlk2
-emulation_dst_handle

The handle used to retrieve information for L2 or L3 IPv4 destination addresses. This handle is returned by an emulation configuration function such as sth::emulation_bgp_config, sth::emulation_ospf_config, or sth::emulation_ldp_config. (The -emulation_src_handle argument currently only supports BGP, OSPF, and LDP.)

An emulation handle can be a host handle, a router handle, or a router block handle.

The following example creates a new stream block of traffic on port2, defines the source and destination MAC addresses for the stream as Ethernet II, generates ten source IP addresses for the stream block, uses the default source MAC address and default destination MAC address, and retrieves the IPv4 destination address from the specified BGP route block handle:

::sth::traffic_config -mode create -port_handle port2\
     -l2_encap ethernet_ii\
     -length_mode fixed \
     -l3_length 128\
     -l3_protocol ipv4\
     -ip_src_count 10\
     -ip_src_addr 150.111.0.22\
     -ip_src_step 0.0.0.1\
     -mac_discovery_gw 150.111.0.1\
     -mac_src 00.05.00.01.00.01\
     -emulation_dst_handle $port1BgpRouter1RouteBlk1
-pcap_file

Spirent Extension (for Spirent HLTAPI only).

Specifies the full or relative path of the packet capture (pcap) file to generate streamblocks. This argument is available when -mode is set to create and -port_handle is assigned.

For example:

sth::traffic_config -mode create\
           -port_handle  port1\
           -pcap_file  captureFile.pcap\
-ether_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Ethernet protocol type. Possible Values are described below:

Value   Description
0200    XEROX PUP
0201    PUP Addr Trans
0400    Nixdorf
0600    XEROX NS IDP
0660    DLOG
0661    DLOG2
0800    Internet IP
0801    X.75 Internet
0802    NBS Internet
0803    ECMA Internet
0804    Chaosnet
0805    X.25 Level 3
0806    ARP
0807    XNS Compatibility
0808    Frame Relay ARP
8035    RARP
86DD    IPv6
880B    PPP
8809    Slow Protocol
8847    MPLS Unicast
8848    MPLS Multicast
8863    PPPoE Discovery
8864    PPPoE Session
8906    FCoE
8914    FIP
-frame_size

Specifies the L2 frame size for the stream in bytes. Use this argument when -length_mode is set to fixed. Possible values range from 44 to 16365.

-frame_size_min

Specifies the minimum L2 frame size in bytes. Use this argument when -length_mode is set to random,increment or decrement. Possible values range from 44 to 16365.

-frame_size_max

Specifies the maximum L2 frame size in bytes. Use this argument when -length_mode is set to random,increment or decrement. Possible values range from 44 to 16365.

-frame_size_imix

Specifies the IMIX set values. Use this argument when -length_mode is set to imix and do not specify IMIX ratio and size arguments (-l3_imix1_ratio, -l3_imix1_size etc). Possible values are Default, Spirent, TCPv4, 4-point, IPSEC, JMIX Downstream, JMIX Upstream. Also, specifies any customized IMIX set created using sth::imix_config.

-frame_size_step

Specifies the step by which the frame size increments or decrements when -length_mode is set to increment or decrement. Possible values range from 0 to 16321.

-dest_port_list

Specifies a list of ports that are expected to receive all the packets from this stream block. If -dest_port_list is not specified, all ports will receive packets.

-priority

Spirent Extension (for Spirent HLTAPI only).

Specifies the scheduling priority of the streamblock. Possible values range from 0 to 255. The default value is 0.

-start_delay

Spirent Extension (for Spirent HLTAPI only).

Determines the starting point of the streamblock in bytes. Possible values range from 0 to 4294967295. The default value is 0.

-tunnel_bottom_label

Specifies the bottom label in tunnel. The value is the handle returned for the configured router. For example, -tunnel_bottom_label router2

-tunnel_next_label

Specifies the next label in tunnel. The value is the handle returned for the configured router. For example, -tunnel_next_label router2

-tunnel_top_label
Specify the top label in tunnel. The value is the handle returned for the configured router. For example, -tunnel_top_label router2
-auto_select_bindings
 

Spirent Extension (for Spirent HLTAPI only).

Whether to automatically bind the streamblocks when created with -bidirectional set to 1 and -mode is create, or automatically bind the streamblocks inputted with -stream_id when -mode is modify. The default value is 0.
-tx_port_sending_traffic_to_self_en

Spirent Extension (for Spirent HLTAPI only).

Determines whether to allow the transmitting port to send traffic to itself. Possible values are true and false. When set to true, Spirent HLTAPI will allow the transmitting port to send traffic to itself. The default value is false.

-endpoint_map

Mapping between network endpoints within interface blocks. Possible values are:

Value               Description
one_to_one  One source endpoint to one destination endpoint
one_to_many         One source endpoint to many destination endpoints
many_to_many     Same as one_to_many

Default: one_to_one

-traffic_pattern

Specifies the value for traffic pattern between endpoints.

Default: pair

Possible Values:

Value         Description
pair          Traffic is transmitted between one or more port pairs,
           either uni- or bi-directionally.
backbone   Traffic is transmitted in a partially meshed pattern,
           either uni- or bi-directionally.
-enable_stream

Spirent Extension (for Spirent HLTAPI only).

Whether to use streams or Variable Field Definitions (VFDs) to generate modified values. Possible values are 0 and 1. The default value is 1.

When it is set to 0, Spirent HLTAPI uses VFDs to generate modified values. The values of step attributes under sth::traffic_config must be a power of two. In this situation, the number of modifiers is limited by the Spirent TestCenter hardware (4 or 6 depending on the card series). When it is set to 1, Spirent HLTAPI uses streams to generate modified values. A unique signature per stream is generated. If the per-port limit of 32k streams total across all stream blocks is not exceeded, unlike when the argument is set to 0, there is no extra rules for inputting the step values under the sth::traffic_config command.

-traffic_type

Specifies the traffic type. Possible values are L2 (L2 traffic), L3(L3 traffic ) and FC(Fiber channel).

-fcs_error

Determines whether to insert frame check sequence (FCS) error in the frames. Possible values are:

0 - FCS error in the frames will not be inserted. This is the default.
1 - Inserts FCS error in the frames.
-fill_value

Specifies the value for the constant fill pattern when the -fill_type argument is set to constant. When the -fill_type argument is set to incr or decr, the value of this argument indicates the starting value

-inter_stream_gap

Specifies the gap between frames in the same burst when the burst size is greater than 1. This argument is available when -transmit_mode is continuous_burst or multi_burst. The default value is 12.

-inter_stream_gap_sb

Spirent Extension (for Spirent HLTAPI only).

Specifies the inter-frame gap of the streamblock when the burst size is greater than 1. This argument is available when -transmit_mode is continuous_burst or multi_burst. The default value is 12.

-inter_stream_gap_unit

Spirent Extension (for Spirent HLTAPI only).

Specifies the unit for inter-frame gaps. This argument is available when -tramsmit_mode is set to continuous_burst or multi_burst. Possible values are discribed below:

percent - Inter-frame gap as a percentage of the maximum
           bandwidth available on the test module
fps     - Inter-frame gap as the number of frames per second
bytes   - Inter-frame gap as the number of bytes
ms      - Inter-frame gap in milliseconds
ns      - Inter-frame gap in nanoseconds
bps     - Inter-frame gap as the number of bits per second
Kbps    - Inter-frame gap as the number of kilobits per second
Mbps    - inter-frame gap as the number of megabits per second

The default value is bytes.

-inter_stream_gap_unit_sb

Spirent Extension (for Spirent HLTAPI only).

Specifies the inter-frame gap unit of the streamblock. Possible values are described below:

percent     Inter-frame gap as a percentage of the maximum
            bandwidth available on the test module
fps         Inter-frame gap as the number of frames per second
bytes       Inter-frame gap as the number of bytes
ms          Inter-frame gap in milliseconds
ns          Inter-frame gap in nanoseconds
bps         Inter-frame gap as the number of bits per second
Kbps        Inter-frame gap as the number of kilobits per second
Mbps        inter-frame gap as the number of megabits per second

The default value is bytes.

-ip_checksum

Verifies that packets are not corrupted. Possible values are 0 (not corrupted) and 1 (corrupted). The default is 0. You must specify IPv4 in the -l3_protocol argument.

-ip_dscp

Specifies the Differentiated Service Code Point (DSCP) precedence for a particular stream. The DSCP is made of the six most significant bits of the DiffServ field. Possible values are 0 to 63. The default is 0. You must specify IPv4 in the -l3_protocol argument. See RFC 2474 and 2475 for more information.

-ip_dscp_step

The amount by which to increment the specified DSCP value(-ip_dscp) for subsequent packets. This argument is applicable only when you specify -l3_protocol ipv4.

-ip_dscp_count

Specifies the number of DSCP values to generate for a stream. Possible values range from 1 to 63. The default is 1. You must specify IPv4 in the -l3_protocol argument.

-ip_dscp_data_type

Specifies the type to use for the DSCP mask attribute. The default is NATIVE. Possible values are discribed below:

Value             Description
NATIVE            Mask attribute is the same type as the
                  PDU field being modified.
BYTE              Mask attribute is a hexadecimal byte pattern.
-ip_dscp_mask

Specifies the data bytes to be modified in the DSCP value. The mask size must be the same size as the data. The default is FF.

-ip_dst_addr

Specifies the destination IPv4 address of the first generated packet. The default is 192.0.0.1. You must specify IPv4 in the -l3_protocol argument.

-ip_dst_count

Specifies the number of destination IPv4 addresses to generate for a stream. Possible values range from 1 to 2147483647. The default is 1. You must specify IPv4 in the -l3_protocol argument.

-ip_dst_mode

Specifies how Spirent HLTAPI will assign the IPv4 IP addresses for a particular stream. Possible values are:

increment - For all packets, the destination IP address
    increments by the step specified in the -ip_dst_step
    argument.

decrement - For all packets, the destination IP address
    decrements by the step specified in the -ip_dst_step
    argument.

random   - For all packets, the destination IP addresses are
    in random order.

shuffle - For all packets, the destination IP addresses are
     in random order within a range that is determined by the
     values of -ip_dst_count and -ip_dst_step.

fixed  - The destination IP address is the same for all
    packets.

list    - For all packets, the destination IP addresses are a
          fixed set of values.

You must specify IPv4 in the -l3_protocol argument.

-ip_dst_step

The amount by which to increment the specified IPv4 destination IP address (-ip_dst_addr) for subsequent packets. The modifier is in the format of 0.0.0.0 for IPv4. See -ip_src_step for an example. You must specify IPv4 in the -l3_protocol argument.

-ip_dst_outer_addr

Specifies the destination IPv4 address of the first generated packet in the outer header. The default is 192.0.0.1. You must specify IPv4 in the -l3_protocol argument.

-ip_outer_gateway_addr

Spirent Extension (for Spirent HLTAPI only).

Defines the number of gateway addresses for the streamblocks of outer Ethernet frames. The value must be in IPv4 format. You must specify IPv4 in the -l3_protocol argument.

-ip_dst_outer_count

Specifies the number of destination IPv4 addresses to generate for the outer header. Possible values range from 1 to 2147483647. The default is 1. You must specify IPv4 in the -l3_protocol argument.

-ip_dst_outer_mode

Specifies how Spirent HLTAPI will assign the IPv4 IP addresses for the outer header. Possible values are:

increment - For all packets, the destination IP address
    increments by the step specified in the
    -ip_dst_outer_step argument.

decrement - For all packets, the destination IP address
    decrements by the step specified in the
    -ip_dst_outer_step argument.

random  - For all packets, the destination IP addresses are
    in random order.

fixed  - The destination IP address is the same for all
     packets.

shuffle - For all packets, the destination IP addresses are in
     random order within a range that is determined by the values
     of -ip_dst_outer_count and -ip_dst_outer_step.

list    - For all packets, the destination IP addresses are a
          fixed set of values.

You must specify IPv4 in the -l3_protocol argument.

-ip_dst_outer_step

The amount by which to increment the specified IPv4 destination IP address (-ip_dst_outer_addr) for subsequent packets. The modifier is in the format of 0.0.0.0 for IPv4. See -ip_src_outer_step for an example. You must specify IPv4 in the -l3_protocol argument.

-ip_dst_block_count

Spirent Extension (for Spirent HLTAPI only).

Specifies the number of destination blocks for the streamblock. Possible values range from 1 to 2147483647. The default value is 1. Specify this argument when the destination of the stream is across different sub-interfaces. You must specify IPv4 in the -l3_protocol argument. Please refer to Examples for more information.

-ip_dst_block_step

Spirent Extension (for Spirent HLTAPI only).

Specifies the step by which to increment the destination addresses across different sub-interfaces. The value must be in IPv4 format. The default value is 0.0.1.0. You must specify IPv4 in the -l3_protocol argument.

-ip_fragment

Specifies whether the datagram is fragmented. Possible values are 0 (not fragmented) and 1 (fragmented). The default value is 1. Fragmentation is a method for dividing large packets into smaller packets at any point on a route between the source and destination. You must specify IPv4 in the -l3_protocol argument.

-mf_bit

Spirent Extension (for Spirent HLTAPI only).

Specifies the More Fragment (MF) bit in the Flags field of the internet header. Possible values are 0 and 1. You must specify IPv4 in the -l3_protocol argument. The default value is 0.

-reserved

Spirent Extension (for Spirent HLTAPI only).

Specifies the reserved bit in the Flags field of the internet header. Possible values are 0 and 1. The default value is 0. It must be set to 0. You must specify IPv4 in the -l3_protocol argument.

-ip_fragment_offset

The byte count from the start of the original sent packet. If the IP packet is a fragment, the fragment offset indicates the location of the fragment in the final datagram. The fragment offset is measured in 8-octet increments (64 bits). Possible values range from 0 to 8191. The default is 0. You must specify IPv4 in the -l3_protocol argument.

-ip_fragment_mode

Specifies how Spirent HLTAPI will assign the DF bit values for a particular stream. You must specify IPv4 in the -l3_protocol argument. Possible values are:

increment - For all packets, the DF bit value increments
     by the step specified in the -ip_fragment_step
     argument.

decrement - For all packets, the DF bit value decrements
     by the step specified in the -ip_fragment_step
     argument.

random  - For all packets, the DF bit values are in random
     order.

shuffle - For all packets, the DF bit values are in
      random order within a range that is determined by
      the values of -ip_fragment_count and -ip_fragment_step.

fixed  - The DF bit value is the same for all packets.

list    - For all packets, the DF bit values are a
          fixed set.
-ip_fragment_step

The amount by which to increment or decrement the specified DF bit value (-ip_fragment) for subsequent packets. The default value is 1. You must specify IPv4 in the -l3_protocol argument.

-ip_fragment_count

Specifies the number of DF bit values in the IPv4 header. The default is 1. You must specify IPv4 in the -l3_protocol argument.

-ip_fragment_mask

Specifies the data bytes to be modified in the DF bit value. The mask size must be the same size as the data. The default is 1.

-ip_fragment_repeat_count

Specifies the number of times to repeat the same DF bit value. The default is 0.

-ip_fragment_offset_mode

Specifies how Spirent HLTAPI will assign the fragment offset values for a particular stream. You must specify IPv4 in the -l3_protocol argument. Possible values are:

increment - For all packets, the fragment offset value
     increments by the step specified in the
     -ip_fragment_offset_step argument.

decrement - For all packets, the fragment offset value
     decrements by the step specified in the
     -ip_fragment_offset_step argument.

random  - For all packets, the fragment offset values
     are in random order.

shuffle - For all packets, the fragment offset values
      are in random order within a range that is determined
      by the values of -ip_fragment_offset_count and
      -ip_fragment_offset_step.

fixed  - The fragment offset value is the same for all packets.

list    - For all packets, the fragment offset values are a
          fixed set.
-ip_fragment_offset_step

The amount by which to increment or decrement the specified fragment offset value (-ip_fragment_offset) for subsequent packets. The default value is 1. You must specify IPv4 in the -l3_protocol argument.

-ip_fragment_offset_count

Specifies the number of fragment offset value in the IPv4 header. The default is 1. You must specify IPv4 in the -l3_protocol argument.

-ip_fragment_offset_mask

Specifies the data bytes to be modified in the fragment offset value. The mask size must be the same size as the data. The default is 8191.

-ip_fragment_offset_repeat_count

Specifies the number of times to repeat the same fragment offset value. The default is 0.

-reserved_mode

Specifies how Spirent HLTAPI will assign the reserved bit values for a particular stream. You must specify IPv4 in the -l3_protocol argument. Possible values are:

increment - For all packets, the reserved bit value
     increments by the step specified in the
     -reserved_step argument.

decrement - For all packets, the reserved bit value
     decrements by the step specified in the
     -reserved_step argument.

random  - For all packets, the reserved bit values are
     in random order.

shuffle - For all packets, the reserved bit values are
      in random order within a range that is determined
      by the values of -reserved_count and -reserved_step.

fixed  - The reserved bit value is the same for all packets.

list    - For all packets, the reserved bit values are a
          fixed set.
-reserved_step

The amount by which to increment or decrement the specified reserved bit value (-reserved) for subsequent packets. The default value is 1. You must specify IPv4 in the -l3_protocol argument.

-reserved_count

Specifies the number of reserved bit value in the IPv4 header. The default is 1. You must specify IPv4 in the -l3_protocol argument.

-reserved_mask

Specifies the data bytes to be modified in the reserved bit value. The mask size must be the same size as the data. The default is 1.

-reserved_repeat_count

Specifies the number of times to repeat the same reserved bit value. The default is 0.

-mf_bit_mode

Specifies how Spirent HLTAPI will assign the MF bit values for a particular stream. You must specify IPv4 in the -l3_protocol argument. Possible values are:

increment - For all packets, the MF bit value
     increments by the step specified in the
     -mf_bit_step argument.

decrement - For all packets, the MF bit value
     decrements by the step specified in the
     -mf_bit_step argument.

random  - For all packets, the MF bit values are
     in random order.

shuffle - For all packets, the MF bit values are
      in random order within a range that is
      determined by  the values of
      -mf_bit_count and -mf_bit_step.

fixed  - The MF bit value is the same for all
     packets.

list    - For all packets, the MF bit values are
          a fixed set.
-mf_bit_step

The amount by which to increment or decrement the specified MF bit value (-mf_bit) for subsequent packets. The default value is 1. You must specify IPv4 in the -l3_protocol argument.

-mf_bit_count

Specifies the number of MF bit value in the IPv4 header. The default is 1. You must specify IPv4 in the -l3_protocol argument.

-mf_bit_mask

Specifies the data bytes to be modified in the MF bit value. The mask size must be the same size as the data. The default is 1.

-mf_bit_repeat_count

Specifies the number of times to repeat the same MF bit value. The default is 0.

-ip_fragment_outer_offset

The byte count from the start of the original sent packet in the outer header. If the IP packet is a fragment, the fragment offset indicates the location of the fragment in the final datagram. The fragment offset is measured in 8-octet increments (64 bits). Possible values range from 0 to 8191. The default is 0. You must specify IPv4 in the -l3_protocol argument.

-ip_hdr_length

The length of the IP header field in number of bytes. Possible values range from 0 to 15. The default is 5. This argument is Mandatory because without it the receiver would not know where the TCP portion of the packet begins. You must specify IPv4 in the -l3_protocol argument.

-ip_hdr_outer_length

Spirent Extension (for Spirent HLTAPI only).

The length of the outer IP header field in number of bytes. Possible values range from 0 to 15. The default is 5. This argument is Mandatory because without it the receiver would not know where the TCP portion of the packet begins. You must specify IPv4 in the -l3_protocol argument.

-ip_ecn

Spirent Extension (for Spirent HLTAPI only).

Specifies the 2-bit Explicit Congestion Notification (ECN) field in the IPv4 header. You must specify IPv4 in the -l3_protocol argument. The values are described below:

Value   Description

00     Not ECN-Capable Transport (ECT)
01     ECT (1)
10     ECT (0)
11     Congestion Experienced (CE)
-ip_id

Specifies the identifying value used to help assemble the fragments of a datagram. Possible values range from 0 to 65535. The default is 0. You must specify IPv4 in the -l3_protocol argument.

-ip_outer_checksum

Spirent Extension (for Spirent HLTAPI only).

Verifies that packets in the outer header are not corrupted. Possible values are 0 (not corrupted) and 1 (corrupted). The default is 0. You must specify IPv4 in the -l3_outer_protocol argument.

-ip_outer_ecn

Spirent Extension (for Spirent HLTAPI only).

Specifies the 2-bit ECN field in the outer IPv4 header. You must specify IPv4 in the -l3_outer_protocol argument. The values are described below:

Value   Description

00     Not ECT
01     ECT (1)
10     ECT (0)
11     CE
-ip_outer_id

Spirent Extension (for Spirent HLTAPI only).

Specifies the identifying value used to help assemble the fragments of a datagram in the outer header. Possible values range from 0 to 65535. The default is 0. You must specify IPv4 in the -l3_outer_protocol argument.

-ip_outer_protocol

Spirent Extension (for Spirent HLTAPI only).

Indicates the type of L4 protocol in the outer header. Possible values range from 0 to 255. The default is 253. See -ip_protocol for descriptions of the possible values.

-ip_outer_ttl

Spirent Extension (for Spirent HLTAPI only).

Sets the time-to-live (TTL) for the IP packet in the outer header. The TTL is a counter measured in units of seconds that gradually decrements to zero, at which point the datagram is discarded. Possible values are 0-255. The default is 64. You must specify IPv4 in the -l3_outer_protocol argument.

-ip_outer_precedence

Spirent Extension (for Spirent HLTAPI only).

Specifies the 3-bit ToS Precedence field in the outer IPv4 header. Possible values are 0 to 7. The default value is 0. You must specify IPv4 in the -l3_outer_protocol argument. The values are described below:

Value     Description
7       Network Control
6       Internetwork Control
5       CRITIC/ECP
4       Flash Override
3       Flash
2       Immediate
1       Priority
0       Routine
-ip_outer_precedence_mode

Spirent Extension (for Spirent HLTAPI only).

Specifies how Spirent HLTAPI will assign the 3-bit ToS Precedence field in the outer IPv4 header for a particular stream. Possible values are:

increment   For all packets, the ToS Precedence value
            increments by the step specified in the
            -ip_outer_precedence_step argument

decrement   For all packets, the ToS Precedence value
            decrements by the step specified in the
            -ip_outer_precedence_step argument

random      For all packets, the ToS Precedence values will be in
            random order

shuffle     For all packets, the ToS Precedence values will be
            in random order within a range that is determined by
            the values of -ip_outer_precedence_count and
            -ip_outer_precedence_step

list        For all packets, the ToS Precedence are a
            fixed set of values.
-ip_outer_precedence_count

Spirent Extension (for Spirent HLTAPI only).

Specifies the number of values to use in increment mode for the Precedence field in the outer IPv4 header. The default value is 0. You must specify IPv4 in the -l3_outer_protocol argument.

-ip_outer_precedence_step

Spirent Extension (for Spirent HLTAPI only).

Specifies the step value by which to modify the specified outer IP Precedence field (-ip_outer_precedence). Possible values are 1 to 7. You must specify IPv4 in the -l3_outer_protocol argument.

-ip_outer_tos_field

Spirent Extension (for Spirent HLTAPI only).

Sets the 4-bit ToS field in the outer IPv4 header. Possible values range from 0 to 15. The default value is 0. You must specify IPv4 in the -l3_outer_protocol argument.

-ip_outer_tos_mode

Spirent Extension (for Spirent HLTAPI only).

Specifies how Spirent HLTAPI will assign the ToS value in the outer IPv4 header for a particular stream. Possible values are:

increment   For all packets, the ToS value increments by the
             step specified in the -ip_outer_tos_step argument

decrement   For all packets, the ToS value decrements by the
            step specified in the -ip_outer_tos_step argument

random      For all packets, the ToS values are in random
            order

shuffle     For all packets, the ToS values are in random
            order within a range that is determined by
            the values of -ip_outer_tos_count and -ip_outer_tos_step

fixed       The ToS value is the same for all packets

list        For all packets, the ToS values are a
            fixed set of values.
-ip_outer_tos_count

Spirent Extension (for Spirent HLTAPI only).

Specifies the number of times the outer ToS value will change before reverting to the initial value. The default value is 0. You must specify IPv4 in the -l3_outer_protocol argument.

-ip_outer_tos_step

Spirent Extension (for Spirent HLTAPI only).

Specifies the step value by which to modify the specified ToS field (-ip_outer_tos_field). Possible values range from 1 to 15. The default value is 0. You must specify IPv4 in the -l3_outer_protocol argument.

-ip_outer_mbz

Spirent Extension (for Spirent HLTAPI only).

Specifies the 1-bit Must Be Zero (MBZ) field of the ToS field in the outer IPv4 header. Possible values are 0 or 1. The default value is 0. You must specify IPv4 in the -l3_outer_protocol argument.

-ip_outer_dscp

Spirent Extension (for Spirent HLTAPI only).

Specifies the DSCP Precedence field in the outer IPv4 header. Possible values are 0 to 63. The default value is 0. You must specify IPv4 in the -l3_outer_protocol argument.

-ip_outer_dscp_count

Spirent Extension (for Spirent HLTAPI only).

Specifies the number of DSCP values to generate in the outer IPv4 header for a stream. Possible values range from 1 to 63. The default value is 1. You must specify IPv4 in the -l3_outer_protocol argument.

-ip_outer_dscp_step

Spirent Extension (for Spirent HLTAPI only).

Specifies the amount by which to increment the specified DSCP value (-ip_outer_dscp) for subsequent packets. You must specify IPv4 in the -l3_outer_protocol argument.

-ip_precedence

Configure the TOS three-bit Precedence field in the IP header. Possible values are 0 to 7. The default is 0. You must specify IPv4 in the -l3_protocol argument. This argument is not available when -ip_tos_field is in a list format. The value are described below:

Value     Description
7       Network Control
6       Internetwork Control
5       CRITIC/ECP
4       Flash Override
3       Flash
2       Immediate
1       Priority
0       Routine
-ip_precedence_mode

Spirent Extension (for Spirent HLTAPI only).

Specifies how Spirent HLTAPI will assign the TOS 3-bit Precedence in the IP header for a particular stream. Possible values are:

increment - For all packets, the ToS 3-bit Precedence
            increments by the step specified in the
            -ip_precedence_step argument.

decrement - For all packets, the ToS 3-bit Precedence
            decrements by the step specified in the
            -ip_precedence_step argument.

random - For all packets, the ToS 3-bit Precedence will be in
            random order

shuffle - For all packets, the ToS 3-bit Precedence will be
        in random order within a range that is determined by the
        values of -ip_precedence_count and -ip_precedence_step.

list   - For all packets, the ToS 3-bit Precedence are a
          fixed set of values.

Note

Spirent HLTAPI does not allow switching from increment, or decrement, shuffle to random; or from random to increment, decrement or shuffle.

-ip_precedence_count

Specifies the number of values to use in increment mode. The default is 0. You must specify IPv4 in the -l3_protocol argument. .. note:: A large IP precedence count value can degrade performance. If it takes too long to create the stream, try reducing this count.

-ip_precedence_step

Increment step to use in increment or decrement mode. Possible values are 1 to 7. You must specify IPv4 in the -l3_protocol argument.

-ip_precedence_data_type

Specifies the type to use for the precedence mask attribute. The default is NATIVE. Possible values are discribed below:

Value             Description
NATIVE            Mask attribute is the same type as the
                  PDU field being modified.
BYTE              Mask attribute is a hexadecimal byte pattern.
-ip_precedence_mask

Specifies the data bytes to be modified in the IP precedence value. The mask size must be the same size as the data. The default is FF.

-ip_protocol

Indicates the type of L4 protocol in the IP header. Possible values range from 0 to 255. The default is 253. Possible values are:

Value Description
0     HOPOPT
1     ICMP
2     IGMP
3     GGP
4     IP
5     ST
6     TCP
7     CBT
8     EGP
9     IGP
10    BBN-RCC-MON
11    NVP-II
12    PUP
13    ARGUS
14    EMCON
15    XNET
16    CHAOS
17    UDP
18    MUX
19    DCN-MEAS
20    HMP
21    PRM
22    XNS-IDP
23    TRUNK-1
24    TRUNK-2
25    LEAF-1
26    LEAF-2
27    RDP
28    IRTP
29    ISO-TP4
30    NETBLT
31    MFE-NSP
32    MERIT-INP
33    SEP
34    3PC
35    IDPR
36    XTP
37    DDP
38    IDPR-CMTP
39    TP++
40    IL
41    IPv6
42    SDRP
43    IPv6-Route
44    IPv6-Frag
45    IDRP
46    RSVP
47    GRE
48    MHRP
49    BNA
50    ESP
51    AH
52    I-NLSP
53    SWIPE
54    NARP
55    MOBILE
56    TLSP
57    SKIP
58    IPv6-ICMP
59    IPv6-NoNxt
60    IPv6-Opts
62    CFTP
64    SAT-EXPAK
65    KRYPTOLAN
66    RVD
67    IPPC
69    SAT-MON
70    VISA
71    IPCV
72    CPNX
73    CPHB
74    WSN
75    PVP
76    BR-SAT-MON
77    SUN-ND
78    WB-MON
79    WB-EXPAK
80    ISO-IP
81    VMTP
82    SECURE-VMTP
83    VINES
84    TTP
85    NSFNET-IGP
86    DGP
87    TCF
88    EIGRP
89    OSPFIGP
90    Sprite-RPC
91    LARP
92    MTP
93    AX.25
94    IPIP
95    MICP
96    SCC-SP
97    ETHERIP
98    ENCAP
100   GMTP
101   IFMP
102   PNNI
103   PIM
104   ARIS
105   SCPS
106   QNX
107   A/N
108   IPComp
109   SNP
110   Compaq-Peer
111   IPX-in-IP
112   VRRP
113   PGM
115   L2TP
116   DDX
117   IATP
118   STP
119   SRP
120   UTI
121   SMP
122   SM
123   PTP
124   ISIS over IPv4
125   FIRE
126   CRTP
127   CRUDP
128   SSCOPMCE
129   IPLT
130   SPS
131   PIPE
132   SCTP
133   FC
134   RSVP-E2E-IGNORE
135   Mobility Header
136   UDPLite
137   MPLS-in-IP
253   Experimental
255   Reserved

You must specify IPv4 in the -l3_protocol argument.

-ip_src_addr

Specifies the source IPv4 address of the first generated packet. The default is 0.0.0.0. You must specify IPv4 in the -l3_protocol argument.

-ip_src_count

The number of source IP addresses to generate for a stream. Possible values range from 1 to 2147483647. The default is 1.

-ip_src_outer_addr

Spirent Extension (for Spirent HLTAPI only).

Specifies the source IPv4 address of the first generated packet in the outer header. The default is 0.0.0.0. You must specify IPv4 in the -l3_protocol argument.

-ip_src_outer_count

Spirent Extension (for Spirent HLTAPI only).

The number of source IP addresses to generate for a stream in the outer header. Possible values range from 1 to 2147483647. The default is 1.

-ip_src_outer_step

Indicates both the step value and the prefix length that Spirent HLTAPI applies to the specified outer source address (-ip_src_outer_addr). The format of the ip_src_step value is an IPv4 address.

-ip_src_outer_mode

Spirent Extension (for Spirent HLTAPI only).

Specifies how Spirent HLTAPI will assign the IP addresses for the outer header. Possible values are:

increment - For all packets, the source IP address
     increments by the step specified in the
     -ip_src_outer_step argument.

decrement - For all packets, the source IP address
     decrements by the step specified in the
     -ip_src_outer_step argument.

random  - For all packets, the source IP addresses are
     in random order.

fixed  - The source IP address is the same for all
     packets.

shuffle - For all packets, the source IP addresses are in
     random order within a range that is determined by the
     values of -ip_src_outer_count and -ip_src_outer_step.

list    - For all packets, the source IP addresses are a
          fixed set of values.
-ip_src_mode

Specifies how Spirent HLTAPI will assign the IP addresses for a particular stream. Possible values are:

increment - For all packets, the source IP address
     increments by the step specified in the -ip_src_step
     argument.

decrement - For all packets, the source IP address
     decrements by the step specified in the -ip_src_step
     argument.

random  - For all packets, the source IP addresses are
     in random order.

shuffle - For all packets, the source IP addresses are in
      random order within a range that is determined by
      the values of -ip_src_count and -ip_src_step.
fixed  - The source IP address is the same for all
     packets.

list    - For all packets, the source IP addresses are a
          fixed set of values.
-ip_src_step

Indicates both the step value and the prefix length that Spirent HLTAPI applies to the specified source address (-ip_src_addr). The format of the ip_src_step value is an IPv4 address, for example, 0.0.1.0. Use a single decimal digit equal to a power of 2; the remaining three digits must be zero (0). The numeric value identifies a bit location in the address; the location determines the prefix length. Spirent HLTAPI also uses the value to increment the host ID portion of the address.

For example, if you specify 0.0.8.0 for the -ip_src_step argument, then the step value is 8 and the prefix length is 21. However, if you specify 0.8.0.0, then the step value is 8 but the prefix length is 13:

sth::traffic_config -mode create {other needed switches} \
                  -ip_src_addr 10.100.20.5 \
                  -ip_src_mode increment \
                  -ip_src_step 0.8.0.0 \
                  -ip_src_count 5
-ip_src_repeat_count

Spirent Extension (for Spirent HLTAPI only).

Specifies the number of times to repeat the same source IP address for a stream. Possible values range from 1 to 2147483647. The default is 1.

-ip_dst_repeat_count

Spirent Extension (for Spirent HLTAPI only).

Specifies the number of times to repeat the same destination IP address for a stream. Possible values range from 1 to 2147483647. The default is 1.

-ip_src_outer_repeat_count

Spirent Extension (for Spirent HLTAPI only).

Specifies the number of times to repeat the same source IP address for a stream in the outer header. Possible values range from 1 to 2147483647. The default is 1.

-ip_dst_outer_repeat_count

Spirent Extension (for Spirent HLTAPI only).

Specifies the number of times to repeat the same destination IP address for a stream in the outer header. Possible values range from 1 to 2147483647. The default is 1.

-ip_src_seed

Spirent Extension (for Spirent HLTAPI only).

Specifies the seed value which is used for generating random numbers. The default value is 0. You must specify random in the -ip_src_mode argument.

-ip_src_mask

Spirent Extension (for Spirent HLTAPI only).

Specifies the data bytes to be modified in the source IP. The mask size must be the same size as the data. The default is 255.255.255.255.

-ip_dst_seed

Spirent Extension (for Spirent HLTAPI only).

Specifies the seed value which is used for generating random numbers. The default value is 0. You must specify random in the -ip_dst_mode argument.

-ip_dst_mask

Spirent Extension (for Spirent HLTAPI only).

Specifies the data bytes to be modified in the destination IP. The mask size must be the same size as the data. The default is 255.255.255.255.

-ip_tos_mode

Spirent Extension (for Spirent HLTAPI only).

Specifies how Spirent HLTAPI will assign the four-bit type of service (ToS) in the IP header for a particular stream. Possible values are:

increment - For all packets, the four-bit ToS increments by the
             step specified in the -ip_tos_step argument.

decrement - For all packets, the four-bit ToS decrements by the
            step specified in the -ip_tos_step argument.

random - For all packets, the four-bit ToS are in random
            order.

shuffle - For all packets, the four-bit ToS are in random
           order within a range that is determined by
           the values of -ip_tos_count and -ip_tos_step.

fixed  -  The four-bit ToS is the same for all
        packets.

list   - For all packets, the ToS are a fixed set of values.

Note

Spirent HLTAPI does not allow switching from increment, or decrement, shuffle to random; or from random to increment, decrement or shuffle.

-ip_tos_count

Specifies the number of times the value will change before reverting to the initial value. The default is 0. You must specify IPv4 in the -l3_protocol argument.

-ip_tos_field

Sets the four-bit type of service (ToS) field in the IP header. The ToS field specifies the priority of the packet. Possible values range from 0 to 15. The default is 0. You must specify IPv4 in the -l3_protocol argument.

-ip_tos_step

Specifies the number of values to use in increment or decrement mode. Possible values range from 1 to 15. The default is 0. You must specify IPv4 in the -l3_protocol argument.

-ip_tos_data_type

Specifies the type to use for the TOS mask attribute. The default is NATIVE. Possible values are discribed below:

Value             Description
NATIVE            Mask attribute is the same type as the
                  PDU field being modified.
BYTE              Mask attribute is a hexadecimal byte pattern.
-ip_tos_mask

Specifies the data bytes to be modified in the TOS value. The mask size must be the same size as the data. The default is FF.

-ip_mbz

Specifies 1-bit Must Be Zero (MBZ) field of the ToS field in IPv4 header. Possible values are 0 or 1. The default is 0. You must specify IPv4 in the -l3_protocol argument.

-ip_ttl

Sets the time-to-live (TTL) for the IP packet. The TTL is a counter measured in units of seconds that gradually decrements to zero, at which point the datagram is discarded. Possible values are 0-255. The default is 64. You must specify IPv4 in the -l3_protocol argument.

-ip_router_alert

Determines whether to add the Router Alert option in the IPv4 header. Possible values are 0 or 1. The default is 0. You must specify IPv4 in the -l3_protocol argument.

-ipv4_header_options

Specifies the option to be included in the IPv4 header. Possible values are described below:

router_alert - Adds the IP router alert option in the IPv4
              header. You must set -ip_router_alert to 1.

nop - Adds the IP NOP option in the IPv4
              header

loose_source_route - Adds the IP loose source route option in the IPv4
              header

strict_source_route - Adds the IP loose strict route option in the IPv4
              header

time_stamp - Adds the IP time stamp option in the IPv4
              header

record_route - Adds the IP record route option in the IPv4
              header

address_extension - Adds the IP address extension option in the IPv4
              header

security - Specifies how to include security labels and handling
           restrictions with IP datagrams.

stream_identifier - Carries the 16-bit SATNET stream identifier.

The default value is router_alert.

-ipv4_router_alert

Determines what will be included in the Router Alert option in the IPv4 header. This argument will present a list of keys:

optiontype - Specifies the type of router alert to be included.
             Possible values include:

             end_of_options_list
             nop
             security
             loose_source_route
             time_stamp
             extended_security
             record_route
             stream_identifier
             strict_source_route
             mtu_probe
             mtu_reply
             traceroute
             address_extension
             router_alert
             selective_directed_broadcast_mode

            The default is router_alert.

length - Specifies the length field for the IP router alert
         option. The default value is 4.

routeralertvalue - Specifies the value field for the IP
         router alert option. The default value is 0.

Here is an example:

set returnedString [sth::traffic_config\
     -mode create\
     -port_handle $tgen1_port\
     -l3_protocol ipv4\
     -ip_router_alert 1\
     -ipv4_header_options router_alert\
     -ipv4_router_alert "length:4 routeralertvalue:10
      optiontype:selective_directed_broadcast_mode"

      ]
-ipv4_nop

Determines what will be included in the NOP option in the IPv4 header. This argument will present a list of keys:

optiontype - Specifies the type of nop to be included.
             Possible values include:

             end_of_options_list
             nop
             security
             loose_source_route
             time_stamp
             extended_security
             record_route
             stream_identifier
             strict_source_route
             mtu_probe
             mtu_reply
             traceroute
             address_extension
             router_alert
             selective_directed_broadcast_mode

            The default is nop.


Here is an example::

  set returnedString [sth::traffic_config\
       -mode create\
       -port_handle $tgen1_port\
       -l3_protocol ipv4\
       -ipv4_header_options nop\
       -ipv4_nop "optiontype:selective_directed_broadcast_mode"

        ]
-ipv4_loose_source_route

Determines what will be included in the Loose Source Route option in the IPv4 header. This argument will present a list of keys:

optiontype - Specifies the type of loose source route to be included.
             Possible values include:

             end_of_options_list
             nop
             security
             loose_source_route
             time_stamp
             extended_security
             record_route
             stream_identifier
             strict_source_route
             mtu_probe
             mtu_reply
             traceroute
             address_extension
             router_alert
             selective_directed_broadcast_mode

            The default is loose_source_route.

length - Specifies the length field for the IP loose source route
         option. The default value is 3.

ip_value - Specifies the IP Address List field for the loose source route
         option. The default value is 192.0.0.1.

pointer - Specifies the pointer field for the IP loose source route
         option. The default value is 4.

Here is an example::

  set returnedString [sth::traffic_config\
       -mode create\
       -port_handle $tgen1_port\
       -l3_protocol ipv4\
       -ipv4_header_options loose_source_route\
       -ipv4_loose_source_route "length:4 ip_value:192.0.0.2
        optiontype:selective_directed_broadcast_mode pointer:2"

        ]
-ipv4_strict_source_route

Determines what will be included in the Strict Source Route option in the IPv4 header. This argument will present a list of keys:

optiontype - Specifies the type of strict source route to be included.
             Possible values include:

             end_of_options_list
             nop
             security
             loose_source_route
             time_stamp
             extended_security
             record_route
             stream_identifier
             strict_source_route
             mtu_probe
             mtu_reply
             traceroute
             address_extension
             router_alert
             selective_directed_broadcast_mode

            The default is strict_source_route.

length - Specifies the length field for the IP strict source route
         option. The default value is 3.

ip_value - Specifies the IP Route List field for the strict source route
         option. The default value is 192.0.0.1.

pointer - Specifies the pointer field for the IP strict source route
         option. The default value is 4.

Here is an example::

  set returnedString [sth::traffic_config\
       -mode create\
       -port_handle $tgen1_port\
       -l3_protocol ipv4\
       -ipv4_header_options strict_source_route\
       -ipv4_strict_source_route "length:4 ip_value:192.0.0.2
        optiontype:selective_directed_broadcast_mode pointer:2"

        ]
-ipv4_time_stamp

Determines what will be included in the Time Stamp option in the IPv4 header. This argument will present a list of keys:

optiontype - Specifies the type of time stamp to be included.
             Possible values include:

             end_of_options_list
             nop
             security
             loose_source_route
             time_stamp
             extended_security
             record_route
             stream_identifier
             strict_source_route
             mtu_probe
             mtu_reply
             traceroute
             address_extension
             router_alert
             selective_directed_broadcast_mode

            The default is time_stamp.

length - Specifies the length field for the IP time stamp
         option. The default value is 5.

pointer - Specifies the pointer field for the IP time stamp
         option. The default value is 0.

overflow - Specifies the overflow field for the IP time stamp
         option. The default value is 0.

opt_type - Specifies the option type field for the IP time stamp
         option. The default value is 0.

opt_type_hex -Specifies the option type (hex) field for the IP time stamp
         option. The default value is 0.

Here is an example::

  set returnedString [sth::traffic_config\
       -mode create\
       -port_handle $tgen1_port\
       -l3_protocol ipv4\
       -ipv4_header_options time_stamp\
       -ipv4_time_stamp "length:4 pointer:2 opt_type:2 overflow:1
        optiontype:selective_directed_broadcast_mode opt_type_hex:2"

        ]
-ipv4_record_route

Determines what will be included in the Record Route option in the IPv4 header. This argument will present a list of keys:

optiontype - Specifies the type of record route to be included.
             Possible values include:

             end_of_options_list
             nop
             security
             loose_source_route
             time_stamp
             extended_security
             record_route
             stream_identifier
             strict_source_route
             mtu_probe
             mtu_reply
             traceroute
             address_extension
             router_alert
             selective_directed_broadcast_mode

            The default is record_route.

length - Specifies the length field for the IP record route
         option. The default value is 0.

pointer - Specifies the pointer field for the IP record route
         option. The default value is 4.

ip_value - Specifies the IP Route List field for the record route
         option. The default value is 192.0.0.1.

Here is an example::

  set returnedString [sth::traffic_config\
       -mode create\
       -port_handle $tgen1_port\
       -l3_protocol ipv4\
       -ipv4_header_options record_route\
       -ipv4_record_route "length:4 pointer:2 ip_value:192.0.0.2
        optiontype:selective_directed_broadcast_mode"

        ]
-ipv4_address_extension

Determines what will be included in the Address Extension option in the IPv4 header. This argument will present a list of keys:

optiontype - Specifies the type of address extension to be included.
             Possible values include:

             end_of_options_list
             nop
             security
             loose_source_route
             time_stamp
             extended_security
             record_route
             stream_identifier
             strict_source_route
             mtu_probe
             mtu_reply
             traceroute
             address_extension
             router_alert
             selective_directed_broadcast_mode

            The default is record_route.

length - Specifies the length field for the IP address extension
         option. The default value is 0.

dest_7thbyte - Specifies the Destination 7th Byte field for the address extension
         option. The default value is 0.

dest_ipv7 - Specifies the Destination IPv7 Administrative Domain field for the address extension
         option. The default value is 0.

source_7thbyte - Specifies the Source 7th Byte field for the address extension
         option. The default value is 0.

source_ipv7 - Specifies the Source IPv7 Administrative Domain field for the address extension
         option. The default value is 0.

Here is an example::

  set returnedString [sth::traffic_config\
       -mode create\
       -port_handle $tgen1_port\
       -l3_protocol ipv4\
       -ipv4_header_options address_extension\
       -ipv4_address_extension "length:4 dest_7thbyte:1 dest_ipv7:1
        optiontype:selective_directed_broadcast_mode source_7thbyte:1
        source_ipv7:1"

        ]
-ipv4_security_compartments

An all zero value is used when the information transmitted is not compartmented. Other values for the compartments field may be obtained from the Defense Intelligence Agency. Possible values are 0-65535. The default is 0.

-ipv4_security_handling_restrictions

Specifies the values for the control and release markings. Possible values are 0-65535. The default is 0.

-ipv4_security_length

Specifies the length of security value. Possible values are 0-255. The default is 11.

-ipv4_security

Specifies the security value. Possible values are 0-65535. The default is 1.

-ipv4_security_tx_control_code

Provides a means to segregate traffic and define controlled communities of interest among subscribers. The default is 0.

-ipv4_security_type

Specifies the type of security to be included. Possible values are described below:

Value          Type
0           End of Options List
1           NOP
130         Security
131         Loose Source Route
68          Time Stamp
133         Extended Security
7           Record Route
136         Stream Identifier
137         Strict Source Route
11          MTU Probe
12          MTU Reply
82          Traceroute
147         Address Extension
148         Router Alert
149         Selective Directed Broadcast Mode

The default value is 130.

-ipv4_stream_identifier_len

Specifies the length of stream identifier. Possible values are 0-255. The default is 4.

-ipv4_stream_identifier

Specifies the stream identifier value. Possible values are 0-65535. The default is 0.

-ipv4_stream_identifier_type

Specifies the type of stream ID to be included. Possible values are described below:

Value          Type
0           End of Options List
1           NOP
130         Security
131         Loose Source Route
68          Time Stamp
133         Extended Security
7           Record Route
136         Stream Identifier
137         Strict Source Route
11          MTU Probe
12          MTU Reply
82          Traceroute
147         Address Extension
148         Router Alert
149         Selective Directed Broadcast Mode

The default value is 136.

-ipv6_dst_addr

The destination IPv6 address of the first generated packet. The default is fe80:0:0:0:0:0:0:22. You must specify IPv6 in the -l3_protocol argument.

-ipv6_dst_count

The number of destination IPv6 addresses to generate for a stream. Possible values range from 1 to 2147483647. The default is 1. You must specify IPv6 in the -l3_protocol argument.

-ipv6_dst_mode

Specifies how Spirent HLTAPI will assign the IPv6 addresses for a particular stream. Possible values are:

increment - For all packets, the destination IPv6 address
         increments by the step specified in the -ipv6_dst_step
         argument.

decrement - For all packets, the destination IPv6 address
         decrements by the step specified in the -ipv6_dst_step
         argument.

random  - For all packets, the destination IPv6 addresses are
          in random order.

shuffle - For all packets, the destination IPv6 addresses are
          in random order within a range that is determined
          by the values of -ipv6_dst_count and -ipv6_dst_step.

fixed  - The destination IPv6 address is the same for all
         packets.

list    - For all packets, the destination IPv6 addresses are
          a fixed set of values.

You must specify IPv6 in the -l3_protocol argument.

-ipv6_dst_step

The amount by which to increment the specified IPv6 destination IP address (-ipv6_dst_addr) for subsequent packets. The value must be either in IPv6 format or an integer. When it is in IPv6 format, the default is ::1. When it is an integer, possible values range from 1 to 65535, and the default is 1. You must specify IPv6 in the -l3_protocol argument.

-ipv6_src_repeat_count

Spirent Extension (for Spirent HLTAPI only).

Specifies the number of times to repeat the same source IPv6 address for a stream. Possible values range from 1 to 2147483647. The default is 1.

-ipv6_dst_repeat_count

Spirent Extension (for Spirent HLTAPI only).

Specifies the number of times to repeat the same destination IPv6 address for a stream. Possible values range from 1 to 2147483647. The default is 1.

-ipv6_dst_outer_count

Spirent Extension (for Spirent HLTAPI only).

The number of destination IPv6 addresses to generate for the outer header. Possible values range from 1 to 2147483647. The default is 1. You must specify IPv6 in the -l3_protocol argument.

-ipv6_dst_outer_mode

Spirent Extension (for Spirent HLTAPI only).

Specifies how Spirent HLTAPI will assign the IPv6 addresses for the outer header. Possible values are:

increment - For all packets, the destination IPv6 address
        increments by the step specified in the
        -ipv6_dst_outer_step argument.

decrement - For all packets, the destination IPv6 address
        decrements by the step specified in the
        -ipv6_dst_outer_step argument.

random  - For all packets, the destination IPv6 addresses are
       in random order.

shuffle - For all packets, the destination IPv6 addresses are in
       random order within a range that is determined by the
       values of -ipv6_dst_outer_count and -ipv6_dst_outer_step.

list    - For all packets, the destination IPv6 addresses are a
          fixed set of values.

You must specify IPv6 in the -l3_protocol argument.

-ipv6_dst_outer_step

Spirent Extension (for Spirent HLTAPI only).

The amount by which to increment the specified IPv6 destination IP address (-ip_dst_outer_addr) for subsequent packets. Possible values range from 1 to 65535. The default is 1. You must specify IPv6 in the -l3_protocol argument.

-ipv6_dstprefix_len

Spirent Extension (for Spirent HLTAPI only).

Specifies the prefix length of the destination IPv6 address. Possible values range from 1 to 128. The default is 64. This argument is available when -ipv6_dst_step is specified as an integer. The IPv6 destination addresses for subsequent packets will be modified in the specific offset bit with the -ipv6_dst_step value.

-ipv6_flow_label

The flow label value of the IPv6 stream, which is a twenty- bit field used for QoS management. Typical packets not associated with a particular flow, but which require special treatment are set to 0. Possible values range from 0 to 1048575. The default is 0.

-ipv6_hop_limit

The hop limit field in the IPv6 header, which is an eight- bit field similar to TTL in IPv4. Possible values range from 0 to 255. The default is 64.

-ipv6_length

The two-byte payload length field in the IPv6 header. Possible values range from 0 to 65535. The default is 128.

-ipv6_next_header

The next header field in the IPv6 header. For datagrams with extension headers, this field specifies the identity of the first extension header, which is the next header in the datagram. Possible values range from 0 to 255. The default is 59.

-ipv6_gateway_addr

Specifies the IPv6 gateway address in the outer IPv6 header. The value must be in IPv6 format You must specify IPv6 in the -l3_protocol argument.

-ipv6_src_addr

Specifies the source IPv6 address of the first generated packet. The default is fe80:0:0:0:0:0:0:12. You must specify IPv6 in the -l3_protocol argument.

-ipv6_src_count

The number of source IPv6 addresses to generate for a stream. Possible values range from 1 to 2147483647. The default is 1.

-ipv6_src_mode

Specifies how Spirent HLTAPI will assign the IPv6 addresses for a particular stream. Possible values are:

increment - For all packets, the source IPv6 address
     increments by the step specified in the
     -ip_src_step argument.

decrement - For all packets, the source IPv6 address
     decrements by the step specified in the
     -ip_src_step argument.

random  - For all packets, the source IPv6 addresses are
     in random order.

shuffle - For all packets, the source IPv6 addresses are in
     random order between a range that is determined by the
     values of -ipv6_src_count and -ipv6_src_step.

fixed  - The source IPv6 address is the same for all
     packets.

list    - For all packets, the source IPv6 addresses are
          a fixed set of values.

You must specify IPv6 in the -l3_protocol argument.

-ipv6_src_step

The amount by which to increment the specified IPv6 source IP address (-ipv6_src_addr) for subsequent packets. The value must be either in IPv6 format or an integer. When it is in IPv6 format, the default is ::1. When it is an integer, possible values range from 1 to 65535, and the default is 1. You must specify IPv6 in the -l3_protocol argument.

-ipv6_src_outer_count

Spirent Extension (for Spirent HLTAPI only).

The number of source IPv6 addresses to generate for the outer header. Possible values range from 1 to 2147483647. The default is 1.

-ipv6_src_outer_mode

Spirent Extension (for Spirent HLTAPI only).

Specifies how Spirent HLTAPI will assign the IPv6 addresses for the outer header. Possible values are:

increment - For all packets, the source IP address
         increments by the step specified in the
         -ipv6_src_outer_step argument.

decrement - For all packets, the source IP address
         decrements by the step specified in the
         -ipv6_src_outer_step argument


random  - For all packets, the source IPv6 addresses are
         in random order.

shuffle - For all packets, the source IPv6 addresses are in
         random order within a range that is determined by the
         values of -ipv6_src_outer_count and -ipv6_src_outer_step.

list    - For all packets, the source IPv6 addresses are a
          fixed set of values.

You must specify IPv6 in the -l3_protocol argument.

-ipv6_src_outer_step

Spirent Extension (for Spirent HLTAPI only).

The amount by which to increment the specified IPv6 source IP address (-ip_src_outer_addr) for subsequent packets. Possible values range from 1 to 65535. The default is 1.

-ipv6_srcprefix_len

Spirent Extension (for Spirent HLTAPI only).

Specifies the prefix length of the source IPv6 address. Possible values range from 1 to 128. The default is 64. This argument is available when -ipv6_src_step is specified as an integer. The IPv6 source addresses for subsequent packets will be modified in the specific offset bit with the -ipv6_src_step value.

-ipv6_srcprefix

Spirent Extension (for Spirent HLTAPI only).

Specifies the prefix mask of the source IPv6 address. The default is “FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF” when -ipv6_src_step is specified in IPv6 format, or “FFFF” when -ipv6_src_step is specified as an integer.

-ipv6_dstprefix

Spirent Extension (for Spirent HLTAPI only).

Specifies the prefix mask of the destination IPv6 address. The default is “FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF” when -ipv6_src_step is specified in IPv6 format, or “FFFF” when -ipv6_src_step is specified as an integer.

-ipv6_traffic_class

The traffic class field in the IPv6 header, which is an eight-bit field that describes the packet’s priority. This value is used at the application layer. Possible values range from 0 to 255. The default is 0.

-ipv6_traffic_class_mode

Specifies how HLTAPI will assign the traffic class value in the IPv6 header for a particular stream. Possible values are:

increment - For all packets, the IPv6 traffic class value increments
             by the step specified in the -ipv6_traffic_class_step
             argument.

decrement - For all packets, the IPv6 traffic class value decrements
             by the step specified in the -ipv6_traffic_class_step
             argument.

random    - For all packets, the IPv6 traffic class values are in
             random order.

shuffle   - For all packets, the IPv6 traffic class values are in
             random order within a range that is determined by
             the values of -ip_tos_count and -ipv6_traffic_class_step.

fixed     - The IPv6 traffic class value is the same for all packets.

list      - For all packets, the IPv6 traffic classes values are
             a fixed set of values.
-ipv6_traffic_class_step

The amount by which to increment the specified IPv6 traffic class value (-ipv6_traffic_class) for subsequent packets. Possible values range from 01 to FF. The default is 01.

-ipv6_traffic_class_count

Specifies the number of traffic class value in the IPv6 header. The default is 1.

-ipv6_traffic_class_mask

Specifies the data bytes to be modified in the IPv6 traffic class value. The mask size must be the same size as the data. The default is FF.

-ipv6_traffic_class_repeat_count

Specifies the number of times to repeat the same IPv6 traffic class value. The default is 0.

-ipv6_src_outer_repeat_count

Spirent Extension (for Spirent HLTAPI only).

Specifies the number of times to repeat the same source IPv6 address for a stream in the outer header. Possible values range from 1 to 2147483647. The default is 1.

-ipv6_dst_outer_repeat_count

Spirent Extension (for Spirent HLTAPI only).

Specifies the number of times to repeat the same destination IPv6 address for a stream in the outer header. Possible values range from 1 to 2147483647. The default is 1.

-ipv6_outer_src_addr

Spirent Extension (for Spirent HLTAPI only).

Specifies the outer source IPv6 address of the first generated packet. The default is fe80:0:0:0:0:0:0:12. You must specify IPv6 in the -l3_outer_protocol argument.

-ipv6_outer_dst_addr

Spirent Extension (for Spirent HLTAPI only).

Specifies the outer destination IPv6 address of the first generated packet. The default is fe80:0:0:0:0:0:0:22. You must specify IPv6 in the -l3_outer_protocol argument.

-ipv6_outer_gateway_addr

Spirent Extension (for Spirent HLTAPI only).

Specifies the IPv6 gateway address in the outer IPv6 header. The value must be in IPv6 format. You must specify IPv6 in the -l3_outer_protocol argument.

-ipv6_outer_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the 2-byte payload length field in the outer IPv6 header. Possible values range from 0 to 65535. The default is 128. You must specify IPv6 in the -l3_outer_protocol argument.

-ipv6_outer_hop_limit

Spirent Extension (for Spirent HLTAPI only).

Specifies the hop limit field in the outer IPv6 header. Possible values range from 0 to 255. The default is 64. You must specify IPv6 in the -l3_outer_protocol argument.

-ipv6_outer_traffic_class

Spirent Extension (for Spirent HLTAPI only).

The traffic class field in the IPv6 header, which is an eight-bit field that describes the packet’s priority. This value is used at the application layer. Possible values range from 0 to 255. The default is 0.

-ipv6_outer_flow_label

Spirent Extension (for Spirent HLTAPI only).

Specifies the flow label value in the outer IPv6 header. Possible values range from 0 to 1048575. The default is 0. You must specify IPv6 in the -l3_outer_protocol argument.

-ipv6_outer_next_header

Spirent Extension (for Spirent HLTAPI only).

Specifies the next header field in the outer IPv6 header. Possible values range from 0 to 255. The default is 59. You must specify IPv6 in the -l3_outer_protocol argument.

-l2_encap

Identifies the type of Layer 2 encapsula tion. Possible values are described below:

ethernet_ii              - Ethernet II
ethernet_ii_vlan         - Ethernet II with VLAN tag(s)
ethernet_ii_unicast_mpls - Ethernet II with MPLS header
ethernet_ii_vlan_mpls    - Ethernet II with VLAN tag(s) and MPLS header
atm_vc_mux               - ATM with encapsulation type set to
                           Virtual Circuit Multiplexing (VC_MUX).
                           You can specify this option on an ATM
                           card.
ethernet_8022             - Ethernet 802.2
ethernet_8022_vlan        - Ethernet 802.2 with VLAN
                           tag(s).
ethernet_ii_pppoe         - Ethernet II with PPPoE
ethernet_ii_vlan_pppoe    - Ethernet II with a single VLAN tag
                           and PPPoE
ethernet_ii_qinq_pppoe    - Ethernet II with dual VLAN tags and
                           PPPoE
ethernet_8023_snap        - Ethernet 802.3 with 802.2 and SNAP header
ethernet_8023_snap_vlan   - Ethernet 802.3 with 802.2 and SNAP header
                           and VLAN tag(s).
ethernet_8023_raw         - Ethernet 802.3 Raw
ethernet_8023_raw_vlan    - Ethernet 802.3 Raw with VLAN tag(s)
ethernet_8023_mac_control - Ethernet 802.3 MAC Control

The default value is ethernet_ii.

Note

  1. ethernet_ii_vlan, ethernet_8022_vlan ethernet_8023_snap_vlan, ethernet_8023_raw_vlan and ethernet_ii_vlan_mpls support VLAN tagging on Ethernet networks. If you use the -vlan_* arguments, a single VLAN sub-interface will be defined; If you use -vlan_* and -vlan_id_outer_* arguments, both inner and outer VLAN headers will be created.
  2. ethernet_ii_unicast_mpls and ethernet_ii_vlan_mpls support adding MPLS header in raw streams. If you use -mpls_* to define an MPLS header, you must set the L2 encapsulation type to ethernet_ii_unicast_mpls.
  3. When you set the L2 encapsulation type to atm_vc_mux, the -vci_* and -vpi_* arguments are available.
  4. LACP headers are only available when you set ethernet_ii for the L2 encapsulation type.
  5. To configure PPPoE traffic, you must set the value of -l2_encap to one of these options: ethernet_ii_pppoe, ethernet_ii_vlan_pppoe, ethernet_ii_qinq_pppoe. To establish PPPoE traffic: use -ppp_link_traffic_src_list to specify the handle from which to retrieve the source address, or use -downstream_traffic_src_list to specify the handle from which to get the destination address. Both -ppp_link_traffic_src_list and -downstream_traffic_src_list handles are returned from sth::pppox_config. Make sure the PPPoE sessions are successfully connected before establishing the traffic.
-lacp_subtype

Spirent Extension (for Spirent HLTAPI only).

Specifies the Subtype field for the LACP header

Values: 01 (LACP), 02 (Marker)

Default: 01

-lacp_version

Spirent Extension (for Spirent HLTAPI only).

Specifies the LACP Version field

Values: integer

Default: 01

-lacp_actor_info

Spirent Extension (for Spirent HLTAPI only).

Specifies the Actor Information field for the LACP header

Values:

01 Actor Information 02 Partner Information 03 Collector Information 00 Terminator

Default:01

-lacp_actor_info_len

Spirent Extension (for Spirent HLTAPI only).

Specifies the Actor Information Length field for the LACP header

Values: integer

Default: 20

-lacp_actor_sys_pri

Spirent Extension (for Spirent HLTAPI only).

Specifies the Actor System Priority field for the LACP header

Values: integer

Default: 0001

-lacp_actor_sys_id

Spirent Extension (for Spirent HLTAPI only).

Specifies the Actor System ID field for the LACP header

Values: MAC

Default: 00:00:00:00:00:01

-lacp_actor_key

Spirent Extension (for Spirent HLTAPI only).

Specifies the Actor Operational Key field for the LACP header

Values: integer

Default: 0001

-lacp_actor_port_pri

Spirent Extension (for Spirent HLTAPI only).

Specifies the Actor Port Priority field for the LACP header

Values: integer

Default: 0001

-lacp_actor_port

Spirent Extension (for Spirent HLTAPI only).

Specifies the port number assigned to the actor

Values: integer

Default: 0001

-lacp_actor_state

Spirent Extension (for Spirent HLTAPI only).

Specifies the Actor State field for the LACP header

Values: integer

Default: 00

-lacp_actor_reserved

Spirent Extension (for Spirent HLTAPI only).

Specifies the Actor Reserved bits for the LACP header

Values: Octet string

Default: 000000

-lacp_partner_info

Spirent Extension (for Spirent HLTAPI only).

Specifies Partner Information field for the LACP header

Values:

01      Actor Information
02      Partner Information
03      Collector Information
00      Terminator

Default:02

-lacp_partner_info_len

Spirent Extension (for Spirent HLTAPI only).

Specifies the Partner Information Length field for the LACP header

Values: integer

Default: 20

-lacp_partner_sys_pri

Spirent Extension (for Spirent HLTAPI only).

Specifies the Partner System Priority for the LACP header

Values: integer

Default: 0001

-lacp_partner_sys_id

Spirent Extension (for Spirent HLTAPI only).

Specifies the Partner System ID field, encoded as a MAC address

Values: MAC

Default: 00:00:00:00:00:01

-lacp_partner_key

Spirent Extension (for Spirent HLTAPI only).

Specifies the Partner Operational Key field for the LACP header

Values: integer

Default: 0001

-lacp_partner_port_pri

Spirent Extension (for Spirent HLTAPI only).

Specifies the Partner Port Priority field for the LACP header

Values: integer

Default: 0001

-lacp_partner_port

Spirent Extension (for Spirent HLTAPI only).

Specifies the port number assigned to the actor

Values: integer

Default: 0001

-lacp_partner_state

Spirent Extension (for Spirent HLTAPI only).

Specifies the Partner State field for the LACP header

Values: integer

Default: 00

-lacp_partner_reserved

Spirent Extension (for Spirent HLTAPI only).

Specifies the Partner Reserved bits for the LACP header

Values: integer

Default: 000000

-lacp_collector_info

Spirent Extension (for Spirent HLTAPI only).

Specifies the Collector Information field for the LACP header

Values:

01 Actor Information 02 Partner Information 03 Collector Information 00 Terminator

Default: 03

-lacp_collector_info_len

Spirent Extension (for Spirent HLTAPI only).

Specifies the Collector Information Length field for the LACP header

Values: integer

Default: 16

-lacp_collector_state

Spirent Extension (for Spirent HLTAPI only).

Specifies the Collector State field for the LACP header

Values: integer

Default: 00

-lacp_collector_max_delay

Spirent Extension (for Spirent HLTAPI only).

Specifies the Collector Maximum Delay field for the LACP header

Values: integer

Default: 32768

-lacp_collector_reserved

Spirent Extension (for Spirent HLTAPI only).

Specifies the Collector Reserved bits for the LACP header

Values: Octet string

Default: 24 zeroes

-lacp_terminator_info

Spirent Extension (for Spirent HLTAPI only).

Specifies the Terminator Information field for the LACP header

Values:

01 Actor Information 02 Partner Information 03 Collector Information 00 Terminator

Default: 04

-lacp_terminator_info_len

Specifies the Terminator Information Length field for the LACP header

Values: integer

Default: 20

-lacp_terminator_reserved

Spirent Extension (for Spirent HLTAPI only).

Specifies the Collector Reserved bits for the LACP header

Values: hex

Default: 100 zeroes

-eth_pause_dst_mac

Specifies the MAC address of the destination interface

Values: macaddr

Default: 01:80:C2:00:00:01

-eth_pause_len_type

Specifies the Type of the ethernet pause header

Values: octet string

Default: 8808

-eth_pause_name

Specifies the text name for the object. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-eth_pause_opcode

Specifies the Pause frame operation code (Opcode)

Values: octet string

Default: 0001

-eth_pause_params

Specifies the Pause frame params

Values: octet string

Default: 0000

-eth_pause_preamble

Specifies the preamble field of the ethernet pause header

Values: octet string

Default: 55555555555555d5

-eth_pause_reserved

Specifies the reserved field of the ethernet pause header

Values: octet string

Default: 00000000

-eth_pause_src_mac

Specifies the MAC address of the source interface

Values: MACADDR

Default: 00:00:01:00:00:03

-lldp_chassis_id_length

Specifies the chassis id length of lldp header

Values: integer

Default: 0

-lldp_chassis_id_name

Specifies the text name for the object. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_chassis_id_type

Specifies the chassis id type of lldp header

Values: integer

Default: 1

-lldp_chassis_id_custom_id

Specifies the chassis custom id of lldp header

Values: octet string

Default: 00

-lldp_chassis_id_custom_name

Specifies the text name for the object. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_chassis_id_custom_subtype

Specifies the chassis component id custom subtype of lldp header

Values: octet string

Default: 00

-lldp_chassis_id_chassis_component_id

Specifies the chassis component id of lldp header

Values: ASCII

Default: SPIRENT

-lldp_chassis_id_chassis_component_name

Specifies the text name for the object. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_chassis_id_chassis_component_subtype

Specifies the chassis component id subtype of lldp header

Values: octet string

Default: 01

Possible Values:

Value Description 01 Chassis Component 02 Interface Alias 03 Port Component 04 MAC Address 05 Network Address 06 Interface Name 07 Locally Assigned
-lldp_chassis_id_interface_alias_id

Specifies the chassis interface alias id of lldp header

Values: ASCII

Default: SPIRENT

-lldp_chassis_id_interface_alias_name

Specifies the name for the object. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_chassis_id_interface_alias_subtype

Specifies the chassis interface alias subtype of lldp header

Values: octet string

Default: 02

-lldp_chassis_id_interface_name_id

Specifies the chassis interface alias subtype of lldp header

Values: ASCII

Default: SPIRENT

-lldp_chassis_id_interface_name_name

Specifies the text name for the object. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_chassis_id_interface_name_subtype

Specifies the chassis interface name subtype of lldp header

Values: octet string

Default: 06

-lldp_chassis_id_locally_assigned_id

Specifies the chassis locally assigned id of lldp header

Values: ASCII

Default: 0

-lldp_chassis_id_locally_assigned_name

Specifies the text name for the object. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_chassis_id_locally_assigned_subtype

Specifies the chassis locally assigned id subtype of lldp header

Values: octet string

Default: 07

-lldp_chassis_id_mac_addr_id

Specifies the chassis mac address of lldp header

Values: MACADDR

Default: 00:00:00:00:00:00

-lldp_chassis_id_mac_addr_name

Specifies the text name for the object. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_chassis_id_mac_addr_subtype

Specifies the chassis mac addr subtype of lldp header

Values: octet string

Default: 04

-lldp_chassis_id_network_addr4_iana

Specifies the chassis network ipv4 address of lldp header

Values: integer

Default: 1

-lldp_chassis_id_network_addr4_id

Specifies the chassis network ipv4 address id of lldp header

Values: IPV4ADDR

Default: 192.168.1.1

-lldp_chassis_id_network_addr4_name

Specifies the text name for the object. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_chassis_id_network_addr4_subtype

Specifies the chassis network ipv4 address subtype of lldp header

Values: octet string

Default: 05

-lldp_chassis_id_network_addr6_iana

Specifies the chassis network ipv6 address of lldp header

Values: integer

Default: 2

-lldp_chassis_id_network_addr6_id

Specifies the chassis network ipv6 address id of lldp header

Values: IPV6ADDR

Default: 2000::

-lldp_chassis_id_network_addr6_name

Specifies the text name for the lldp header: networkAddress6. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_chassis_id_network_addr6_subtype

Specifies the chassis network ipv6 address subtype of lldp header

Values: octet string

Default: 04

-lldp_chassis_id_port_component_id

Specifies the chassis port component id of lldp header

Values: ASCII

Default: SPIRENT

-lldp_chassis_id_port_component_name

Specifies the text name for the lldp header: portComponent. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_chassis_id_port_component_subtype

Specifies the chassis port component subtype of lldp header

Values: octet string

Default: 03

Possible Values:

Value Description 01 Chassis Component 02 Interface Alias 03 Port Component 04 MAC Address 05 Network Address 06 Interface Name 07 Locally Assigned
-lldp_port_id_length

Values: integer

Default: 0

-lldp_port_id_name

Specifies the text name for the lldp header: PortIdTlv. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_port_id_type

Values: integer

Default: 2

-lldp_port_id_agent_circuit_id_id

Values: ASCII

Default: 0000

-lldp_port_id_agent_circuit_id_name

Specifies the text name for the lldp header: pidAgentCircuitID. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_port_id_agent_circuit_id_subtype

Values: octet string

Default: 06

Possible Values:

Value Description 01 Interface Alias 02 Port Component 03 MAC Address 04 Network Address 05 Interface Name 06 Agent Circuit ID 07 Locally Assigned
-lldp_port_id_custom_id

Values: octet string

Default: 00

-lldp_port_id_custom_name

Specifies the text name for the lldp header: pidCustom. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_port_id_custom_subtype

Values: octet string

Default: 00

-lldp_port_id_interface_alias_id

Values: ASCII

Default: SPIRENT

-lldp_port_id_interface_alias_name

Specifies the text name for the lldp header: pidInterfaceAlias. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_port_id_interface_alias_subtype

Values: octet string

Default: 01

Possible Values:

Value Description 01 Interface Alias 02 Port Component 03 MAC Address 04 Network Address 05 Interface Name 06 Agent Circuit ID 07 Locally Assigned
-lldp_port_id_interface_name_id

Values: ASCII

Default: SPIRENT

-lldp_port_id_interface_name_name

Specifies the text name for the lldp header: pidInterfaceName. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_port_id_interface_name_subtype

Values: octet string

Default: 05

Possible Values:

Value Description 01 Interface Alias 02 Port Component 03 MAC Address 04 Network Address 05 Interface Name 06 Agent Circuit ID 07 Locally Assigned
-lldp_port_id_locally_assigned_id

Values: ASCII

Default: 0

-lldp_port_id_locally_assigned_name

Specifies the text name for the lldp header: pidLocallyAssigned. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_port_id_locally_assigned_subtype

Values: octet string

Default: 07

Possible Values:

Value Description 01 Interface Alias 02 Port Component 03 MAC Address 04 Network Address 05 Interface Name 06 Agent Circuit ID 07 Locally Assigned
-lldp_port_id_mac_addr_id

Values: MACADDR

Default: 00:00:00:00:00:00

-lldp_port_id_mac_addr_name

Specifies the text name for the lldp header: pidMacAddress. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_port_id_mac_addr_subtype

Values: octet string

Default: 03

Possible Values:

Value Description 01 Interface Alias 02 Port Component 03 MAC Address 04 Network Address 05 Interface Name 06 Agent Circuit ID 07 Locally Assigned
-lldp_port_id_network_addr4_iana

Values: integer

Default: 1

-lldp_port_id_network_addr4_id

Values: IPV4ADDR

Default: 192.168.1.1

-lldp_port_id_network_addr4_name

Specifies the text name for the lldp header: networkAddress4. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_port_id_network_addr4_subtype

Values: octet string

Default: 04

Possible Values:

Value Description 01 Interface Alias 02 Port Component 03 MAC Address 04 Network Address 05 Interface Name 06 Agent Circuit ID 07 Locally Assigned
-lldp_port_id_network_addr6_iana

Values: integer

Default: 2

-lldp_port_id_network_addr6_id

Values: IPV6ADDR

Default: 2000::

-lldp_port_id_network_addr6_name

Specifies the text name for the lldp header: pidNetworkAddress6. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_port_id_network_addr6_subtype

Values: octet string

Default: 04

Possible Values:

Value Description 01 Interface Alias 02 Port Component 03 MAC Address 04 Network Address 05 Interface Name 06 Agent Circuit ID 07 Locally Assigned
-lldp_port_id_port_component_id

Values: ASCII

Default: SPIRENT

-lldp_port_id_port_component_name

Specifies the text name for the lldp header: pidPortComponent. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_port_id_port_component_subtype

Values: octet string

Default: 02

Possible Values:

Value Description 01 Interface Alias 02 Port Component 03 MAC Address 04 Network Address 05 Interface Name 06 Agent Circuit ID 07 Locally Assigned
-lldp_ttl_length

Values: integer

Default: 2

-lldp_ttl_name

Specifies the text name for the lldp header: TimeToLiveTlv. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_ttl_type

Values: integer

Default: 3

-lldp_ttl_ttl

Values: integer

Default: 0

-lldp_end_length

Values: integer

Default: 0

-lldp_end_name

Specifies the text name for the lldp header: EndTlv. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_end_type

Values: integer

Default: 0

-lldp_sys_name_len

Values: integer

Default: 0

-lldp_sys_name_name

Values: ASCII

Default: Spirent Test Center

-lldp_sys_name_type

Values: integer

Default: 5

-lldp_sys_decr_len

Values: integer

Default: 0

-lldp_sys_desc_desc

Values: ASCII

Default: Spirent Test Center

-lldp_sys_desc_type

Values: integer

Default: 6

-lldp_port_desc_len

Values: integer

Default: 0

-lldp_port_desc_desc

Values: ASCII

Default: Spirent Port

-lldp_port_desc_type

Values: integer

Default: 4

-lldp_cust_len

Values: integer

Default: 0

-lldp_cust_value

Values: octet string

Default: “” (empty string)

-lldp_cust_type

Values: integer

Default: 9

-lldp_max_frame_maxframesize

Values: integer

Default: 1518

-lldp_max_frame_len

Values: integer

Default: 0

-lldp_max_frame_oui

Values: octet string

Default: 00120F

-lldp_max_frame_subtype

Values: octet string

Default: 04

-lldp_max_frame_type

Values: integer

Default: 127

-lldp_port_vlan_id_len

Values: integer

Default: 0

-lldp_port_vlan_id_oui

Values: octet string

Default: 0080C2

-lldp_port_vlan_id_portvlanid

Values: octet string

Default: 0001

-lldp_port_vlan_id_subtype

Values: octet string

Default: 01

-lldp_port_vlan_id_type

Values: integer

Default: 127

-lldp_vlan_name_len

Values: integer

Default: 0

-lldp_vlan_name_oui

Values: octet string

Default: 0080C2

-lldp_vlan_name_subtype

Values: octet string

Default: 03

-lldp_vlan_name_type

Values: integer

Default: 127

-lldp_vlan_name_vlan_id

Values: integer

Default: 1

-lldp_vlan_name_vlanname

Values: ASCII

Default: Vlan1

-lldp_vlan_name_vlannamelen

Values: integer

Default: 0

-lldp_protocol_id_len

Values: integer

Default: 0

-lldp_protocol_id_oui

Values: octet string

Default: 0080C2

-lldp_protocol_id_protocolid

Values: octet string

Default: 0000

-lldp_protocol_id_protocolidlen

Values: integer

Default: 0

-lldp_protocol_id_subtype

Values: octet string

Default: 04

-lldp_protocol_id_type

Values: integer

Default: 127

-lldp_org_spec_len

Values: integer

Default: 0

-lldp_org_spec_oui

Values: octet string

Default: 000000

-lldp_org_spec_subtype

Values: octet string

Default: 00

-lldp_org_spec_type

Values: integer

Default: 127

-lldp_org_spec_value

Values: octet string

Default: 00

-lldp_dcbx_tlvt1_len

Values: integer

Default: 0

-lldp_dcbx_tlvt1_oui

Values: octet string

Default: 001B21

-lldp_dcbx_tlvt1_subtype

Values: octet string

Default: 01

-lldp_dcbx_tlvt1_type

Values: integer

Default: 127

-lldp_dcbx_tlvt2_len

Values: integer

Default: 0

-lldp_dcbx_tlvt2_oui

Values: octet string

Default: 001B21

-lldp_dcbx_tlvt2_subtype

Values: octet string

Default: 02

-lldp_dcbx_tlvt2_type

Values: integer

Default: 127

-lldp_pri_based_flow_control_len

Values: integer

Default: 6

-lldp_pri_based_flow_control_mbc

Values: bitstring

Default: 1

-lldp_pri_based_flow_control_oui

Values: octet string

Default: 0080C2

-lldp_pri_based_flow_control_pfc_cap

Values: integer

Default: 0

-lldp_pri_based_flow_control_pfc_enable

Values: bitstring

Default: 00000000

-lldp_pri_based_flow_control_reserved

Values: bitstring

Default: 00

-lldp_pri_based_flow_control_subtype

Values: octet string

Default: 0B

-lldp_pri_based_flow_control_type

Values: integer

Default: 127

-lldp_pri_based_flow_control_willing

Values: bitstring

Default: 1

-lldp_app_pri_len

Values: integer

Default: 0

-lldp_app_pri_oui

Values: octet string

Default: 0080C2

-lldp_app_pri_reserved

Values: bitstring

Default: 00000000

-lldp_app_pri_subtype

Values: octet string

Default: 0C

-lldp_app_pri_type

Values: integer

Default: 127

-lldp_app_pri_app_pri_name

Specifies the text name for the lldp header: AppPriority. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_app_pri_app_pri_priority

Values: integer

Default: 3

-lldp_app_pri_app_pri_protocolid

Values: octet string

Default: 8906

-lldp_app_pri_app_pri_reserved

Values: bitstring

Default: 00

-lldp_app_pri_app_pri_sel

Values: integer

Default: 0

-lldp_niv_support_len

Values: integer

Default: 4

-lldp_niv_support_oui

Values: octet string

Default: 000142

-lldp_niv_support_subtype

Values: octet string

Default: 04

-lldp_niv_support_type

Values: integer

Default: 127

-lldp_sys_cap_len

Values: integer

Default: 4

-lldp_sys_cap_type

Values: integer

Default: 7

-lldp_enabled_cap_bridge

Values: bitstring

Default: 0

-lldp_enabled_cap_docs_is_cable_dev

Values: bitstring

Default: 0

-lldp_enabled_cap_name

Specifies the text name for the lldp header: enabledCapabilities. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_enabled_cap_other

Values: bitstring

Default: 0

-lldp_enabled_cap_repeater

Values: bitstring

Default: 0

-lldp_enabled_cap_reserved

Values: octet string

Default: 00

-lldp_enabled_cap_router

Values: bitstring

Default: 1

-lldp_enabled_cap_stationonly

Values: bitstring

Default: 0

-lldp_enabled_cap_telephone

Values: bitstring

Default: 0

-lldp_enabled_cap_wlan_access_point

Values: bitstring

Default: 0

-lldp_system_cap_bridge

Values: bitstring

Default: 0

-lldp_system_cap_docs_is_cable_dev

Values: bitstring

Default: 0

-lldp_system_cap_name

Specifies the text name for name for the lldp header: systemCapabilities. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_system_cap_other

Values: bitstring

Default: 0

-lldp_system_cap_repeater

Values: bitstring

Default: 0

-lldp_system_cap_reserved

Values: octet string

Default: 00

-lldp_system_cap_router

Values: bitstring

Default: 1

-lldp_system_cap_stationonly

Values: bitstring

Default: 0

-lldp_system_cap_telephone

Values: bitstring

Default: 0

-lldp_system_cap_wlan_access_point

Values: bitstring

Default: 0

-lldp_mgn_addr_if_num

Values: integer

Default: 0

-lldp_mgn_addr_if_num_sub_type

Values: octet string

Default: 01

Possible Values:

Value  Description
01             Unknown
02             IfIndex
03             SystemPortNumber
-lldp_mgn_addr_len

Values: integer

Default: 0

-lldp_mgn_addr_mgn_addr_len

Values: integer

Default: 0

-lldp_mgn_addr_oid

Values: octet string

Default: “” (empty string)

-lldp_mgn_addr_oid_len

Values: integer

Default: 0

-lldp_mgn_addr_type

Values: integer

Default: 8

-lldp_mgn_addr_cust_addr_sub_type

Values: octet string

Default: 00

Possible Values:

Value Description 00 Other 01 IPv4 02 IPv6 03 nsap 04 hdlc 05 bbn1822 06 All 802 07 e163 08 e164 09 f69 0A x121 0B IPX 0C Apple Talk 0D DEC Net IV 0E Banyan Vines 0F E164 with NSAP 10 DNS 11 Distinguished Name 12 AS Number 13 XTP over IPv4 14 XTP over IPv6 15 XTP native mode XTP 16 Fibre Channel WWPN 17 Fibre Channel WWNN 18 Gateway Identifier 19 AFI
-lldp_mgn_addr_cust_addr_mgn_addr

Values: octet string

Default: “” (empty string)

-lldp_mgn_addr_ipv4_addr_sub_type

Values: octet string

Default: 00

Possible Values:

Value Description 00 Other 01 IPv4 02 IPv6 03 nsap 04 hdlc 05 bbn1822 06 All 802 07 e163 08 e164 09 f69 0A x121 0B IPX 0C Apple Talk 0D DEC Net IV 0E Banyan Vines 0F E164 with NSAP 10 DNS 11 Distinguished Name 12 AS Number 13 XTP over IPv4 14 XTP over IPv6 15 XTP native mode XTP 16 Fibre Channel WWPN 17 Fibre Channel WWNN 18 Gateway Identifier 19 AFI
-lldp_mgn_addr_ipv4_addr_mgn_addr
Values: IPV4ADDR

Default: “” (empty string)

-lldp_mgn_addr_ipv6_addr_sub_type

Values: octet string

Default: 02 Possible Values:

Value   Description
00          Other
01          IPv4
02          IPv6
03          nsap
04          hdlc
05          bbn1822
06          All 802
07          e163
08          e164
09          f69
0A          x121
0B          IPX
0C          Apple Talk
0D          DEC Net IV
0E          Banyan Vines
0F          E164 with NSAP
10          DNS
11          Distinguished Name
12          AS Number
13          XTP over IPv4
14          XTP over IPv6
15          XTP native mode XTP
16          Fibre Channel WWPN
17          Fibre Channel WWNN
18          Gateway Identifier
19          AFI
-lldp_mgn_addr_ipv6_addr_mgn_addr
Values: IPV6ADDR

Default: “” (empty string)

-lldp_mac_phy_config_status_len

Values: integer

Default: 0

-lldp_mac_phy_config_status_op_mau_type

Values: octet string

Default: 0000

Possible Values:

Value Description 0000 Other 0001 AUI 0002 10Base5 0003 FOIRL 0004 10Base2 0005 10BaseT 0006 10BaseFP 0007 10BaseFB 0008 10BaseFL 0009 10Broad36 000A 10BaseTHD 000B 10BaseTFD 000C 10BaseFLHD 000D 10BaseFLFD 000E 10BaseT4 000F 100BaseTXHD 0010 100BaseTXFD 0011 100BaseFXFD 0012 100BaseFXFD 0013 100BaseT2HD 0014 100BaseT2FD 0015 1000BaseTXHD 0016 1000BaseTXFD 0017 1000BaseLXHD 0018 1000BaseLXFD 0019 1000BaseSXHD 001A 1000BaseSXFD 001B 1000BaseCXHD 001C 1000BaseCXFD 001D 1000BaseTHD 001E 1000BaseTFD 001F 10GigBaseX 0020 10GigBaseLX4 0021 10GigBaseR 0022 10GigBaseER 0023 10GigBaseLR 0024 10GigBaseSR 0025 10GigBaseW 0026 10GigBaseEW 0027 10GigBaseLW 0028 10GigBaseSW
-lldp_mac_phy_config_status_oui

Values: octet string

Default: 00120F

-lldp_mac_phy_config_status_subtype

Values: octet string

Default: 01

-lldp_mac_phy_config_status_type

Values: integer

Default: 127

-lldp_auto_neg_adv_cap_b1000baset

Values: bitstring

Default: 0

-lldp_auto_neg_adv_cap_b1000basetfd

Values: bitstring

Default: 0

-lldp_auto_neg_adv_cap_b1000basex

Values: bitstring

Default: 0

-lldp_auto_neg_adv_cap_b1000basexfd

Values: bitstring

Default: 0

-lldp_auto_neg_adv_cap_b100baset2

Values: bitstring

Default: 0

-lldp_auto_neg_adv_cap_b100baset2fd

Values: bitstring

Default: 0

-lldp_auto_neg_adv_cap_b100baset4

Values: bitstring

Default: 0

-lldp_auto_neg_adv_cap_b100basetx

Values: bitstring

Default: 1

-lldp_auto_neg_adv_cap_b100basetxfd

Values: bitstring

Default: 0

-lldp_auto_neg_adv_cap_b10baset

Values: bitstring

Default: 0

-lldp_auto_neg_adv_cap_b10basetfd

Values: bitstring

Default: 0

-lldp_auto_neg_adv_cap_bfdxa_pause

Values: bitstring

Default: 0

-lldp_auto_neg_adv_cap_bfdxb_pause

Values: bitstring

Default: 0

-lldp_auto_neg_adv_cap_bfdx_pause

Values: bitstring

Default: 0

-lldp_auto_neg_adv_cap_other

Values: bitstring

Default: 0

-lldp_auto_neg_adv_cap_name

Specifies the text name for the lldp header: autoNegotiationAdvertisedCapability. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_auto_neg_sup_and_stat_auto_neg_enabled

Values: bitstring

Default: 0

-lldp_auto_neg_sup_and_stat_auto_neg_supported

Values: bitstring

Default: 0

-lldp_auto_neg_sup_and_stat_name

Specifies the text name for the lldp header: autoNegotiationSupportAndStatus. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_auto_neg_sup_and_stat_reserved

Values: bitstring

Default: 000000

-lldp_pow_via_mdi_len

Values: integer

Default: 0

-lldp_pow_via_mdi_oui

Values: octet string

Default: 00120F

-lldp_pow_via_mdi_name

Specifies the text name for the lldp header: PowerViaMdiTlv. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_pow_via_mdi_pse_pow_class

Values: octet string

Default: 1

Possible Values:

Value Description 01 Class 1 02 Class 2 03 Class 3 04 Class 4 05 Class 5
-lldp_pow_via_mdi_pse_pow_pairs

Values: octet string

Default: 1

Possible Values:

Value Description 01 Signal 02 Spare
-lldp_pow_via_mdi_subtype

Values: octet string

Default: 02

-lldp_pow_via_mdi_type

Values: integer

Default: 127

-lldp_mdi_pow_sup_name

Specifies the text name for the lldp header: mdiPowerSupport. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_mdi_pow_sup_port_class

Values: bitstring

Default: 0

-lldp_mdi_pow_sup_pse_mdi_pow_state

Values: bitstring

Default: 0

-lldp_mdi_pow_sup_pse_mdi_pow_support

Values: bitstring

Default: 0

-lldp_mdi_pow_sup_pse_pairs_ctl_ability

Values: bitstring

Default: 0

-lldp_mdi_pow_sup_reserved

Values: bitstring

Default: 0000

Values: integer

Default: 0

Values: octet string

Default: 00120F

Specifies the text name for the lldp header: LinkAggregationTlv. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

Values: octet string

Default: 03

Values: integer

Default: 127

Values: octet string

Default: 0000000E

-lldp_agg_stat_agg_cap

Values: bitstring

Default: 1

-lldp_agg_stat_agg_status

Values: bitstring

Default: 1

-lldp_agg_stat_name

Specifies the text name for the lldp header: aggregationStatus under LinkAggregationTlv. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_agg_stat_reserved

Values: bitstring

Default: 000000

-lldp_port_and_pro_vlanid_len

Values: integer

Default: 0

-lldp_port_and_pro_vlanid_oui

Values: octet string

Default: 0080C2

-lldp_port_and_pro_vlanid_name

Specifies the text name for the lldp header: PortAndProtocolVlanIdTlv. This attribute is required when you use stream block odifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_port_and_pro_vlanid_subtype

Values: octet string

Default: 02

-lldp_port_and_pro_vlanid_type

Values: integer

Default: 127

-lldp_port_and_pro_vlanid_vlanid

Values: octet string

Default: 0000

-lldp_flags_name

Specifies the text name for the lldp header: flags under PortAndProtocolVlanIdTlv. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_flags_port_and_pro_vlan_enabled

Values: bitstring

Default: 1

-lldp_flags_port_and_pro_vlan_support

Values: bitstring

Default: 1

-lldp_flags_reserved

Values: bitstring

Default: 0

-lldp_ets_conf_cbs

Values: bitstring

Default: 1

-lldp_ets_conf_len

Values: integer

Default: 25

-lldp_ets_conf_max_tcs

Values: integer

Default: 0

-lldp_ets_conf_name

Specifies the text name for the lldp header: ETSConfigurationTlv. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_ets_conf_oui

Values: octet string

Default: 0080C2

-lldp_ets_conf_reserved

Values: bitstring

Default: 000

-lldp_ets_conf_subtype

Values: octet string

Default: 09

-lldp_ets_conf_type

Values: integer

Default: 127

-lldp_ets_conf_willing

Values: bitstring

Default: 1

-lldp_ets_conf_pri_assign_name

Specifies the text name for the lldp header: priorityAssignment under ETSConfigurationTlv. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_ets_conf_pri_assign_pri_0

Values: integer

Default: 0

-lldp_ets_conf_pri_assign_pri_1

Values: integer

Default: 0

-lldp_ets_conf_pri_assign_pri_2

Values: integer

Default: 0

-lldp_ets_conf_pri_assign_pri_3

Values: integer

Default: 0

-lldp_ets_conf_pri_assign_pri_4

Values: integer

Default: 0

-lldp_ets_conf_pri_assign_pri_5

Values: integer

Default: 0

-lldp_ets_conf_pri_assign_pri_6

Values: integer

Default: 0

-lldp_ets_conf_pri_assign_pri_7

Values: integer

Default: 0

-lldp_ets_conf_tc_bw_name

Specifies the text name for the lldp header: tcBandwidth. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_ets_conf_tc_bw_tc_percent_0

Values: integer

Default: 0

-lldp_ets_conf_tc_bw_tc_percent_1

Values: integer

Default: 0

-lldp_ets_conf_tc_bw_tc_percent_2

Values: integer

Default: 0

-lldp_ets_conf_tc_bw_tc_percent_3

Values: integer

Default: 0

-lldp_ets_conf_tc_bw_tc_percent_4

Values: integer

Default: 0

-lldp_ets_conf_tc_bw_tc_percent_5

Values: integer

Default: 0

-lldp_ets_conf_tc_bw_tc_percent_6

Values: integer

Default: 0

-lldp_ets_conf_tc_bw_tc_percent_7

Values: integer

Default: 0

-lldp_ets_conf_tsa_assign_name

Specifies the text name for the lldp header: tsaAssign. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_ets_conf_tsa_assign_traffic_class_0

Values: integer

Default: 0

-lldp_ets_conf_tsa_assign_traffic_class_1

Values: integer

Default: 0

-lldp_ets_conf_tsa_assign_traffic_class_2

Values: integer

Default: 0

-lldp_ets_conf_tsa_assign_traffic_class_3

Values: integer

Default: 0

-lldp_ets_conf_tsa_assign_traffic_class_4

Values: integer

Default: 0

-lldp_ets_conf_tsa_assign_traffic_class_5

Values: integer

Default: 0

-lldp_ets_conf_tsa_assign_traffic_class_6

Values: integer

Default: 0

-lldp_ets_conf_tsa_assign_traffic_class_7

Values: integer

Default: 0

-lldp_ets_recommend_len

Values: integer

Default: 25

-lldp_ets_recommend_name

Specifies the text name for the lldp header: ETSRecommendationTlv. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_ets_recommend_oui

Values: octet string

Default: 0080C2

-lldp_ets_recommend_reserved

Values: bitstring

Default: 00000000

-lldp_ets_recommend_subtype

Values: octet string

Default: 0A

-lldp_ets_recommend_type

Values: integer

Default: 127

-lldp_ets_recommend_pri_assign_name

Specifies the text name for the lldp header: priorityAssignment. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_ets_recommend_pri_assign_pri_0

Values: integer

Default: 0

-lldp_ets_recommend_pri_assign_pri_1

Values: integer

Default: 0

-lldp_ets_recommend_pri_assign_pri_2

Values: integer

Default: 0

-lldp_ets_recommend_pri_assign_pri_3

Values: integer

Default: 0

-lldp_ets_recommend_pri_assign_pri_4

Values: integer

Default: 0

-lldp_ets_recommend_pri_assign_pri_5

Values: integer

Default: 0

-lldp_ets_recommend_pri_assign_pri_6

Values: integer

Default: 0

-lldp_ets_recommend_pri_assign_pri_7

Values: integer

Default: 0

-lldp_ets_recommend_tc_bw_name

Specifies the text name for the lldp header: tcBandwidth under ETSRecommendationTlv. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_ets_recommend_tc_bw_tc_percent_0

Values: integer

Default: 0

-lldp_ets_recommend_tc_bw_tc_percent_1

Values: integer

Default: 0

-lldp_ets_recommend_tc_bw_tc_percent_2

Values: integer

Default: 0

-lldp_ets_recommend_tc_bw_tc_percent_3

Values: integer

Default: 0

-lldp_ets_recommend_tc_bw_tc_percent_4

Values: integer

Default: 0

-lldp_ets_recommend_tc_bw_tc_percent_5

Values: integer

Default: 0

-lldp_ets_recommend_tc_bw_tc_percent_6

Values: integer

Default: 0

-lldp_ets_recommend_tc_bw_tc_percent_7

Values: integer

Default: 0

-lldp_ets_recommend_tsa_assign_name

Specifies the text name for the lldp header: tsaAssign under ETSRecommendationTlv. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_ets_recommend_tsa_assign_traffic_class_0

Values: integer

Default: 0

-lldp_ets_recommend_tsa_assign_traffic_class_1

Values: integer

Default: 0

-lldp_ets_recommend_tsa_assign_traffic_class_2

Values: integer

Default: 0

-lldp_ets_recommend_tsa_assign_traffic_class_3

Values: integer

Default: 0

-lldp_ets_recommend_tsa_assign_traffic_class_4

Values: integer

Default: 0

-lldp_ets_recommend_tsa_assign_traffic_class_5

Values: integer

Default: 0

-lldp_ets_recommend_tsa_assign_traffic_class_6

Values: integer

Default: 0

-lldp_ets_recommend_tsa_assign_traffic_class_7

Values: integer

Default: 0

-lldp_congest_notify_cnpv_cap

Values: bitstring

Default: 00000000

-lldp_congest_notify_cnpv_ready

Values: bitstring

Default: 00000000

-lldp_congest_notify_len

Values: integer

Default: 6

-lldp_congest_notify_name

Specifies the text name for the lldp header: CongestionNotificationTlv. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_congest_notify_oui

Values: octet string

Default: 0080C2

-lldp_congest_notify_subtype

Values: octet string

Default: 8

-lldp_congest_notify_type

Values: integer

Default: 127

-lldp_evb_mode

Values: EvbModes

Default: 2

Possible Values:

Value Description 0 Not Supported 1 EVB Bridge 2 EVB Station
-lldp_evb_len

Values: integer

Default: 0

-lldp_evb_name

Specifies the text name for the lldp header: EvbTlv. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_evb_oui

Values: octet string

Default: 0080C2

-lldp_evb_r

Values: integer

Default: 3

-lldp_evb_reserved

Values: bitstring

Default: 0

-lldp_evb_rka

Values: integer

Default: 20

-lldp_evb_rol_rka

Values: Boolean

Default: 0

Possible Values:

Value Description 0 False 1 True
-lldp_evb_rol_rwd

Values: Boolean

Default: 0

Possible Values:

Value Description 0 False 1 True
-lldp_evb_rte

Values: integer

Default: 20

-lldp_evb_rwd

Values: integer

Default: 20

-lldp_evb_subtype

Values: octet string

Default: 0D

-lldp_evb_type

Values: integer

Default: 127

-lldp_evb_bg_stat_bgid

Values: bitstring

Default: 0

-lldp_evb_bg_stat_name

Specifies the text name for the lldp header: bridgeStatus. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_evb_bg_stat_reserved

Values: bitstring

Default: 0

-lldp_evb_bg_stat_rrcap

Values: bitstring

Default: 0

-lldp_evb_bg_stat_rrctr

Values: bitstring

Default: 0

-lldp_evb_station_stat_name

Specifies the text name for the lldp header: stationStatus. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_evb_station_stat_reserved

Values: bitstring

Default: 0

-lldp_evb_station_stat_rrreq

Values: bitstring

Default: 1

-lldp_evb_station_stat_rrstat

Values: bitstring

Default: 01

-lldp_evb_station_stat_sgid

Values: bitstring

Default: 1

-lldp_cdcp_chn_cap

Values: integer

Default: 1

-lldp_cdcp_len

Values: integer

Default: 0

-lldp_cdcp_name

Specifies the text name for the lldp header: CdcpTlv. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_cdcp_oui

Values: octet string

Default: 0080C2

-lldp_cdcp_reserved_1

Values: bitstring

Default: 000

-lldp_cdcp_reserved_2

Values: bitstring

Default: 000000000000000

-lldp_cdcp_role

Values: integer

Default: 1

Possible Values:

Value Description 0 Bridge 1 Station
-lldp_cdcp_scomp

Values: bitstring

Default: 1

-lldp_cdcp_subtype

Values: octet string

Default: 0E

-lldp_cdcp_type

Values: integer

Default: 127

-lldp_cdcp_scid_vsids_name

Specifies the text name for the lldp header: scidsvids. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_cdcp_scid_svid_name

Specifies the text name for the lldp header: ScidSvid. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_cdcp_scid_svid_scid

Values: integer

Default: 1

-lldp_cdcp_scid_svid_svid

Values: integer

Default: 1

-lldp_aec_add_frag_size

Values: integer

Default: 0

-lldp_aec_len

Values: integer

Default: 6

-lldp_aec_name

Specifies the text name for the lldp header: AECTlv. This attribute is required when you use stream block modifiers such as RangeModifier, RandomModifier, and TableModifier.

Values: string

-lldp_aec_oui

Values: octet string

Default: 00120F

-lldp_aec_preempt_cap_active

Values: integer

Default: 0

-lldp_aec_preempt_cap_status

Values: integer

Default: 0

-lldp_aec_preempt_cap_support

Values: integer

Default: 0

-lldp_aec_reserved

Values:: integer

Default: 0

-lldp_aec_subtype

Values: octet string

Default: 07

-lldp_aec_type

Values: integer

Default: 127

-lsp_ping_version

Values: integer

Default: 1

-lsp_ping_msg_type

Values: integer

Default: 1

Possible Values:

Value      Description
1      MPLS Echo Request
2      MPLS Echo Reply
-lsp_ping_reply_mode

Values: integer

Default: 2

Possible Values:

Value      Description
1      Do not reply
2      Reply via an IPv4/IPv6 UDP Packet
3      Reply via an IPv4/IPv6 UDP Packet with Router Alert
4      Reply via application level control channel
-lsp_ping_rsrvd

Values: bitstring

Default: 000000000000000

-lsp_ping_rtn_code

Values: integer

Default: 0

-lsp_ping_rtn_subcode

Values: integer

Default: 0

-lsp_ping_seq_num

Values: integer

Default: 1

-lsp_ping_sndr_hdl

Values: integer

Default: 1

-lsp_ping_timestamp_recvd

Values: octet string

Default: 0000000000000000

-lsp_ping_timestamp_sent

Values: octet string

Default: 0000000000000000

-lsp_ping_validate_fec_bit

Values: bitstring

Default: 0

-lsp_pad_tlv_length

Values: integer

Default: 4

-lsp_pad_tlv_option

Values: integer

Default: 1

Possible Values:

Value      Description
1      Drop Pad TLV from reply
2      Copy Pad TLV to reply
-lsp_pad_tlv_pad_val

Values: integer

Default: 000000

-lsp_pad_tlv_type

Values: integer

Default: 3

-l3_length

Sets the stream L3 frame size in bytes. To set the frame size, the -length_mode argument must be set to fixed. Possible values range from 44 to 16365. The default is 110. The length of L2 frame is determined by the values of -l2_encap and -l3_length. The valid range for L2 frame length is 62-16383 bytes. The default fixed L2 frame length is 128.

The L2 frame is comprised of these segments if -l2_encap is set to ethernet_ii or ethernet_ii_vlan:

Ethernet II
802.1Q tag (optional)
IPv4/IPv6 packet

The L2 frame is comprised of these segments if -l2_encap is set to ethernet_ii_pppoe, ethernet_ii_vlan_pppoe or ethernet_ii_qinq_pppoe:

Ethernet II
   802.1Q tag (optional)
   PPPoE
   PPP packet
   IPv4/IPv6 packet
-l3_length_max

Sets the maximum L3 frame length in bytes. Use this argument when -length_mode is set to random, increment or decrement. Possible values range from 44 to 16365. The default is 238. The maximum length of L2 frame is determined by the value of -l2_encap and -l3_length_max. The valid range for L2 frame length is 62-16383 bytes. The default maximum L2 frame length is 256.

-l3_length_min

Sets the minimum L3 frame length in bytes. Use this argument when -length_mode is set to random, increment or decrement. Possible values range from 44 to 16365. The default is 110. The minimum length of L2 frame is determined by the value of is 128. -l2_encap and -l3_length_min. The valid range for L2 frame length is 62-16383 bytes. The default minimum L2 length length is 128.

-l3_length_step

Spirent Extension (for Spirent HLTAPI only).

Defines the step by which the L3 frame length increments or decrements when -length_mode is set to increment or decrement.

-l3_imix1_ratio

Specifies the ratio of the first packet size. You can use this argument if -length_mode is imix.

-l3_imix1_size

Specifies the first packet length in bytes. You can use this argument if -length_mode is set to imix.

-l3_imix2_ratio

Specifies the ratio of the second packet length. You can use this argument if -length_mode is set to imix.

-l3_imix2_size

Specifies the second packet length in bytes. You can use this argument if -length_mode is set to imix.

-l3_imix3_ratio

Specifies the ratio of the third packet length. You can use this argument if -length_mode is set to imix.

-l3_imix3_size

Specifies the third packet length in bytes. You can use this argument if -length_mode is set to imix.

-l3_imix4_ratio

Specifies the fourth packet length. You can use this argument if -length_mode is set to imix.

-l3_imix4_size

Specifies the fourth packet length in bytes. You can use this argument if -length_mode is set to imix.

-l3_protocol

Identifies the Layer 3 protocol to use when creating packets. Possible values are IPv4, IPv6, and arp. IPv4 uses 32-bit addresses, generally represented in dotted decimal notation (for example, 10.10.100.1). IPv6 use 128- bit addresses, normally written as eight groups of up to four hexadecimal digits, separated by colons (for example, 1001:0ac8:11a1:02e1:2244:3a2e:8260:6443).

If you specify “arp” as the Layer 3 protocol, you can use the following arguments to configure the traffic: -arp_src_hw_addr, -arp_src_hw_mode, -arp_src_hw_count, -arp_dst_hw_addr,-arp_dst_hw_mode, -arp_dst_hw_count, and -arp_operation. The Address Resolution Protocol (ARP) converts a 32-bit IP address into a 48-bit Ethernet address.

If you specify “arp” as the Layer 3 protocol, use “-ip_src_addr” for the source protocol address and “-ip_dst_addr” for the destination protocol address. Also, only the fixed, increment, and decrement modes are supported in these two arguments when the Layer 3 protocol is arp.

If you specify GRE as the Layer 3 protocol, you can use the following arguments to configure the traffic:

-ck_present, -routing_present, -key_present, -seq_num_present,
-reserved0, -version, -keep_alive_enable, -keep_alive_period, and
-keep_alive_retries.

Note

If you do not specify -l3_protocol, the traffic packets created will not contain any Layer 3 header. You can refer to the examples for more details.

-arp_src_hw_addr

Specifies the MAC address of the sender interface. The sender interface broadcasts an ARP packet to all hosts attached to an Ethernet. The default is 00:00:01:00:00:02. You can use this argument if the Layer 3 protocol (-l3_protocol) is arp.

-arp_src_hw_mode

Specifies the method in which the MAC address of the sender interface is assigned. Possible values are fixed, increment, and decrement. The default is fixed. The step for both increment and decrement is 00:00:00:00:00:01. You can use this argument when -l3_protocol is set to arp.

-arp_src_hw_count

The number of sender MAC addresses to generate for a stream. The default is 1. Possible values range from 1 to 2147483647. You can use this argument when the -l3_protocol is set to arp.

-arp_src_hw_step

The amount by which to increment the specified MAC address of the sender interface (-arp_src_hw_addr). The modifier step is in the format of 00:00:00:00:00:00. You can use this argument when -l3_protocol is set to arp.

-arp_dst_hw_addr

Specifies the MAC address of the target interface. The target interface is the interface with which the sender is interested in communicating. When the sender interface broadcasts a packet containing the IP address of the target interface, the target interface recognizes that the IP address in the packet matches its own and returns an answer to the sender. The default is 00:00:00:00:00:00. You can use this argument if -l3_protocol is set to arp.

-arp_dst_hw_mode

Specifies the method in which the MAC address of the target interface is assigned. Possible values are fixed, increment, and decrement. The default is fixed. The step for both increment and decrement is 00:00:00:00:00:01. You can use this argument if -l3_protocol is set to arp.

-arp_dst_hw_count

The number of target MAC addresses to generate for a stream. The default is 1. You can use this argument if -l3_protocol is set to arp. Possible values range from 1 to 2147483647.

-arp_dst_hw_step

The amount by which to increment the specified MAC address of the target interface (-arp_dst_hw_addr). The modifier step is in the format of 00:00:00:00:00:00. You can use this argument when -l3_protocol is set to arp.

-arp_operation

Defines the operation to be performed by the ARP packet. Possible values are arpRequest, arpReply, rarpRequest, and rarpReply. The default is arpRequest. You can use this argument if -l3_protocol is set to arp. The values are described below:

arpRequest - The ARP packet is sent as an ARP
             Request by the sender interface to the target
             interface.

arpReply - The ARP packet is sent as an ARP Reply
            by the target interface to the sender
            interface.

rarpRequest - The ARP packet is sent as a Reverse
            Address Resolution Protocol (RARP) Request
            by the sender interface to the target
            interface.

            RARP is a Link layer networking protocol
            used by a host computer to obtain its IPv4
            address given only its link-layer address
            (such as an Ethernet address).

rarpReply - The ARP packet is sent as a RARP
            Reply by the target to the sender interface.

Note

Use “-ip_src_addr” for the source protocol address and “ip_dst_addr” for the destination protocol address. Only fixed, increment, and decrement modes are supported in these two arguments when the Layer 3 protocol is arp.

-protocol_addr_len

Specifies the length of the IP address. The sender interface broadcasts an ARP packet to all hosts attached to an Ethernet. The default is 4. You can use this argument if the Layer 3 protocol (-l3_protocol) is arp.

-hardware_addr_len

Specifies the length of the hardware address. The sender interface broadcasts an ARP packet to all hosts attached to an Ethernet. The default is 6. You can use this argument if the Layer 3 protocol (-l3_protocol) is arp.

-ipv6_frag_id

Indicates the identification field in the fragment extension header of an IPv6 stream. You can refer to RFC 2460 for more information. Possible values range from 0 to 4294967295. The default value is 0.

-ipv6_frag_more_flag

M Flag in the fragment extension header. Possible values are 0 and 1. The M flag value set to 0 indicates the fragment is the last one. If not, the M flag value is 1. The default value is 0.

-ipv6_frag_offset

Indicates the Fragment Offset field in the fragment extension header of an IPv6 stream. You can refer to RFC 2460 for details. Possible values range from 0 to 65535. The default value is 0.

-ipv6_auth_seq_num

Specifies the sequence counter for the authentication header (AH). You can refer to RFC 2402 for more information. Possible values range from 0 to 4294967295. The default value is 0. You can use this argument only when authentication is indicated in the -ipv6_extension_header argument.

-ipv6_auth_spi

Indicates the Security Parameter Index (SPI) associated with the authentication header. The SPI, in combination with the destination IP address and security protocol, uniquely identifies the Security Association for this datagram. You can refer to RFC 2402 for more details. Possible values range from 0 to 4294967295. The value format must be an integer. The default value is 0. You can specify this argument only when authentication is indicated in -ipv6_extension_header.

-ipv6_auth_payload_len

Indicates the length of the authentication data. Possible values range from 0 to 4294967295. This argument is available only when authentication is indicated in -ipv6_extension_header.

Note

This argument is designed for the availability of previous scripts. In fact, the authentication length value will be automatically calculated.

-ipv6_auth_string

The value of this argument is a variable length string containing the packet Integrity Check Value (ICV). ICV is a checksum capable of detecting modification of an information system and is the result of the integrity process. The value must be a 32-bit hexadecimal value. It can be separated by “:” or “.”. The default value is 00:00:00:00.

-ipv6_routing_res

Indicates a 32-bit reserved field. This argument is available when routing is indicated in the -ipv6_extension_header argument. The value must be a 16-bit hexadecimal value. It can be separated by “:” or “.”. The default value is 0:0:0:0. You can refer to RFC 2460 for more details.

-ipv6_routing_type

Specifies the IPv6 routing type. This argument is available when routing is indicated in the -ipv6_extension_header argument. The default value is 0.

-ipv6_routing_next_header

Specifies the IPv6 routing next header. This argument is available when routing is indicated in the -ipv6_extension_header argument. The default value is 59.

-ipv6_routing_length

Specifies the IPv6 routing header length. This argument is available when routing is indicated in the -ipv6_extension_header argument. The default value is 0.

-ipv6_routing_seg_left

Specifies the IPv6 routing segment left. This argument is available when routing is indicated in the -ipv6_extension_header argument. The default value is 0.

-ipv6_routing_node_list

Specifies a list of 128-bit IPv6 addresses. The list indicates one or more intermediate nodes to be “visited” on the way to a packet’s destination. This argument is available when routing is indicated in the -ipv6_extension_header argument.

-ipv6_destination_options

Determines what will be included in the “Destination options” field. This option will present a list of keys as described below: :

type

Indicates the type of IPv6 Destination options to be added. This attribute is Mandatory . Possible values are listed below:

pad1 - Indicates the Pad1 option that is used to insert one
     octet of padding into the Options area of a header.

padn - Indicates the Padn option that is used to insert two or
       more octets of padding into the Options area of a
       header. When "-ipv6_destination_options type: padn" is
       indicated, you can specify the value and the length
       options of the -ipv6_destination_options argument.

Here is an example:

set returnedString [sth::traffic_config\
     -mode create\
     -port_handle $tgen1_port\
     -l3_protocol ipv6\
     -ipv6_extension_header "destination " \
     -ipv6_src_addr "2009::1" \
     -ipv6_dst_addr "2009::9" \
     -ipv6_destination_options  "type: padn length:5
                                 value: c:c"\

     ]
length
Specifies the length value for the IPv6 Destination options. Possible values range from 0 to 255.
value
Specifies the value for the IPv6 Destination options. The value must be a 8-bit hexadecimal value. It can be separated by “:” or “.”. The default value is 0:0.
-ipv6_hop_by_hop_options

Determines what will be included in the “Hop-by-Hop options” field. This option will present a list of keysas described below:

type

Indicates the type of IPv6 Hop-by-Hop options to be added. This attribute is Mandatory . Possible values for the type field are listed below:

pad1 - Indicates the Pad1 option that is used to insert one
       octet of padding into the Options area of a header.

padn - Specifies the PadN option that is used to insert two
       or more octets of padding into the Options area of
       a header. When you specify "-ipv6_hop_by_hop_options
       type: padn", the length and the value arguments of
       -ipv6_hop_by_hop_options are available.

jumbo - Indicates the jumbo payload option field of the
      Hop-by-Hop options. The jumbo payload option allows
      transmission of IPv6 packets with payloads between
      65536 and 4294967295 octets in length. Packets with
      such long payloads are commonly referred to as
      "jumbograms". You can refer to RFC 2675 for more
       details.

      When you specify "-ipv6_hop_by_hop_options type:
      jumbo", the length and he payload arguments of
      -ipv6_hop_by_hop_options are available.

router_alert - Indicates the router alert option within the
     IPv6 Hop-by-Hop Header. The presence of this option
     IPv6 datagram informs the router that the contents of
     in an this datagram is of interest to the router and
     to handle any control data accordingly. The absence of
     this option in an IPv6 datagram informs the router that
     the datagram does not contain information needed by the
     router and hence can be safely routed without further
     datagram parsing. You can refer to RFC 2711 for more
     details.

     When you specify "-ipv6_hop_by_hop_options type::
     router_alert", you can use the alert_type argument.

Here is an example::

    set returnedString [sth::traffic_config\
         -mode create\
         -port_handle $tgen1_port\
         -l3_protocol ipv6\
         -ipv6_extension_header "hop_by_hop" \
         -ipv6_src_addr "2009::1" \
         -ipv6_dst_addr "2009::9" \
         -ipv6_hop_by_hop_options "type: router_alert
              length:55 alert_type: active_net" \
     ]

custom - Indicates the custom option within the
     IPv6 Hop-by-Hop Header.

     When you specify -ipv6_hop_by_hop_options type: custom,
     you can use the custom_type and data arguments.
     Here data must be a 8-bit hexadecimal value and custom_type
     should be an integer.

Here is an example::

    set returnedString [sth::traffic_config\
         -mode create\
         -port_handle $tgen1_port\
         -l3_protocol ipv6\
         -ipv6_extension_header "hop_by_hop" \
         -ipv6_src_addr "2009::1" \
         -ipv6_dst_addr "2009::9" \
         -ipv6_hop_by_hop_options "type: custom
              data: 70 custom_type: 15" \
     ]
length
Specifies the length value for the IPv6 Hop-by-Hop option. Possible values range from 0 to 255.
value
Specifies the value for the IPv6 Hop-by-Hop options. The value must be a 8-bit hexadecimal value. It can be separated by “:” or “.”. The default value is 0:0.
payload
Specifies the payload for the IPv6 Hop-by-Hop option. Possible values range from 0 to 65535.
alert_type
Specifies the type of router alert to be included in the packet. Possible values are mld, rsvp, and active_net.
-ipv6_extension_header

Indicates the type of the next extension header. Possible values are listed below. You can specify one or more choices in the list below: :

none
There is no next header.
hop_by_hop
Next header has Hop-by-Hop Options. The Hop-by-Hop Options header is used to carry optional information that must be examined by every node along a packet’s delivery path.
routing
Next header has routing options. The Routing header is used by an IPv6 source to list one or more intermediate nodes to be “visited” on the way to a packet’s destination.
destination
Next header has destination options. The Destination Options header is used to carry optional information that needs be examined only by a packet’s destination node(s).
authentication
Next header has a Internet Protocol Security (IPSEC) AH.
fragment

Payload is a fragment. The Fragment header is used by an IPv6 source to send a packet whose size is larger than that would fit in the path Maximum Transmission Unit (MTU) to its destination.

Whether fragment is indicated in -ipv6_extension_header or not, the arguments listed below are available:

-ipv6_frag_id -ipv6_frag_more_flag -ipv6_frag_offset
srheader
Segment Routing can be applied to the IPv6 data plane with the addition of a new type of Routing Extension Header.

Note

Only when hop_by_hop, routing, destination or authentication is indicated in this argument, the relative arguments can be defined. This is an example for this argument:

set returnedString [sth::traffic_config\
  -mode create\
  -port_handle $tgen1_port\
  -l3_protocol ipv6\
  -ipv6_extension_header "hop_by_hop routing
       destination authentication" \
  -ipv6_src_addr "2009::1" \
  -ipv6_dst_addr "2009::9" \
  -ipv6_frag_id  12\
  -ipv6_frag_more_flag 1\
  -ipv6_frag_offset 20\
  -ipv6_hop_by_hop_options "type: router_alert
       length:55 alert_type: active_net" \
  -ipv6_routing_node_list "2002::2 2003::3"\
  -ipv6_routing_res "a:b:a:b" \
  -ipv6_destination_options "type: padn
       length:5 value:c:c:a"\
  -ipv6_auth_string aa:bb:00:cc\
  -ipv6_auth_spi 77\
  -ipv6_auth_seq_num 99\
  -ipv6_auth_payload_len 4 \
 ]
-ipv6_encap_auth_data

The value of this argument is a variable length field containing the packet Integrity Check Value (ICV). ICV is a checksum capable of detecting modification of an information system and is the result of the integrity process. The default value is 0000. You can use this argument only when encapsulation is configured in the -ipv6_extension_header argument.

-ipv6_encap_pad_len

Specifies the size of the pad bytes. Possible values range from 0 to 255. The default value is 0. You can use this argument only when encapsulation is configured in the -ipv6_extension_header argument.

-ipv6_encap_next_header

The Next Header is an 8-bit field that indicates what type of data is in the payload data field. The default value is 59. You can use this argument only when encapsulation is configured in the -ipv6_extension_header argument.

-ipv6_encap_pad_data

This field is to ensure that the encrypted portion of the header (the payload) must end on the appropriate boundary. The default value is 00. You can use this argument only when encapsulation is configured in the -ipv6_extension_header argument.

-ipv6_encap_payload_data

Specifies the data described by the Next header field. The default value is 0000. You can use this argument only when encapsulation is configured in the -ipv6_extension_header argument.

-ipv6_encap_seq_num

Specifies the sequence counter for the encapsulation header. You can refer to RFC 2406 for more information. Possible values range from 0 to 4294967295. The default value is 0. You can use this argument only when encapsulation is configured in the -ipv6_extension_header argument.

-ipv6_encap_spi

Specifies the Security Parameter Index (SPI) associated with the encapsulation header. The SPI, in combination with the destination IP address and security protocol, uniquely identifies the Security Association for this datagram. You can refer to RFC 2406 for more details. Possible values range from 0 to 4294967295. The default value is 0. You can specify this argument only when encapsulation is configured in -ipv6_extension_header.

-srheader_count

Specifies how many SR headers needs to be created. By default creates one SR header. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_last_entry

Specifies the index, in the Segment List, of the last element of the Segment List. Possible values range from 0 to 255. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nxt_hdr

Specifies the type of header immediately following the SRH. Possible values range from 0 to 255. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_length

Specifies the length of the SRH header. Possible values range from 0 to 255. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_routing_type

Specifies the routing type of SRH header. Possible values range from 0 to 255. The default value is 4. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_seg_left

Specifies the index, in the Segment List, of the next segment to inspect. Segments Left is decremented at each segment. Possible values range from 0 to 255. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_tag

Tag a packet as part of a class or group of packets. Possible values range from 0 to 65535. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_uflag

Specifies the unused flag and for future use. It should be unset on transmission and must be ignored on receipt. The default value is 00000000. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_egress_node

Specifies the node where the packet is expected to exit the SR domain. The default value is 2000::2. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_egress_flags

Specifies the Egress Node TLV flag value. They must be set to 0 on transmission and ignored on receipt. Possible values range from 0 to 255. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_egress_length

Specifies the length of the Egress Node TLV. Possible values range from 0 to 255. The default value is 18. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_egress_reserved

Specifies the reserved bit. It should be unset on transmission and must be ignored on receipt. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_egress_type

Specifies the type of the Ingress Node TLV. Possible values range from 0 to 255. The default value is 2. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_ingress_flags

Specifies the Ingress Node TLV flag value. They must be set to 0 on transmission and ignored on receipt. Possible values range from 0 to 255. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_ingress_node

Specifies the node where the packet is expected to enter the SR domain. The default value is 2000::2. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_ingress_length

Specifies the length of the Ingress Node TLV. Possible values range from 0 to 255. The default value is 18. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_ingress_reserved

Specifies the reserved bit. It should be unset on transmission and must be ignored on receipt. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_ingress_type

Specifies the type of the Ingress Node TLV. Possible values range from 0 to 255. The default value is 1. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_hmac

Specifies the keyed HMAC, in multiples of 8 octets, at most 32 octets. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_hmac_key_id

Specifies the 4-octet opaque number that uniquely identifies the pre-shared key and algorithm used to generate the HMAC. Possible values range from 0 to 4294967295. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_hmac_length

Specifies the length of the variable-length data in bytes. Possible values range from 0 to 255. The default value is 38. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_hmac_reserved

Specifies the reserved bit. It should be unset on transmission and must be ignored on receipt. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_hmac_type

Specifies the HMAC TLV type value. Possible values range from 0 to 255. The default value is 255. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_opaquecontainer_flags

Specifies the Opaque Container TLV flags. They must be set to 0 on transmission and ignored on receipt. Possible values range from 0 to 255. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_opaquecontainer_length

Specifies the length of the opaque container TLV flags. Possible values range from 0 to 255. The default value is 18. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_opaquecontainer

Specifies the 128 bits of opaque data not relevant for the routing layer. Typically, this information is consumed by a non-routing component of the node receiving the packet. The default value is 2000::2. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_opaquecontainer_reserved

Specifies the reserved bit. It should be unset on transmission and must be ignored on receipt. Possible values range from 0 to 255. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_opaquecontainer_type

Specifies the type value of opaque container. Possible values range from 0 to 255. The default value is 3. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_pad0_type

Specifies the type value of pad0 types of Padding TLVs. Possible values range from 0 to 255. The default value is 128. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_padn_length

Specifies the length of the Padding field. Possible values range from 0 to 255. The default value is 1. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_padn_padding

Specifies the padding bits which have no semantic. They must be set to 0 on transmission and ignored on receipt. The default value is 00. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_padn_type

Specifies the type value of padn types of Padding TLVs. Possible values range from 0 to 255. The default value is 129. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_seg

Specifies the 128 bit IPv6 addresses representing the nth segment of the path. The segment list is encoded in the reverse order of the path. The last segment is in the first position of the list and the first segment is in the last position. The default value is 2000::2. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshcarrier_flags

Specifies the NSH carrier flags which have no semantic. They must be set to 0 on transmission and ignored on receipt. Possible values range from 0 to 255. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshcarrier_length

Specifies the total length of the TLV. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshcarrier_type

Specifies the type value of NSH carrier TLV. Possible values range from 0 to 255. The default value is 6. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype1_version

Specifies the version field which is used to ensure backward compatibility going forward with future NSH specification updates. Possible values range from 0 to 3. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype1_oflag

Specifies the O bit indicates an Operations, Administration, and Maintenance (OAM) packet. Possible values range from 0 and 1. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype1_u1bit

Specifies the unassigned bits. Possible values range from 0 and 1. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype1_length

Specifies the total length of NSH including the Base Header, the Service Path Header, the Fixed Length Context Header or Variable Length Context Header(s). Possible values range from 0 to 63. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype1_ttl

Specifies the maximum SFF hops for an SFP. The initial TTL value should be configurable via the control plane; the configured initial value can be specific to one or more SFPs. Possible values range from 0 to 63. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype1_u2bits

Specifies the unassigned metadata type bits. The default value is 0000. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype1_mdtype

Specifies the format of NSH beyond the Mandatory Base Header and the Service Path Header. Possible values range from 0 to 15. The default value is 1. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype1_next_protocol

Specifies the protocol type of the encapsulated data. NSH does not alter the inner payload, and the semantics on the inner protocol remain unchanged due to NSH service function chaining. Possible values range from 0 to 255. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype1_service_path_id

Specifies the contains the index, in the Segment List, of the last element of the Segment List. Possible values range from 0 to 255. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype1_service_index

Specifies the contains the index, in the Segment List, of the last element of the Segment List. Possible values range from 0 to 255. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype1_context_hdr

Specifies the carries metadata (i.e., context data) along with a service path. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype2_version

Specifies the version field which is used to ensure backward compatibility going forward with future NSH specification updates. Possible values range from 0 to 3. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype2_oflag

Specifies the Security Parameter Index (SPI) associated with the encapsulation header. The SPI, in combination with the destination IP address and security protocol, uniquely identifies the Security Association for this datagram. You can refer to RFC 2406 for more details. Possible values range from 0 to 4294967295. The default value is 0. You can specify this argument only when encapsulation is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype2_u1bit

Specifies the unassigned bits. Possible values range from 0 and 1. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype2_ttl

Specifies the maximum SFF hops for an SFP. The initial TTL value should be configurable via the control plane; the configured initial value can be specific to one or more SFPs. Possible values range from 0 to 63. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype2_length

Specifies the total length of NSH including the Base Header, the Service Path Header, the Fixed Length Context Header or Variable Length Context Header(s). Possible values range from 0 to 63. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype2_u2bits

Specifies the unassigned metadata type bits. The default value is 0000. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype2_mdtype

Specifies the format of NSH beyond the Mandatory Base Header and the Service Path Header. Possible values range from 0 to 15. The default value is 2. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype2_next_protocol

Specifies the protocol type of the encapsulated data. NSH does not alter the inner payload, and the semantics on the inner protocol remain unchanged due to NSH service function chaining. Possible values range from 0 to 255. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype2_service_path_id

Specifies the NSH Service Path Identifier(SPI) value. The SPI provides a level of indirection between the service path/topology and the network transport. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype2_service_index

Specifies the NSH Service Index value. The Service Index provides an indication of location within a service path. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype2_md_class

Specifies the scope of the type field to provide a hierarchical namespace. Possible values range from 0 to 65535. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype2_type

Specifies the explicit type of metadata being carried and is the responsibility of the MD Class owner. Possible values range from 0 to 255. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype2_ubit

Specifies the unassigned metadata bits. They must be set to 0 on transmission and ignored on receipt. Possible values range from 0 and 1. The default value is 0. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ipv6_srheader_nshmdtype2_variable_meta_data

Specifies the variable metadata value. You can specify this argument only when srheader is configured in -ipv6_extension_header.

-ck_present

Spirent Extension (for Spirent HLTAPI only).

Specifie whether the Checksum field will be present in the Layer 3 GRE header. Possible values are 1 (present) and 0 (not present). The default value is 0. You must specify GRE in the -l3_protocol argument.

-routing_present

Spirent Extension (for Spirent HLTAPI only).

Specifie whether the Routing field will be present in the Layer 3 GRE header. Possible values are 1 (present) and 0 (not present). The default value is 0. You must specify GRE in the -l3_protocol argument.

-key_present

Spirent Extension (for Spirent HLTAPI only).

Specifie whether the Key field will be present in the Layer 3 GRE header. Possible values are 1 (present) and 0 (not present). The default value is 0. You must specify GRE in the -l3_protocol argument.

-seq_num_present

Spirent Extension (for Spirent HLTAPI only).

Specifie whether the Sequence Number field will be present in the Layer 3 GRE header. Possible values are 1 (present) and 0 (not present). The default value is 0. You must specify GRE in the -l3_protocol argument.

-reserved0

Spirent Extension (for Spirent HLTAPI only).

Specifie the Reserved0 field in the Layer 3 GRE header. Possible values range from 0 to 511. The default value is 0. You must specify GRE in the -l3_protocol argument.

-version

Spirent Extension (for Spirent HLTAPI only).

Specifie the Version Number field in the Layer 3 GRE header. Possible values range from 0 to 7. The default value is 0 You must specify GRE in the -l3_protocol argument

-keep_alive_enable

Spirent Extension (for Spirent HLTAPI only).

Enables or disables KEEPALIVE messages. possible values are 0 (disable) and 1 (enable). The default value is 0. You must specify GRE in the -l3_protocol argument.

-keep_alive_period

Spirent Extension (for Spirent HLTAPI only).

Specifie the number of seconds between transmissions of KEEPALIVE messages. Possible values range from 0 to 65535. The default value is 10. You must specify GRE in the -l3_protocol argument.

-keep_alive_retries

Spirent Extension (for Spirent HLTAPI only).

Specifie the number of times to retry the message after the KEEPALIVE period is reached. Possible values range from 0 to 255. The default value is 3. You must specify GRE in the -l3_protocol argument.

-gre_checksum

Verifies that packets are not corrupted. Possible values are 0 (not corrupted) and 1 (corrupted). The default is 0. You must specify GRE in the -l3_protocol argument.

-gre_reserved

Specifies the reserved bit in the checksum field of the GRE header. Possible values are 0 and 1. The default value is 0.

-l3_outer_protocol

Identifies the Layer 3 protocol to use when creating packets for the outer header. Possible values are IPv4, IPv6, and GRE.

-l4_protocol

Identifies the Layer 4 protocol to use as a transport service. Possible values are ipv4, tcp, udp, udp_dhcp_msg, icmp, igmp, rtp isis, ospf, ipv4, ipv6 and udp_rocev2.

  • When l4_protocol is ipv4, the IPv4 header related options in Layer 4 can be configured.
  • When you define a TCP header object, you can define the source and destination ports for the traffic, control bits to specify TCP segments (FIN, SYN, RST, PSH, ACK, URG), ACK, SEQ, and window attributes, and TCP frame length and urgent data pointer values.
  • A UDP header contains fields that specify the source and destination ports, the length, and the checksum. When you create a UDP header object, you define the source and destination ports and the length of the combined UDP header and data.
  • When l4_protocol is udp_dhcp_msg, the DHCP client and server message headers in Layer 4 can be configured.
  • When you define an Internet Control Message Protocol (ICMP) header object, you can define the type of ICMP message and the code for each ICMP message type. See RFC 1122 for more about ICMP.
  • When you define an ICMPv6 header object, you can define the type of ICMPv6 message and the code for each ICMPv6 message type. ICMPv6 messages also include sub-types defined in Multicast Listener Discovery (MLDv1 and MLDv2) and Neighbor Discovery Protocol (NDP). See RFC 2710 for more about MLDv1, RFC 3810 for MLDv2, RFC 4861 for NDP and RFC 4443 for ICMPv6.
  • When you define an Internet Group Management Protocol (IGMP) header object, you can define the IGMP version, the message type, the code, and the Multicast group address. See RFC 3376 for more about IGMP.
  • When you define a Real-time Transport Protocol (RTP) header object, you can define the following fields defined in RTP header: CC, PT, Timestamp, SSRC and CSRC.
  • When you define an Intermediate System to Intermediate System Protocol (ISIS) header object, you can specify the following fields defined in the ISIS header: PDU header length, version, the length of system ID, PDU type, reserved field, maximum area addresses, circuit type, system ID, holding time, PDU length, priority and LAN ID. The logical-link control field will be added automatically.
  • When you define an Open Shortest Path First (OSPF) header object, Use the traffic_config_ospf function to configure the parameters related to the OSPF header.
  • When you define an IPv4/IPv6 header object, the IP related fields are available in the Layer 4 header.
  • When l4_protocol is udp_rocev2, the IB (InfiniBand) header in Layer 4 can be configured.
-add_header

Used to add more than one protocol headers. This argument is available for mode -modify. You must specify -l3_protocol argument to add IPv4 and IPv6 headers and -l4_protocol argument along with -l3_protocol argument to add UDP and TCP headers. Currently this option is supported only for IPv4, IPv6, TCP and UDP headers.

-header_handle

The handle used to modify header parameters. This handle is returned by sth::traffic_config API when -add_header and -modify arguments are specified. You must specify -l3_protocol argument to add IPv4 and IPv6 headers and -l4_protocol argument along with -l3_protocol argument to add UDP and TCP headers. Currently this option is supported only for IPv4, IPv6, TCP and UDP headers.

In following example, first API creates one UDP header in the Streamblock. Second API adds second UDP header in the same Streamblock. Third API modifies values of UDP header parameters using UDP header handle.

sth::traffic_config
-mode create
-port_handle $port1

-l3_protocol ipv4-l4_protocol udp-name StreamBlock_1-length_mode fixed-endpoint_map one_to_one

sth::traffic_config
-mode modify

-l3_protocol ipv4-add_header udp -stream_id $stream_handle1-l4_protocol udp -udp_src_port 5001 -udp_dst_port 25001

Returned output::
{udp_handle {udp:udp1 udp:udp2}} {status 1}
sth::traffic_config
-mode modify

-l3_protocol ipv4-stream_id $stream_handle-l4_protocol udp -header_handle [lindex $udp_handle 0]-udp_src_port 6001 -udp_dst_port 26001

In the following example, first API creates one IPv4 header in the Streamblock. The second API adds second IPv4 header in the same Streamblock. The third API modifies values of IPv4 header parameters using IPv4 header handle.

sth::traffic_config
-mode create
-port_handle $port1

-l3_protocol ipv4-name StreamBlock_1-length_mode fixed-endpoint_map one_to_one-ip_src_addr 10.1.1.2 -ip_dst_addr 10.1.1.3

sth::traffic_config
-mode modify

-l3_protocol ipv4-add_header ipv4 -stream_id $stream_handle1-ip_src_addr 11.1.1.2 -ip_dst_addr 11.1.1.3

Returned output::
{ipv4_handle {ipv4:ipv41 ipv4:ipv42}} {status 1}
sth::traffic_config
-mode modify

-l3_protocol ipv4-stream_id $stream_handle-l4_protocol udp -header_handle [lindex $ipv4_handle 1]-ip_src_addr 12.1.1.2 -ip_dst_addr 12.1.1.3

-custom_llc

Creates an LLC header with a user defined value preceded by the Layer 2 encapsulation header of the packet. The value must be in hexadecimal format. You must specify -l2_encap. There is no need to configure this argument if -l4_protocoal is set to isis.

-custom_pattern

Creates a frame with a user defined value at the end of the packet. The value must be in hexadecimal format.

Note

  1. If you only specify -custom_pattern (without -l2_protocol or -l3_protocol), only custom headers will be added.
  2. If you specify -l3_protocol and -custom_pattern (without -l2_protocol), all of Layer 2, Layer 3, and custom headers will be added.
-rtp_csrc_count

Specifies the CSRC count contains the number of CSRC identifiers that follow the fixed header. Possible values range from 0 to 15. The default value is 0. You must specify RTP in the -l4_protocol argument.

-rtp_payload_type

Specifies the type of the RTP payload and thus determines its interpretation by the application. The default value is 18. You must specify RTP in the -l4_protocol argument. Possible values are:

value                   Description
0                        PCM-U -Law
8                        PCM-A Law
9                   G.722 audio codec
4                   G.723 audio codec
15                  G.728 audio codec
18                  G.729 audio codec
34                  G.763 audio codec
31                  G.761 audio codec
-rtp_sequence_number

The sequence number is incremented for each RTP data packet sent and is to be used by the receiver to detect packet loss and to accommodate out-of-order delivery. Possible values range from 0 to 65535. The default value is 0. You must specify RTP in the -l4_protocol argument.

-rtp_padding

Indicates if there are extra padding bytes at the end of the RTP packet. Possible values are 0 and 1. The default value is 0. You must specify RTP in the -l4_protocol argument.

-rtp_extension

Indicates the presence of an extension header between the header and payload data. Possible values are 0 and 1. The default value is 0. You must specify RTP in the -l4_protocol argument.

-rtp_marker

Specifies whether the current data has some special relevance for the application. Possible values are 0 and 1. The default value is 0. You must specify RTP in the -l4_protocol argument.

-rtp_version

Specifies the version of the RTP protocol. Possible values are 0 to 3. The default value is 2. You must specify RTP in the -l4_protocol argument.

-rtp_custom_header

Specifies whether to create RTP packets as custom header or as RTP header. If it is set 0, it will create RTP header under UDP header in the packet. You must specify RTP in the -l4_protocol argument.

-dhcp_srv_msg_options_hdr_seq

Spirent Extension (for Spirent HLTAPI only).

Specifies the sequence of option headers under the DHCP Server Message header

Values:

cli_hw        Client ID (Hardware)
cli_non_hw    Client ID (Non-hardware)
custom        Custom Option
end           End of Header
hostname      Host Name
lease         Lease Time
msg           Message
msg_type      Message Type
msg_size      Message Size
overload      Option Overload
req_list      Parameter Request List
req_addr      Requested IP Address
server_id     Server ID

Note

The sequence cannot be changed in the modify mode. If you need a new sequence, delete the existing one and create again.

-dhcp_cli_msg_options_hdr_seq

Spirent Extension (for Spirent HLTAPI only).

Specifies the sequence of option headers under the DHCP Client Message header

Values:

cli_hw        Client ID (Hardware)
cli_non_hw    Client ID (Non-hardware)
custom        Custom Option
end           End of Header
hostname      Host Name
lease         Lease Time
msg           Message
msg_type      Message Type
msg_size      Message Size
overload      Option Overload
req_list      Parameter Request List
req_addr      Requested IP Address
server_id     Server ID

Note

The sequence cannot be changed in the modify mode. If you need a new sequence, delete the existing one and create again.

-dhcp_msg_header_type

Spirent Extension (for Spirent HLTAPI only).

Specifies DHCP message type to be created along with pre-defined option headers.

Values:

discover    Discover message
request     Request message
decline     Decline message
release     Release message
inform      Inform message
-dhcp_srv_msg_client_addr

Spirent Extension (for Spirent HLTAPI only).

Specifies the Client IP Address field for the DHCP Server Message header

Values: IPv4

Default: 0.0.0.0

Default Modifier Mask: 255.255.255.255

-dhcp_srv_msg_boot_filename

Spirent Extension (for Spirent HLTAPI only).

Specifies the Boot File Name field or the DHCP Server Message header

Values: HEX

Default: 256 zeroes

Default Modifier Mask:

0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000FFFFFFFF

Spirent Extension (for Spirent HLTAPI only).

Specifies the Magic Cookie field for the DHCP Server Message header

Values: HEX

Default: 63825363

Default Modifier Mask: FFFFFFFF

-dhcp_srv_msg_haddr_len

Spirent Extension (for Spirent HLTAPI only).

Specifies the Hardware Address Length field for the DHCP Server Message header

Values: HEX

Default: 6

Default Modifier Mask: 255

-dhcp_srv_msg_hops

Spirent Extension (for Spirent HLTAPI only).

Specifies the Hops field for the DHCP Server Message header. This field is used by relay agents.

Values: integer

Default: 0

Default Modifier Mask: 255

-dhcp_srv_msg_next_serv_addr

Spirent Extension (for Spirent HLTAPI only).

Specifies the Server IP Address field for the DHCP Server message header

Default: 0.0.0.0

Default Modifier Mask: 255.255.255.255

-dhcp_srv_msg_hw_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Hardware Type field for the DHCP Server Message header

Values: HEX

Default: 1

Default Modifier Mask: 255

-dhcp_srv_msg_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Message Type field for the DHCP Server Message header

Default: 2

Default Modifier Mask: 255

-dhcp_srv_msg_elapsed

Spirent Extension (for Spirent HLTAPI only).

Specifies the Elapsed field for the DHCP Server Message header

Default: 0

Default Modifier Mask: 65535

-dhcp_srv_msg_bootpflags

Spirent Extension (for Spirent HLTAPI only).

Specifies the Bootp Flags field for the DHCP Server Message header

Values: HEX

Default: 8000

Default Modifier Mask: FFFF

-dhcp_srv_msg_client_hw_pad

Spirent Extension (for Spirent HLTAPI only).

Specifies the Client Hardware Address Pad field for the DHCP Server Message header

Default: 20 zeroes hexadecimal

Default Modifier Mask: 000000000000FFFFFFFF

-dhcp_srv_msg_your_addr

Spirent Extension (for Spirent HLTAPI only).

Specifies the Your Address field for the DHCP Server Message header

Values: IPv4

Default: 0.0.0.0

Default Modifier Mask: 255.255.255.255

-dhcp_srv_msg_xid

Spirent Extension (for Spirent HLTAPI only).

Specifies the Transaction ID field for the DHCP Server Message header

Values: integer

Default: 1

Default Modifier Mask: 4294967295

-dhcp_srv_msg_client_mac

Spirent Extension (for Spirent HLTAPI only).

Specifies the Client Hardware MAC Address field for the DHCP Server Message header

Values: MAC

Default: 00:00:01:00:00:02

Default Modifier Mask: 00:00:FF:FF:FF:FF

-dhcp_srv_msg_hostname

Spirent Extension (for Spirent HLTAPI only).

Specifies the Server Host Name field for the DHCP Server Message header

Values: HEX

Default: 128 zeroes

Default Modifier Mask:

00000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000FFFFFFFF
-dhcp_srv_msg_relay_agent_addr

Spirent Extension (for Spirent HLTAPI only).

Specifies the Relay Agent Address field for the DHCP Server Message header

Values: IPv4

Default: 0.0.0.0

Default Modifier Mask: 255.255.255.255

-dhcp_srv_msg_cli_hw_id_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the ID type field for the Client ID (Hardware) option in the DHCP Server Message header

Values: HEX

Default: 01

Default Modifier Mask: FF

-dhcp_srv_msg_cli_hw_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Client ID (Hardware) option in the DHCP Server Message header

Values: HEX

Default: 3D

Default Modifier Mask: FF

-dhcp_srv_msg_cli_hw_client_hwa

Spirent Extension (for Spirent HLTAPI only).

Specifies the Client Hardware Address field for the Client ID (Hardware) option in the DHCP Server Message header

Values: MAC

Default: 00:00:01:00:00:02

Default Modifier Mask: 00:00:FF:FF:FF:FF

-dhcp_srv_msg_cli_hw_option_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Client ID (Hardware) option in the DHCP Server Message header

Values: HEX

Default: 07

Default Modifier Mask: FF

-dhcp_srv_msg_cli_non_hw_id_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the ID Type field for the Client ID (non-Hardware) option in the DHCP Server Message header

Values: HEX

Default: 00

Default Modifier Mask: FF

-dhcp_srv_msg_cli_non_hw_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Client ID (non-Hardware) option in the DHCP Server Message header

Values: HEX

Default: 3D

Default Modifier Mask: FF

-dhcp_srv_msg_cli_non_hw_value

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Value field for the Client ID (non-Hardware) option in the DHCP Server Message header

Values: HEX

Default: 010203040506

Default Modifier Mask: 0000FFFFFFFF

-dhcp_srv_msg_cli_non_hw_option_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Client ID (non-Hardware) option in the DHCP Server Message header

Values: HEX

Default: 07

Default Modifier Mask: FF

-dhcp_srv_msg_custom_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Custom Option in the DHCP Server Message header

Values: HEX

Default: 01

Default Modifier Mask: FF

-dhcp_srv_msg_custom_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Custom Option in the DHCP Server Message header

Values: HEX

Default: FE

Default Modifier Mask: FF

-dhcp_srv_msg_custom_value

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Value field for the Custom Option in the DHCP Server Message header

Values: HEX

Default: 00

Default Modifier Mask: FF

-dhcp_srv_msg_end_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the End of Options option in the DHCP Server Message header

Values: HEX

Default: FF

Default Modifier Mask: FF

-dhcp_srv_msg_host_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Host Name option in the DHCP Server Message header

Values: HEX

Default: 06

Default Modifier Mask: FF

-dhcp_srv_msg_host_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Host Name option in the DHCP Server Message header

Values: HEX

Default: 0C

Default Modifier Mask: FF

-dhcp_srv_msg_host_value

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Value field for the Host Name option in the DHCP Server Message header

Values: HEX

Default: 636c69656e74

Default Modifier Mask: 0000FFFFFFFF

-dhcp_srv_msg_lease_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Value field for the Lease Time option in the DHCP Server Message header

Values: HEX

Default: 33

Default Modifier Mask: FF

-dhcp_srv_msg_lease_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Lease Time option in the DHCP Server Message header

Values: HEX

Default: 04

Default Modifier Mask: FF

-dhcp_srv_msg_lease_time

Spirent Extension (for Spirent HLTAPI only).

Specifies the Lease Time field for the Lease Time option in the DHCP Server Message header

Values: integer

Default: 0

Default Modifier Mask: 4294967295

-dhcp_srv_msg_msg_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Message option in the DHCP Server Message header

Values: HEX

Default: 01

Default Modifier Mask: FF

-dhcp_srv_msg_msg_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Message option in the DHCP Server Message header

Values: HEX

Default: 38

Default Modifier Mask: FF

-dhcp_srv_msg_msg_value

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Value field for the Message option in the DHCP Server Message header

Values: HEX

Default: 00

Default Modifier Mask: FF

-dhcp_srv_msg_size_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Message Size option in the DHCP Server Message header

Values: HEX

Default: 02

Default Modifier Mask: FF

-dhcp_srv_msg_size_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Message Size option in the DHCP Server Message header

Values: HEX

Default: 39

Default Modifier Mask: FF

-dhcp_srv_msg_size_value

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Value field for the Message Size option in the DHCP Server Message header

Values: HEX

Default: 0240

Default Modifier Mask: FFFF

-dhcp_srv_msg_type_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Message Type option in the DHCP Server Message header

Values: HEX

Default: 01

Default Modifier Mask: FF

-dhcp_srv_msg_type_code

Spirent Extension (for Spirent HLTAPI only).

Specifies the Code field for the Message Type option in the DHCP Server Message header. This option specifies the type of DHCP message type.

Values:

discover     Discover message type
offer        Offer message type
ack          Ack message type
nak          Nak message type

Default: discover.

Default Modifier Mask: 255

-dhcp_srv_msg_msgtype_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Message Type option in the DHCP Server Message header

Values: HEX

Default: 35

Default Modifier Mask: FF

-dhcp_srv_msg_overload_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Message Type option in the DHCP Server Message header

Values: HEX

Default: 01

Default Modifier Mask: FF

-dhcp_srv_msg_overload_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Options Overload option in the DHCP Server Message header

Values: HEX

Default: 34

Default Modifier Mask: FF

-dhcp_srv_msg_overload

Spirent Extension (for Spirent HLTAPI only).

Specifies the Overload field for the Options Overload option in the DHCP Server Message header

Values:

file               The file field is used to hold header
sname              The sname field is used to hold header
file_sname         Both fields are used to hold header

Default: file_sname

Default Modifier Mask: 255

-dhcp_srv_msg_req_list_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Parameter Request List option in the DHCP Server Message header

Values: HEX

Default: 04

Default Modifier Mask: FF

-dhcp_srv_msg_req_list_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Parameter Request List option in the DHCP Server Message header

Values: HEX

Default: 37

Default Modifier Mask: FF

-dhcp_srv_msg_req_list_value

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Value field for the Parameter Request List option in the DHCP Server Message header

Values: HEX

Default: 01060f21

Default Modifier Mask: FFFFFFFF

-dhcp_srv_msg_req_addr_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Requested IP Address option in the DHCP Server Message header

Values: HEX

Default: 04

Default Modifier Mask: FF

-dhcp_srv_msg_req_addr_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Requested IP Address option in the DHCP Server Message header

Values: HEX

Default: 32

Default Modifier Mask: FF

-dhcp_srv_msg_req_addr

Spirent Extension (for Spirent HLTAPI only).

Specifies the IP Address field for the Requested IP Address option in the DHCP Server Message header

Values: IPv4

Default: 0.0.0.0

Default Modifier Mask: 255.255.255.255

-dhcp_srv_msg_srv_id_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Server ID option in the DHCP Server Message header

Values: HEX

Default: 04

Default Modifier Mask: FF

-dhcp_srv_msg_srv_id_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Server ID option in the DHCP Server Message header

Values: HEX

Default: 36

Default Modifier Mask: FF

-dhcp_srv_msg_srv_id_req_addr

Spirent Extension (for Spirent HLTAPI only).

Specifies the IP Address field for the Server ID option in the DHCP Server Message header

Values: IPv4

Default: 0.0.0.0

Default Modifier Mask: 255.255.255.255

-dhcp_cli_msg_client_addr

Spirent Extension (for Spirent HLTAPI only).

Specifies the Client Address field in the DHCP Client Message header

Values: IPv4

Default: 0.0.0.0

Default Modifier Mask: 255.255.255.255

-dhcp_cli_msg_boot_filename

Spirent Extension (for Spirent HLTAPI only).

Specifies the Boot Filename field in the DHCP Client Message header

Values: HEX

Default: 256 zeroes hexadecimal

Default Modifier Mask:

0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000FFFFFFFF

Spirent Extension (for Spirent HLTAPI only).

Specifies the Magic Cookie field in the DHCP Client Message header

Values: HEX

Default: 63825363

Default Modifier Mask: FFFFFFFF

-dhcp_cli_msg_haddr_len

Spirent Extension (for Spirent HLTAPI only).

Specifies the Hardware Address Length field in the DHCP Client Message header

Values: integer

Default: 6

Default Modifier Mask: 255

-dhcp_cli_msg_hops

Spirent Extension (for Spirent HLTAPI only).

Specifies the Hops field in the DHCP Client Message header. This field is used by relay agents.

Values: integer

Default: 0

Default Modifier Mask: 255

-dhcp_cli_msg_next_serv_addr

Spirent Extension (for Spirent HLTAPI only).

Specifies the Server IP Address field in the DHCP Client Message header. This field is used by relay agents.

Values: IPv4

Default: 0.0.0.0

Default Modifier Mask: 255.255.255.255

-dhcp_cli_msg_hw_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Hardware Type field in the DHCP Client Message header

Values: integer

Default: 1

Default Modifier Mask: 255

-dhcp_cli_msg_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Message Type field in the DHCP Client Message header

Values: integer

Default: 2

Default Modifier Mask: 255

-dhcp_cli_msg_elapsed

Spirent Extension (for Spirent HLTAPI only).

Specifies the Elapsed field in the DHCP Client Message header

Values: integer

Default: 0

Default Modifier Mask: 65535

-dhcp_cli_msg_bootpflags

Spirent Extension (for Spirent HLTAPI only).

Specifies the Bootp Flags field in the DHCP Client Message header

Values: HEX

Default: 8000

Default Modifier Mask: FFFF

-dhcp_cli_msg_client_hw_pad

Spirent Extension (for Spirent HLTAPI only).

Specifies the Client Hardware Address Pad field in the DHCP Client Message header

Values: HEX

Default: 20 zeroes hexadecimal

Default Modifier Mask: 000000000000FFFFFFFF

-dhcp_cli_msg_your_addr

Spirent Extension (for Spirent HLTAPI only).

Specifies the Your Address field in the DHCP Client Message header

Values: IPv4

Default: 0.0.0.0

Default Modifier Mask: 255.255.255.255

-dhcp_cli_msg_xid

Spirent Extension (for Spirent HLTAPI only).

Specifies the Transaction ID (XID) field in the DHCP Client Message header

Values: integer

Default: 1

Default Modifier Mask: 4294967295

-dhcp_cli_msg_client_mac

Spirent Extension (for Spirent HLTAPI only).

Specifies the Client Hardware MAC Address field in the DHCP Client Message header

Default: 00:00:01:00:00:02

Default Modifier Mask: 00:00:FF:FF:FF:FF

-dhcp_cli_msg_hostname

Spirent Extension (for Spirent HLTAPI only).

Specifies the Host Name field in the DHCP Client Message header

Default: 128 zeroes hexadecimal

Default Modifier Mask:

000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000
0000000000000FFFFFFFF
-dhcp_cli_msg_relay_agent_addr

Spirent Extension (for Spirent HLTAPI only).

Specifies the Relay Agent Address field in the DHCP Client Message header

Values: IPv4

Default: 0.0.0.0

Default Modifier Mask: 255.255.255.255

-dhcp_cli_msg_cli_hw_id_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the ID Type field for the Client ID (Hardware) option in the DHCP Client Message header

Values: HEX

Default: 01

Default Modifier Mask: FF

-dhcp_cli_msg_cli_hw_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Client ID (Hardware) option in the DHCP Client Message header

Values: HEX

Default: 3D

Default Modifier Mask: FF

-dhcp_cli_msg_cli_hw_client_hwa

Spirent Extension (for Spirent HLTAPI only).

Specifies the Client Hardware Address field for the Client ID (Hardware) option in the DHCP Client Message header

Values: MAC

Default: 00:00:01:00:00:02

Default Modifier Mask: 00:00:FF:FF:FF:FF

-dhcp_cli_msg_cli_hw_option_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Client ID (Hardware) option in the DHCP Client Message header

Values: HEX

Default: 07

Default Modifier Mask: FF

-dhcp_cli_msg_cli_non_hw_id_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the ID Type field for the Client ID (non-Hardware) option in the DHCP Client Message header

Values: HEX

Default: 00

Default Modifier Mask: FF

-dhcp_cli_msg_cli_non_hw_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Client ID (non-Hardware) option in the DHCP Client Message header

Values: HEX

Default: 3D

Default Modifier Mask: FF

-dhcp_cli_msg_cli_non_hw_value

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Value field for the Client ID (non-Hardware) option in the DHCP Client Message header

Values: HEX

Default: 010203040506

Default Modifier Mask: 0000FFFFFFFF

-dhcp_cli_msg_cli_non_hw_option_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Client ID (non-Hardware) option in the DHCP Client Message header

Values: HEX

Default: 07

Default Modifier Mask: FF

-dhcp_cli_msg_custom_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Custom Option in the DHCP Client Message header

Values: HEX

Default: 01

Default Modifier Mask: FF

-dhcp_cli_msg_custom_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Custom Option in the DHCP Client Message header

Values: HEX

Default: FE

Default Modifier Mask: FF

-dhcp_cli_msg_custom_value

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Value field for the Custom Option in the DHCP Client Message header

Values: HEX

Default: 00

Default Modifier Mask: FF

-dhcp_cli_msg_end_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the End of Options option in the DHCP Client Message header

Values: HEX

Default: FF

Default Modifier Mask: FF

-dhcp_cli_msg_host_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Host Name option in the DHCP Client Message header

Values: HEX

Default: 06

Default Modifier Mask: FF

-dhcp_cli_msg_host_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Host Name option in the DHCP Client Message header

Values: HEX

Default: 0C

Default Modifier Mask: FF

-dhcp_cli_msg_host_value

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Value field for the Host Name option in the DHCP Client Message header

Values: HEX

Default: 636c69656e74

Default Modifier Mask: 0000FFFFFFFF

-dhcp_cli_msg_lease_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Value field for the Lease Time option in the DHCP Client Message header

Values: HEX

Default: 33

Default Modifier Mask: FF

-dhcp_cli_msg_lease_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Lease Time option in the DHCP Client Message header

Values: HEX

Default: 04

Default Modifier Mask: FF

-dhcp_cli_msg_lease_time

Spirent Extension (for Spirent HLTAPI only).

Specifies the Lease Time field for the Lease Time option in the DHCP Client Message header

Values: integer

Default: 0

Default Modifier Mask: 4294967295

-dhcp_cli_msg_msg_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Message option in the DHCP Client Message header

Values: HEX

Default: 01

Default Modifier Mask: FF

-dhcp_cli_msg_msg_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Message option in the DHCP Client Message header

Values: HEX

Default: 38

Default Modifier Mask: FF

-dhcp_cli_msg_msg_value

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Value field for the Message option in the DHCP Client Message header

Values: HEX

Default: 00

Default Modifier Mask: FF

-dhcp_cli_msg_size_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Message Size option in the DHCP Client Message header

Values: HEX

Default: 02

Default Modifier Mask: FF

-dhcp_cli_msg_size_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Message Size option in the DHCP Client Message header

Values: HEX

Default: 39

Default Modifier Mask: FF

-dhcp_cli_msg_size_value

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Value field for the Message Size option in the DHCP Client Message header

Values: HEX

Default: 0240

Default Modifier Mask: FFFF

-dhcp_cli_msg_type_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Message Type option in the DHCP Client Message header

Values: HEX

Default: 01

Default Modifier Mask: FF

-dhcp_cli_msg_type_code

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Message Type option in the DHCP Client Message header. This option decides the type of the DHCP message.

Values:

discover         Discover message type
request          Request message type
decline          Decline message type
release          Release message type
inform           Inform message type

Default: discover

Default Modifier Mask: 255

-dhcp_cli_msg_msgtype_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Message Type option in the DHCP Client Message header

Values: HEX

Default: 35

Default Modifier Mask: FF

-dhcp_cli_msg_overload_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Message Type option in the DHCP Client Message header

Values: HEX

Default: 01

Default Modifier Mask: FF

-dhcp_cli_msg_overload_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Options Overload option in the DHCP Client Message header

Values: HEX

Default: 34

Default Modifier Mask: FF

-dhcp_cli_msg_overload

Spirent Extension (for Spirent HLTAPI only).

Specifies the Overload field for the Options Overload option in the DHCP Client Message header

Values:

file               The file field is used to hold header
sname              The sname field is used to hold header
file_sname         Both fields are used to hold header

Default: file_sname

Default Modifier Mask: 255

-dhcp_cli_msg_req_list_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Parameter Request List option in the DHCP Client Message header

Values: HEX

Default: 04

Default Modifier Mask: FF

-dhcp_cli_msg_req_list_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Parameter Request List option in the DHCP Client Message header

Values: HEX

Default: 37

Default Modifier Mask: FFFFFFFF

-dhcp_cli_msg_req_list_value

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Value field for the Parameter Request List option in the DHCP Client Message header

Values: HEX

Default: 01060f21

Default Modifier Mask: FFFFFFFF

-dhcp_cli_msg_req_addr_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Requested IP Address option in the DHCP Client Message header

Values: HEX

Default: 04

Default Modifier Mask: FF

-dhcp_cli_msg_req_addr_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Requested IP Address option in the DHCP Client Message header

Values: HEX

Default: 32

Default Modifier Mask: FF

-dhcp_cli_msg_req_addr

Spirent Extension (for Spirent HLTAPI only).

Specifies the IP Address field for the Requested IP Address option in the DHCP Client Message header

Values: IPv4

Default: 0.0.0.0

Default Modifier Mask: 255.255.255.255

-dhcp_cli_msg_srv_id_length

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Length field for the Server ID option in the DHCP Client Message header

Values: HEX

Default: 04

Default Modifier Mask: FF

-dhcp_cli_msg_srv_id_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the Option Type field for the Server ID option in the DHCP Client Message header

Values: HEX

Default: 36

Default Modifier Mask: FF

-dhcp_cli_msg_srv_id_req_addr

Spirent Extension (for Spirent HLTAPI only).

Specifies the IP Address field for the Server ID option in the DHCP Client Message header

Values: IPv4

Default: 0.0.0.0

Default Modifier Mask: 255.255.255.255

-modifier_option

Spirent Extension (for Spirent HLTAPI only).

Specifies a list of fields to which you can add modifiers. Example:

-modifier_option  {{dhcp_srv_msg_srv_id_length}\
                  {dhcp_srv_msg_cli_hw_id_type} \
                  {dhcp_srv_msg_lease_length}}\
-modifier_mode

Spirent Extension (for Spirent HLTAPI only).

Specifies how Spirent HLTAPI will assign values for the parameters for a particular stream. Possible values are:

increment
For all packets, the value increments by the step specified in the -modifier_step argument
decrement
For all packets, the value decrements by the step specified in the -modifier_step argument
random
For all packets, the values are in random order
list
For all packets, a list of values is specified under the -modifier_list_value argument
shuffle
For all packets, the values are in random order within a range that is determined by the values of -modifier_count and -modifier_step
fixed
The value is the same for all packets
-modifier_count

Spirent Extension (for Spirent HLTAPI only).

Number of values to generate for the parameters specified under -modifier_option

-modifier_repeat_count

Spirent Extension (for Spirent HLTAPI only).

Specifies the number of times to repeat the same parameter value before incrementing or decrementing it.

Dependency: -modifier_mode increment or -modifier_mode decrement

-modifier_step

Spirent Extension (for Spirent HLTAPI only).

The amount by which to increment or decrement the parameter values specified under -modifier_option

-modifier_mask

Spirent Extension (for Spirent HLTAPI only).

Mask value for the corresponding parameters specified under -modifier_option

-modifier_list_value

Spirent Extension (for Spirent HLTAPI only).

A list of values for the corresponding parameters specified under -modifier_option

Dependency: -modifier_mode list

Note

For headers with other modifier modes, you must set the values to “{}”. For example:

-modifier_mode   "{{increment} {decrement} {list}}"\
-modifier_list_value    "{{} {} {2 4 5}}"\
-modifier_import_textfile_name

Spirent Extension (for Spirent HLTAPI only).

Specifies the list of text file name along with or without the path to import for the corresponding parameters specified under -modifier_option.

Dependency: -modifier_option and -modifier_mode list

For example::
-modifier_mode “{{mac_dst} {ip_src_addr}}”
-modifier_mode “{{list} {list}}”
-modifier_import_textfile_name
 “{{C:/users/user/filename.txt} {filename2.txt}}”
-modifier_export_textfile_name

Spirent Extension (for Spirent HLTAPI only).

Specifies the list of text file name along with or without the path to export for the corresponding parameters specified under -modifier_option.

Dependency: -modifier_option and -modifier_mode list

For example::
-modifier_mode “{{mac_dst} {ip_src_addr}}”
-modifier_mode “{{list} {list}}”
-modifier_export_textfile_name
 “{{C:/users/user/filename.txt} {filename2.txt}}”
-timestamp_initial_value

Specifies the initial value of the timestamp in the RTP header. Possible values range from 0 to 4294967295. The default value is 0. You must specify RTP in the -l4_protocol argument.

-timestamp_increment

Specifies a monotonic value by which to increment the timestamp. Possible values range from 0 to 65535. The default value is 64. You must specify RTP in the -l4_protocol argument.

-ssrc

Specifies the synchronization source. Possible values range from 0 to 4294967295. The default value is 1246289208. You must specify RTP in the -l4_protocol argument.

-csrc_list

Specifies the CSRC list which identifies the contributing sources for the payload contained in this packet. The number of identifiers is given by the CC field, which configured by the -rtp_csrc_count option. The length of the list should be equal to the rtp_csrc_count. Each item in the list is an integer value, the range of which is from 0 to 4294967295.

-icmp_checksum

Defines the 16-bit one’s complement of the one’s complement sum of the ICMP message starting with the ICMP Type. The value must be an integer. To calculate the checksum correctly, do not specify the argument and let Spirent HLTAPI assign the checksum value automatically. Specify this argument only when your test requires so. You must specify ICMP in the -l4_protocol argument.

-icmp_code

Indicates the further specification of each ICMP message type. Possible values range from 0 to 255. For example, an ICMP Destination Unreachable message might set this field to 1 through 15, where each number has a different meaning. The codes of Destination Unreachable message listed below indicate different reasons for Destination Unreachable situation. The values are described below:

Codes   Description
  0   Net Unreachable
  1   Host Unreachable
  2   Protocol Unreachable
  3   Port Unreachable
  4   Fragmentation Needed and Don't Fragment was
      Set
  5   Source Route Failed
  6   Destination Network Unknown
  7   Destination Host Unknown
  8   Source Host Isolated
  9   Communication with Destination Network is
      Administratively Prohibited
  10  Communication with Destination Host is
      Administratively Prohibited
  11  Destination Network Unreachable for Type of
      Service
  12  Destination Host Unreachable for Type of
       Service
  13  Communication Administratively Prohibited
  14  Host Precedence Violation
  15  Precedence cutoff in effect

See RFC 1122 for more information.

You must specify ICMP in the -l4_protocol argument.

-icmp_id

Indicates the ID for each Ping command (that is, EchoRequest). Possible values range from 0 to 65535. You must specify ICMP in the -l4_protocol argument.

-icmp_seq

Indicates the sequence number for each Ping command, (that is, EchoRequest). The client can use the sequence number to match the reply with the request. Possible values range from 0 to 65535. You must specify ICMP in the -l4_protocol argument.

-icmp_type

A number indicating the ICMP message type, such as 0 for Echo Reply. Possible values range from 0 to 255. You must specify ICMP in the -l4_protocol argument.

-icmpv6_type

Spirent Extension (for Spirent HLTAPI only).

Specifies the ICMPv6 message type. Its value determines the format of the remaining data. Possible values are described below:

Value        Description
    1            Destination Unreachable
    2            Packet Too Big
    3            Time Exceeded
    4            Parameter Problem
  128            Echo Request
  129            Echo Reply
  130            MLDv1 Query
  130            MLDv2  Query
  131            MLDv1 Listener Report
  132            MLDv1 Listener Done
  133            Router Solicitation
  134            Router Advertisement
  135            Neighbor Solicitation
  136            Neighbor Advertisement
  137            Redirect
  143            MLDv2 Listener Report

The default value is 1. Note that MLDv2 Query is the updated version for MLDv1 Query, so they share the same ICMPv6 message type (130), but have different fields .

-icmpv6_ip_data