以下主题介绍了用于检查服务引擎运行模式的 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                    |
+------------------------------------------+----------------------------+