使用可能なネットワーク帯域幅とフォルト トレランスを向上させるために、NSX Advanced Load Balancer SE に割り当てられた複数の仮想機能 (VF) ネットワーク インターフェイスを集約して、ポート チャネルまたは結合インターフェイスを形成できます。
前提条件
スイッチでポート チャネル固有の構成は必要ありません。
目的のメリットを実現するには、ポート チャネル メンバー インターフェイスを異なる物理機能 (PF) デバイスまたは物理 NIC に関連付ける必要があります。
CSP 構成
SRIOV は、使用される CSP pNIC で有効にする必要があります。これには、次の CSP コマンドを使用できます。
avinet-1(config)# pnic enp7s0f0 sr-iov numvfs 32 switchmode vep
構成
ポート チャネル(ボンディング)を形成するために結合されるメンバー(セカンダリ)インターフェイスは、NSX Advanced Load Balancer SE メタデータ (yml) ファイルを使用して次のように構成できます。
avi.bond-ifs.SE: '1,2'
上記の構成により、SE はインターフェイス 1 と 2 を結合して、ポート チャネルを形成します。
複数のポート チャネルが必要な場合は、次に示すように、異なるポート チャネルのメンバー インターフェイスのインデックスをスペースの間に指定する必要があります。
avi.bond-ifs.SE: '1,2 3,4'
上記の構成では、SE は 2 つのポート チャネルを作成します。1 つはインターフェイス 1 と 2、もう 1 つはインターフェイス 3 と 4 を使用します。
SE が起動すると、NSX Advanced Load Balancer ユーザー インターフェイスの [サービス エンジンの編集] ウィンドウに、結合インターフェイスとセカンダリ インターフェイスに関する情報が表示されます。
CLI コマンド show serviceengine <SE_IP_Address> interface
を実行して、インターフェイスの構成を表示します。
[admin:10-128-2-20]: > show serviceengine 10.128.2.22 interface +------------------------------------+-----------------------------------------------------+ | Field | Value | +------------------------------------+-----------------------------------------------------+ | se_uuid | 10-128-2-22:se-bb2c9806-fe17-4c66-9fb0-dd5b89a456f8 | | proc_id | PROC_Aggregate | | vnics[1] | | vnic_name | eth2 | | vnic_id | 4 | | mac_address | 02:5a:80:02:11:0c | | interface_stats | | | ipackets | 69180 | | ibytes | 4446364 | | ierrors | 0 | | rx_nombuf | 0 | | opackets | 0 | | obytes | 0 | | oerrors | 0 | | rx_kni | 0 | | tx_kni | 2175 | | tx_kni_errs | 0 | | ip_checksum_drops | 0 | | l4_checksum_drops | 0 | | tx_queue_full_retries | 0 | | rx_pkt_iterations | 64223 | | rx_queue_full | 0 | | rx_max_single_burst | 22 | | rx_mim_etype_p2s | 0 | | tx_mim_etype_p2s | 0 | | tx_mim_frags_etype_p2s | 0 | | rx_mim_etype_s2p | 0 | | tx_mim_etype_s2p | 0 | | tx_mim_frags_etype_s2p | 0 | | tx_frags_p2s | 0 | | local_flow_probes_req_sent | 0 | | local_flow_probes_req_received | 0 | | flow_probes_ignored_same_vnic | 0 | | flow_probes_ignored_in_tw | 0 | | vnic_parent | 4 | | vnic_weight | -1 | | vlan_id | 0 | | num_vs_delete_drops | 0 | | vrf_id | 1 | | vrf_ref | global | | vnic_mtu | 1500 | | interface_disabled | False | | linux_intf_name | eth2 | | vnic_owner | 0 | | vnics[2] | | | vnic_name | eth1 | | vnic_id | 5 | | mac_address | 02:4a:80:02:11:0c | | interface_stats | | | ipackets | 611590 | | ibytes | 59185414 | | ierrors | 0 | | rx_nombuf | 0 | | opackets | 542345 | | obytes | 65622481 | | oerrors | 0 | | rx_kni | 0 | | tx_kni | 2175 | | tx_kni_errs | 0 | | ip_checksum_drops | 0 | | l4_checksum_drops | 0 | | tx_queue_full_retries | 0 | | rx_pkt_iterations | 337424 | | rx_queue_full | 0 | | rx_max_single_burst | 22 | | rx_mim_etype_p2s | 0 | | tx_mim_etype_p2s | 0 | | tx_mim_frags_etype_p2s | 0 | | rx_mim_etype_s2p | 0 | | tx_mim_etype_s2p | 0 | | tx_mim_frags_etype_s2p | 0 | | tx_frags_p2s | 0 | | local_flow_probes_req_sent | 0 | | local_flow_probes_req_received | 0 | | flow_probes_ignored_same_vnic | 0 | | flow_probes_ignored_in_tw | 0 | | vnic_parent | 5 | | vnic_weight | -1 | | vlan_id | 0 | | num_vs_delete_drops | 0 | | vrf_id | 1 | | vrf_ref | global | | vnic_mtu | 1500 | | interface_disabled | False | | linux_intf_name | eth1 | | vnic_owner | 0 | | vnics[3] | | | vnic_name | bond0 | | vnic_id | 32 | | mac_address | 02:5a:80:02:11:0c | | ip_info[1] | | | ip_addr | 10.160.100.246 | | net_mask | 255.255.255.0 | | ip_info[2] | | | ip_addr | 10.160.100.235 | | net_mask | 255.255.255.255 | | ip_info[3] | | | ip_addr | 10.160.100.236 | | net_mask | 255.255.255.255 | | interface_stats | | | ipackets | 680768 | | ibytes | 63631658 | | ierrors | 0 | | rx_nombuf | 0 | | opackets | 542345 | | obytes | 65622481 | | oerrors | 0 | | rx_kni | 0 | | tx_kni | 0 | | tx_kni_errs | 0 | | ip_checksum_drops | 0 | | l4_checksum_drops | 0 | | tx_queue_full_retries | 0 | | rx_pkt_iterations | 0 | | rx_queue_full | 0 | | rx_max_single_burst | 0 | | rx_mim_etype_p2s | 0 | | tx_mim_etype_p2s | 0 | | tx_mim_frags_etype_p2s | 0 | | rx_mim_etype_s2p | 0 | | tx_mim_etype_s2p | 0 | | tx_mim_frags_etype_s2p | 0 | | tx_frags_p2s | 0 | | local_flow_probes_req_sent | 0 | local_flow_probes_req_received | 0 | | flow_probes_ignored_same_vnic | 0 | | flow_probes_ignored_in_tw | 0 | | vnic_parent | 32 | | vnic_weight | -1 | | vlan_id | 0 | | num_vs_delete_drops | 0 | | vrf_id | 1 | | vrf_ref | global | | vnic_mtu | 1500 | | mbr_intfs[1] | | | if_name | eth2 | | linux_name | eth2 | | active | True | | mbr_intfs[2] | | | if_name | eth1 | | linux_name | eth1 | | active | True | | interface_disabled | False | | linux_intf_name | bond0 | | vnic_owner | 0 | +------------------------------------+-----------------------------------------------------+