次のトピックでは、サービス エンジンの操作モードを確認するための CLI コマンドについて説明します。
SE は DPDK モードでも非 DPDK (PCAP) モードでも操作されます。show serviceengine <service engine name> interface
コマンドは SE の操作モードの確認に使用されます。SE 操作モードは、se_oper_mode 属性にあります。
SE 操作モードを確認するための CLI コマンド
NSX Advanced Load Balancer CLI にログインし、コマンド show serviceengine <service engine name> interface
を使用します。次に示すコマンド出力では、SE 操作モードを SE_DPDK としています。
[admin:ctlr1]: > show serviceengine 10.10.1.81 interface +------------------------------------------+----------------------------+ | Field | Value | +------------------------------------------+----------------------------+ | se_uuid | 10-10-1-81:se-0050568xxxx7 | | proc_id | C0_L4 | | vnics[1] | | | vnic_name | eth1 | | vnic_id | 6 | | mac_address | 00:50:56:8c:cb:e0 | | ip_info[1] | | | ip_addr | 10.10.1.33 | | net_mask | 255.255.255.0 | | ip_info[2] | | | ip_addr | fe80::250:56ff:fe8c:cbe0 | | net_mask | ffff:ffff:ffff:ffff:: | | interface_stats | | | ipackets | 3531 | | ibytes | 542165 | | ierrors | 0 | | rx_nombuf | 0 | | opackets | 1451 | | obytes | 99916 | | oerrors | 0 | | rx_kni | 165 | | tx_kni | 714 | | tx_kni_errs | 0 | | ip_checksum_drops | 0 | | l4_checksum_drops | 0 | | tx_queue_full_retries | 0 | | rx_pkt_iterations | 2653 | | rx_queue_full | 0 | | rx_max_single_burst | 24 | | 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 | | ifq_stats[1] | | | ipackets | 3531 | | ibytes | 542165 | | opackets | 1451 | | obytes | 99916 | | oerrors | 0 | | rx_pkt_iterations | 2653 | | rx_queue_full | 0 | | rx_max_single_burst | 24 | | gro_mbufs_coalesced | 0 | | gro_mbufs_coalesced | 0 | | local_flow_probes_req_skipped | 0 | | local_flow_probes_req_ignored | 0 | | local_flow_migrate_req_sent | 0 | | local_flow_migrate_req_received | 0 | | local_flow_migrate_ignored_same_vnic | 0 | | local_flow_migrate_ignored_in_tw | 0 | | local_flow_migrate_req_ignored | 0 | | rx_forward_pkts | 0 | | rx_forward_bytes | 0 | | tx_forward_pkts | 0 | | tx_forward_bytes | 0 | | kni_rx_drops | 0 | | kni_tx_drops | 0 | | kni_tx_errors | 0 | | vnic_parent | 6 | | 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 | | se_oper_mode | SE_DPDK | +------------------------------------------+----------------------------+
次に示すコマンド出力では、SE 操作モードを SE_PCAP としています。
[admin:ctlr1]: > show serviceengine 10.10.1.81 interface +------------------------------------------+----------------------------+ | Field | Value | +------------------------------------------+----------------------------+ | se_uuid | 10-10-1-81:se-0050568xxxx7 | | proc_id | C0_L4 | | vnics[1] | | | vnic_name | eth1 | | vnic_id | 6 | | mac_address | 00:50:56:8c:cb:e0 | | ip_info[1] | | | ip_addr | 10.10.10.33 | | net_mask | 255.255.255.0 | | ip_info[2] | | | ip_addr | fe80::250:56ff:fe8c:cbe0 | | net_mask | ffff:ffff:ffff:ffff:: | | interface_stats | | | ipackets | 1135 | | ibytes | 155715 | | ierrors | 0 | | rx_nombuf | 0 | | opackets | 124 | | obytes | 9268 | | oerrors | 0 | | rx_kni | 23 | | tx_kni | 46 | | tx_kni_errs | 0 | | ip_checksum_drops | 0 | | l4_checksum_drops | 0 | | tx_queue_full_retries | 0 | | rx_pkt_iterations | 994 | | rx_queue_full | 0 | | rx_max_single_burst | 11 | | 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 | | ifq_stats[1] | | | ipackets | 1135 | | ibytes | 155715 | | opackets | 124 | | obytes | 9268 | | oerrors | 0 | | rx_pkt_iterations | 994 | | rx_queue_full | 0 | | rx_max_single_burst | 11 | | gro_mbufs_coalesced | 0 | | gro_mbufs_coalesced | 0 | | local_flow_probes_req_skipped | 0 | | local_flow_probes_req_ignored | 0 | | local_flow_migrate_req_sent | 0 | | local_flow_migrate_req_received | 0 | | local_flow_migrate_ignored_same_vnic | 0 | | local_flow_migrate_ignored_in_tw | 0 | | local_flow_migrate_req_ignored | 0 | | rx_forward_pkts | 0 | | rx_forward_bytes | 0 | | tx_forward_pkts | 0 | | tx_forward_bytes | 0 | | kni_rx_drops | 0 | | kni_tx_drops | 0 | | kni_tx_errors | 0 | | vnic_parent | 6 | | 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 | | se_oper_mode | SE_PCAP | +------------------------------------------+----------------------------+