帮助我们改善您的体验。

让我们了解您的想法。

您是否能抽出两分钟的时间完成一份问卷调查?

close
keyboard_arrow_left
如何配置 NFX150
Table of Contents Expand all
list Table of Contents

机器翻译对您有帮助吗?

starstarstarstarstar
Go to English page
免责声明:

我们将使用第三方机器翻译软件翻译本页面。瞻博网络虽已做出相当大的努力提供高质量译文,但无法保证其准确性。如果对译文信息的准确性有任何疑问,请参阅英文版本. 可下载的 PDF 仅提供英文版.

监控 NFX150 设备运行状况

date_range 20-Jan-21

您可使用以下命令监控 NFX150 设备的运行状况:

命令

描述

show system visibility host

显示主机 CPU、接口和端口统计信息的状态。

示例输出 — 显示系统可见性主机

show system visibility jdm

显示 JDM 容器的状态。

示例输出 — 显示系统可见性 jdm

show system visibility cpu

显示 CPU 使用和分配信息。

示例输出 — 显示系统可见性 cpu

show system visibility memory

显示内存分配和巨大页面的详细信息。

示例输出 — 显示系统可见性内存

show vmhost mode

显示当前操作模式,以及该模式的 CPU 和内存分配。

示例输出 — 显示 vmhost 模式

show chassis fpc pic-status fpc-slot

显示 FPC 的状态。

示例输出 — 显示机箱 fpc pic-status

show chassis fpc detail

显示每个 FPC 的详细信息,例如 CPU DRAM、正常运行时间。

示例输出 — 显示机箱 fpc 详细信息

show chassis fpc errors

显示 FPC 组件的错误。

示例输出 — 显示机箱 fpc 错误

示例输出 — 显示系统可见性主机

content_copy zoom_out_map
root@host> show system visibility host
Host Uptime
-----------
Uptime: 4 days 5:36:09.17000

Host Tasks
----------
Total:    185
Running:  2
Sleeping: 180
Stopped:  0
Zombie:   3

Host CPU Information (Time in sec)
----------------------------------
User Time:              114556
System Time:            74061
Idle Time:              1196820
I/O Wait Time:          596
Nice Time:              0
Interrupt Service Time: 0

Host Disk Partitions
----------------------------------------------------------------------------------------------------------
Device        Mount Point                                  File System  Options
------------- -------------------------------------------- -----------  ----------------------------------
/dev/sda1     /boot/efi                                    vfat         rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda7     /config                                      ext4         rw,noatime,data=ordered
/dev/sda8     /var/log                                     ext4         rw,noatime,data=ordered
/dev/sda9     /mnt/.share                                  ext4         rw,noatime,discard,data=ordered
/dev/loop1    /var/tmp                                     ext4         rw,relatime,data=ordered

Host Disk Usage Information
---------------------------
Total (MiB):     189
Used  (MiB):     30
Free  (MiB):     145
Percentage Used: 16.1

Host Disk I/O Information
-------------------------
Read Count: 293751
Write Count: 914147
Read Bytes: 3777713664
Write Bytes: 12500229120
  Read Time: 59732
Write Time: 1150226

Host Interfaces
----------------------------------------------
Interface          State     MAC
------------------ --------- -----------------
heth-0-1           inactive  00:00:5e:00:53:89
heth-0-0           inactive  00:00:5e:00:53:88
heth-0-3           inactive  00:00:5e:00:53:8b
heth-0-2           inactive  00:00:5e:00:53:8a
heth-0-5           inactive  00:00:5e:00:53:8d
heth-0-4           active    00:00:5e:00:53:8c
ctrlbr0            active    00:00:5e:00:53:10
docker0            inactive  00:00:5e:00:53:3d
eth0br             active    00:00:5e:00:53:00
l3_h_ge_1_0_0      active    00:00:5e:00:53:68
lo                 inactive  00:00:5e:00:53:00
ovs-sys-br         inactive  00:00:5e:00:53:4f
ovs-system         inactive  00:00:5e:00:53:6c
sit0               inactive  00:00:00:00
veth00             active    00:00:5e:00:53:b9
veth01             active    00:00:5e:00:53:cc
veth10             active    00:00:5e:00:53:27
veth11             active    00:00:5e:00:53:4b
virbr0             active    00:00:5e:00:53:83
virbr1             active    00:00:5e:00:53:41

Host Port Statistics
-----------------------------------------------------------------------------------------------------
Interface Bytes Sent   Bytes Rcvd   Packets Sent Packets Rcvd Errors In Errors Out Drops In Drops Out
--------- ------------ ------------ ------------ ------------ --------- ---------- -------- ---------
l3_h_ge_1_0_0 0        9281595      0            175121       0         0          0        0
veth10    0            908          0            14           0         0          0        0
veth11    908          0            14           0            0         0          0        0
ovs-system 0           0            0            0            0         0          0        0
ovs-sys-br 0           0            0            0            0         0          6        0
vnet0     113734993    40060637     492686       444304       0         0          0        0
vnet1     1746218019   1666641076   19129819     22429555     0         0          0        0
vnet2     5760102921   231049019    37804203     1495998      0         0          0        35688791
vnet3     9525642      13090        183190       305          0         0          0        0
vnet4     564779       4916         10838        57           0         0          0        0
vnet5     1113225127   4920163      8061220      30370        0         0          0        328
eth0      237823455    9779714118   1543719      74854926     0         0          13177    0
lo        3163525      3163525      56215        56215        0         0          0        0
virbr0-nic 0           0            0            0            0         0          0        0
irb       0            0            0            0            0         0          0        0
docker0   0            0            0            0            0         0          0        0
veth01    908          0            14           0            0         0          0        0
veth00    0            908          0            14           0         0          0        0
dcapi-tap 0            0            0            0            0         0          0        0
sit0      0            0            0            0            0         0          0        0
flowd_h_mgmt 775774835 715134308    10087893     8985215      0         0          0        0
virbr1    110674581    32411759     466777       429883       0         0          0        0
virbr0    341638       633559       3351         3732         0         0          0        0
jdm-hbme1 9725715      544247       185105       2276         0         0          0        0
jdm-hbme2 1682446      3061900      15650        25937        0         0          0        0
eth0br    0            1175685054   0            17912122     0         0          0        0
ctrlbr0   1028692265   718118709    10108369     12342918     0         0          0        0
heth-0-1  0            0            0            0            0         0          0        0
heth-0-0  0            0            0            0            0         0          0        0
heth-0-3  0            0            0            0            0         0          0        0
heth-0-2  0            0            0            0            0         0          0        0
heth-0-5  0            0            0            0            0         0          0        0
heth-0-4  0            9762         0            110          0         0          0        0

示例输出 — 显示系统可见性 jdm

content_copy zoom_out_map
root@host> show system visibility jdm
JDM CPU Statistics (Time in sec)
-----------------------------
User Time:              114569
System Time:            74066
Idle Time:              1196860
I/O Wait Time:          596
Nice Time:              0
Interrupt Service Time: 0

JDM Disk Usage Information
--------------------------
Total (MiB):      15829
Used  (MiB):      4882
Free  (MiB):      10121
Percentage Used:  30.8

JDM Disk I/O Information
------------------------
Read Count: 293759
Write Count: 914196
Read Bytes: 3777840640
Write Bytes: 12500643840
  Read Time: 59733
Write Time: 1150254

JDM Memory Usage
-------------------
Maximum Memory (KiB): 1048576
Used Memory (KiB):    118096

JDM Uptime
----------
Uptime: 4 days 5:35:2

JDM Tasks
---------
Total:    11
Running:  1
Sleeping: 9
Stopped:  0
Zombie:   1

JDM Internal IP Addresses
-------------------------
Interface: bme1
Address  : 192.0.2.254
Interface: bme2
Address  : 192.168.1.254

示例输出 — 显示系统可见性 cpu

content_copy zoom_out_map
root@host> show system visibility cpu | no-more

CPU Statistics (Time in sec)
-------------------------------------------------------------------------------
CPU Id User Time System Time Idle Time Nice Time IOWait Time Intr. Service Time
------ --------- ----------- --------- --------- ----------- ------------------
0      51370     54035       236329    0         128         0
1      55214     18066       243032    0         0           0
2      3864      1223        357665    0         214         0
3      3985      688         359420    0         253         0

CPU Usages
----------------
CPU Id CPU Usage
------ ---------
0      100.0
1      27.600000000000001
2      0.0
3      2.0

CPU Pinning Information
------------------------------------
Virtual Machine             vCPU CPU
--------------------------- ---- ---
testagent                   0    2
testagent                   1    3
vjunos0                     0    0


System Component                CPUs
------------------------------- --------
ovs-vswitchd                    0
riot                            0, 1
srxpfe                          0, 1
jdm                             0

示例输出 — 显示系统可见性内存

content_copy zoom_out_map
root@host> show system visibility memory | no-more
Memory Information
------------------

Virtual Memory:
---------------
Total       (KiB): 7949028
Used        (KiB): 7555808
Available   (KiB): 1177716
Free        (KiB): 393220
Percent Used     : 85.2

Huge Pages:
------------
Total 1GiB Huge Pages:      2
Free 1GiB Huge Pages:       1
Configured 1GiB Huge Pages: 1
Total 2MiB Huge Pages:      529
Free 2MiB Huge Pages:       1
Configured 2MiB Huge Pages: 0

Hugepages Usage:
----------------------------------------------------------------------------------------------------------
Name                              Type                               Used 1G Hugepages  Used 2M Hugepages
--------------------------------- ---------------------------------- ------------------ ------------------
srxpfe                            other process                      1                  400
riot                              other process                      0                  128

示例输出 — 显示 vmhost 模式

此样本输出显示了在计算模式下运行的设备的详细信息。有关受支持模式的信息,请参阅 性能模式

content_copy zoom_out_map
root@host> show vmhost mode | no-more
Mode:
--------
Current Mode: compute

CPU Allocations:
Name                                 Configured                               Used
----------------------------------------------------------------------------------------------------------------------
Junos Control Plane                  0                                        0,2
Juniper Device Manager               0                                        0
LTE                                  0                                        -
NFV Backplane Control Path           0                                        0
NFV Backplane Data Path              -                                        -
Layer 2 Control Path                 0                                        0
Layer 2 Data Path                    1                                        0,1
Layer 3 Control Path                 0                                        0
Layer 3 Data Path                    1                                        1
CPUs available for VNFs              2,3                                      2,3
CPUs turned off                      -                                        -

Memory Allocations:
Name                                 Configured                               Used
----------------------------------------------------------------------------------------------------------------------
Junos Control Plane (mB)             2048                                     1995
NFV Backplane 1G hugepages           -                                        0
NFV Backplane 2M hugepages           -                                        0
Layer 2 1G hugepages                 -                                        0
Layer 2 2M hugepages                 128                                      128
Layer 3 1G hugepages                 1                                        1
Layer 3 2M hugepages                 401                                      400

示例输出 — 显示机箱 fpc pic-status

content_copy zoom_out_map
root@host> show chassis fpc pic-status 1
Slot 1   Online       FPC
  PIC 0  Online       VSRX DPDK GE

content_copy zoom_out_map
root@host> show chassis fpc pic-status 0
Slot 0   Online       Virtual FPC
  PIC 0  Online       Virtual

示例输出 — 显示机箱 fpc 详细信息

content_copy zoom_out_map
root@porter3c-p1b-ft-04> show chassis fpc detail
Slot 0 information:
  State                               Online
  Total CPU DRAM                  256 MB
  Total SRAM                        0 MB
  Total SDRAM                       0 MB
  Start time                          2011-07-26 00:23:36 UTC
  Uptime                              1 hour, 43 minutes, 47 seconds
Slot 1 information:
  State                               Online
  Total CPU DRAM                  800 MB
  Total SRAM                        0 MB
  Total SDRAM                       0 MB
  Start time                          2011-07-26 00:26:16 UTC
  Uptime                              1 hour, 41 minutes, 7 seconds

示例输出 — 显示机箱 fpc 错误

content_copy zoom_out_map
root@host> show chassis fpc errors
FPC Scope    Category   Level Occurred Cleared Threshold Action-Taken Action
  0 board    functional Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             memory     Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             io         Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             storage    Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             switch     Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             processing Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             internal   Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
    pfe      functional Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             memory     Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             io         Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             storage    Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             switch     Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             processing Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             internal   Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
  1 board    functional Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             memory     Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             io         Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             storage    Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             switch     Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             processing Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             internal   Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
    pfe      functional Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             memory     Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             io         Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             storage    Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             switch     Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             processing Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
             internal   Minor      0        0       0         0
                        Major      0        0       0         0
                        Fatal      0        0       0         0
external-footer-nav