Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
keyboard_arrow_right

show system visibility vnf

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show system visibility vnf vnf name

Description

If a VNF name is not specified, this command displays the details of all VNFs present in the system. Details include VNF memory usage, CPU statistics, the list of network interfaces, the list of disk files, per disk usage, per port I/O statistics, and media information, which includes details about CD-ROM and USB storage devices.

If a VNF name is specified, this command displays the details of that particular VNF. Details include VNF memory usage, CPU statistics, the list of network interfaces, the list of disk files, per disk usage, per port I/O statistics, and media information, which includes details about CD-ROM and USB storage devices.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show system visibility vnf command. Output fields are listed in the approximate order in which they appear.

Table 1: show system visibility vnf Output Fields

Field Name

Field Description

Fields for List of VNFs

ID

ID of the VNF.

Name

Name of the VNF.

State

State of the VNF.

Fields for VNF Memory Usage

Name

Name of the VNF.

Maximum Memory

The maximum amount of memory, in kibibytes (KiBs).

Used Memory

The total amount of used memory, in kibibytes (KiBs).

Used 1G Hugepages

The total number of 1G hugepages used.

Used 2M Hugepages

The total number of 2M hugepages used.

Fields for VNF CPU Stats

Name

Name of the VNF.

CPU Time

The total CPU time, in seconds.

System Time

The amount of system CPU time, in seconds.

User Time

The amount of user CPU time, in seconds.

Fields for List of VNF MAC Addresses

VNF

Names of the VNFs.

MAC

MAC addresses of the VNFs.

Fields for List of VNF Internal IP Addresses

VNF

Names of the VNFs.

IP

Internal IP addresses of the VNFs.

Fields for List of Virtual Functions per VNF

VNF

Names of the VNFs.

PF

The names of the Physical Functions available.

VF

The names of the Virtual Functions available for each Physical Function.

Fields for the VNF Interfaces

VNF

The name of the VNF.

Interface

The name of the interface.

Type

The type of interface.

Source

The connectivity source.

Model

The connectivity model.

MAC

The MAC address of the VNF.

Fields for List of VNF Disk Information

VNF

The name of the VNF.

Disk

The name of the disk.

File

The path to the disk.

Fields for List of VNF Disk Usage

VNF

The name of the VNF.

Disk

The name of the disk.

Read Requests

The number of times a read operation has happened on the disk.

Bytes Read

The number of read bytes on the disk.

Write Requests

The number of times a write operation has happened on the disk.

Bytes Written

The number of bytes written on the disk.

Fields for List of VNF Port Statistics

VNF

The name of the VNF.

Port

The name of the port.

Rcvd Bytes

The number of bytes received.

Rcvd Packets

The number of packets received.

Rcvd Error

The number of errors received.

Rcvd Drop

The number of drops received.

Trxd Bytes

The number of bytes transferred.

Trxd Packets

The number of packets transferred.

Trxd Error

The number of errors transferred.

Trxd Drop

The number of drops transferred.

Sample Output

show system visibility vnf

content_copy zoom_out_map
user@host> show system visibility vnf
List of VNFs 
----------------------------------------------------------- 
ID   Name                                   State 
---- -------------------------------------- --------------- 
5    centos                                 Running 
VNF Memory Usage 
-------------------------------------------------------------------------------------------------------------------- 
Name                                   Maximum Memory (KiB)  Used Memory (KiB)  Used 1G Hugepages  Used 2M Hugepages 
-------------------------------------- --------------------- ------------------ ------------------ ----------------- 
centos                                 2097152               260741             0                  0 
VNF CPU Statistics (Time in ms) 
----------------------------------------------------------------------------------- 
Name                                   CPU Time           System Time  User Time 
-------------------------------------- ------------------ ------------ ------------ 
centos                                 14029              3650         1540 
VNF MAC Addresses 
----------------------------------------------------------- 
VNF                                       MAC 
----------------------------------------- ----------------- 
centos_ethdef0                            E8:B6:C2:CC:66:9B 
centos_ethdef1                            E8:B6:C2:CC:66:9C 
VNF Internal IP Addresses 
--------------------------------------------------------- 
VNF                                       IP 
----------------------------------------- --------------- 
centos                                    192.0.2.100
---------------------------------------------------------------- 
VNF Virtual Functions 
---------------------------------------------------------------- 
VNF                                       PF        VF 
----------------------------------------- --------- ------------ 
l2_ge_0_0_0_vfdef0                        heth-0-0  0000:02:10:1 
l2_ge_0_0_0_vfdef1                        heth-0-0  0000:02:10:5 
l2_ge_0_0_0_vfdef2                        heth-0-0  0000:02:11:1 
l2_ge_0_0_0_vfdef3                        heth-0-0  0000:02:11:5 
l2_ge_0_0_2_vfdef0                        heth-0-2  0000:02:10:3 
l2_ge_0_0_2_vfdef1                        heth-0-2  0000:02:10:7 
l2_ge_0_0_2_vfdef2                        heth-0-2  0000:02:11:3 
l2_ge_0_0_2_vfdef3                        heth-0-2  0000:02:11:7 
l3_ge_1_0_2_vfdef0                        heth-0-5  0000:05:10:0 
l2_ge_0_0_1_vfdef0                        heth-0-1  0000:02:10:0 
l2_ge_0_0_1_vfdef1                        heth-0-1  0000:02:10:4 
l2_ge_0_0_1_vfdef2                        heth-0-1  0000:02:11:0 
l2_ge_0_0_1_vfdef3                        heth-0-1  0000:02:11:4 
l2_ge_0_0_3_vfdef0                        heth-0-4  0000:05:10:1 
l2_ge_0_0_3_vfdef1                        heth-0-4  0000:05:10:3 
l2_ge_0_0_3_vfdef2                        heth-0-4  0000:05:10:5 
l2_ge_0_0_3_vfdef3                        heth-0-4  0000:05:10:7 
l3_ge_1_0_1_vfdef0                        heth-0-3  0000:02:10:2 
VNF Interfaces 
-------------------------------------------------------------------------------------------------------- 
VNF                  Interface Type      	Source       Model      MAC               IPv4-address 
-------------------- --------- --------- 	------------ ---------- ----------------- --------------------- 
centos               centos_vnet4 network default     	virtio     e8:b6:c2:cc:66:9b -- 
centos               centos_vnet5 bridge 	eth0br       	virtio     	e8:b6:c2:cc:66:9c -- 
VNF Disk Information 
--------------------------------------------------------------------------------------------------------- 
VNF                           Disk        File 
----------------------------- ----------- --------------------------------------------------------------- 
centos                        vda         /var/public/centos-linux-1.img 
centos                        hda         /var/public/vnf_config_data_vnf0 
VNF Disk Usage 
------------------------------------------------------------------------------ 
VNF                  Disk      Read Req   Read Bytes   Write Req  Write Bytes 
-------------------- --------- ---------- ------------ ---------- ------------ 
centos               vda       5382       84654592     2068       4372480 
centos               hda       15         37068        0          0 
VNF Port Statistics 
----------------------------------------------------------------------------------------------------------------------------
VNF                  Port      Rcvd Bytes   Rcvd Packets Rcvd Error Rcvd Drop Trxd Bytes   Trxd Packets Trxd Error Trxd Drop
-------------------- --------- ------------ ------------ ---------- --------- ------------ ------------ ---------- ---------
centos               centos_vnet4 572       11           0          0         850          7            0          0 
centos               centos_vnet5 21729     258          0          395       0            0            0          0 
VNF Media Information 
---------------------------------------------------------------------------------------------------------------- 
VNF                           Media Disk         File 
----------------------------- ----- ------------ --------------------------------------------------------------- 
vnf0                          CDROM hda          /var/public/vnf_config_data_vnf0

Release Information

Command introduced in Junos OS Release 18.1R1.

external-footer-nav