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 vmhost mode

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show vmhost mode
show vmhost mode mode-name

Description

The show vmhost mode command displays the CPU and memory allocations for various components in the current mode of the device. The show vmhost mode mode-name command displays the CPU and memory allocations for various components for a specific mode of the device.

Note:

Starting in Junos OS Release 22.1R1, the output of the show vmhost mode command displays the maximum memory that can be configured and the currently configured memory for VNFs. In addition, the CPU allocations are displayed as a number range (for example, 4-7) instead of individual numbers (for example, 4,5,6,7).

Required Privilege Level

view

Sample Output (NFX150)

show vmhost mode

content_copy zoom_out_map
user@host> show vmhost mode

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                                     1895
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
VNF max memory limit (gB) (approx)   1                                        1.000

show vmhost mode hybrid

content_copy zoom_out_map
user@host> show vmhost mode hybrid

Mode: hybrid

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

Memory Allocations:
Name                                 Configured
-----------------------------------------------------------------------------
Junos Control Plane (mB)             2048
NFV Backplane 1G hugepages           -
NFV Backplane 2M hugepages           -
Layer 2 1G hugepages                 -
Layer 2 2M hugepages                 128
Layer 3 1G hugepages                 1
Layer 3 2M hugepages                 401
VNF max memory limit (gB) (approx)   1

show vmhost mode throughput

content_copy zoom_out_map
user@host> show vmhost mode throughput

Mode: throughput

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

Memory Allocations:
Name                                 Configured
-----------------------------------------------------------------------------
Junos Control Plane (mB)             2048
NFV Backplane 1G hugepages           -
NFV Backplane 2M hugepages           -
Layer 2 1G hugepages                 -
Layer 2 2M hugepages                 128
Layer 3 1G hugepages                 1
Layer 3 2M hugepages                 401
VNF max memory limit (gB) (approx)   -

show vmhost mode flex

content_copy zoom_out_map
user@host> show vmhost mode flex

Mode: flex

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

Memory Allocations:
Name                                 Configured
-----------------------------------------------------------------------------
Junos Control Plane (mB)             1536
NFV Backplane 1G hugepages           -
NFV Backplane 2M hugepages           -
Layer 2 1G hugepages                 -
Layer 2 2M hugepages                 128
Layer 3 1G hugepages                 -
Layer 3 2M hugepages                 282
VNF max memory limit (gB) (approx)   2

Sample Output (NFX250 (NG))

show vmhost mode

content_copy zoom_out_map
user@host> show vmhost mode

Mode:
--------
Current Mode: compute

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

Memory Allocations:
Name                                 Configured                               Used
----------------------------------------------------------------------------------------------------------------------
Junos Control Plane (mB)             2048                                     2020
NFV Backplane 1G hugepages           1                                        2
NFV Backplane 2M hugepages           -                                        0
Layer 2 1G hugepages                 -                                        -
Layer 2 2M hugepages                 -                                        -
Layer 3 1G hugepages                 1                                        1
Layer 3 2M hugepages                 1376                                     1375
VNF max memory limit (gB) (approx)   6                                        2.000

show vmhost mode hybrid

content_copy zoom_out_map
user@host> show vmhost mode hybrid

Mode: hybrid

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

Memory Allocations:
Name                                 Configured
-----------------------------------------------------------------------------
Junos Control Plane (mB)             2048
NFV Backplane 1G hugepages           1
NFV Backplane 2M hugepages           -
Layer 2 1G hugepages                 -
Layer 2 2M hugepages                 -
Layer 3 1G hugepages                 1
Layer 3 2M hugepages                 1376
VNF max memory limit (gB) (approx)   6

show vmhost mode throughput

content_copy zoom_out_map
user@host> show vmhost mode throughput

Mode: throughput

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

Memory Allocations:
Name                                 Configured
-----------------------------------------------------------------------------
Junos Control Plane (mB)             2048
NFV Backplane 1G hugepages           -
NFV Backplane 2M hugepages           -
Layer 2 1G hugepages                 -
Layer 2 2M hugepages                 -
Layer 3 1G hugepages                 1
Layer 3 2M hugepages                 1376
VNF max memory limit (gB) (approx)   -

show vmhost mode flex

content_copy zoom_out_map
user@host> show vmhost mode flex

Mode: flex

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

Memory Allocations:
Name                                 Configured
-----------------------------------------------------------------------------
Junos Control Plane (mB)             1536
NFV Backplane 1G hugepages           1
NFV Backplane 2M hugepages           -
Layer 2 1G hugepages                 -
Layer 2 2M hugepages                 -
Layer 3 1G hugepages                 -
Layer 3 2M hugepages                 282
VNF max memory limit (gB) (approx)   24

Sample Output (NFX350)

show vmhost mode

content_copy zoom_out_map
user@host> show vmhost mode

Mode:
--------
Current Mode: compute

CPU Allocations:
Name                                 Configured                               Used
----------------------------------------------------------------------------------------------------------------------
Junos Control Plane                  8                                        3,8
Juniper Device Manager               8                                        8
LTE                                  8                                        -
NFV Backplane Control Path           8                                        8
NFV Backplane Data Path              1                                        1
Layer 2 Control Path                 -                                        -
Layer 2 Data Path                    -                                        -
Layer 3 Control Path                 0                                        0
Layer 3 Data Path                    2                                        2
CPUs available for VNFs              3-7,11-15                                4-5,11,15
CPUs turned off                      9-10                                     -

Memory Allocations:
Name                                 Configured                               Used
----------------------------------------------------------------------------------------------------------------------
Junos Control Plane (mB)             2048                                     1926
NFV Backplane 1G hugepages           4                                        8
NFV Backplane 2M hugepages           -                                        0
Layer 2 1G hugepages                 -                                        -
Layer 2 2M hugepages                 -                                        -
Layer 3 1G hugepages                 4                                        4
Layer 3 2M hugepages                 5633                                     5377
VNF max memory limit (gB) (approx)   7                                        2.000

show vmhost mode hybrid

content_copy zoom_out_map
user@host> show vmhost mode hybrid

Mode: hybrid

CPU Allocations:
Name                                 Configured
-----------------------------------------------------------------------------
Junos Control Plane                  8
LTE                                  8
Juniper Device Manager               8
NFV Backplane Control Path           8
NFV Backplane Data Path              1
Layer 2 Control Path                 -
Layer 2 Data Path                    -
Layer 3 Control Path                 0
Layer 3 Data Path                    2-3
CPUs turned off                      9-11
CPUs available for VNFs              4-7,12-15

Memory Allocations:
Name                                 Configured
-----------------------------------------------------------------------------
Junos Control Plane (mB)             2048
NFV Backplane 1G hugepages           4
NFV Backplane 2M hugepages           -
Layer 2 1G hugepages                 -
Layer 2 2M hugepages                 -
Layer 3 1G hugepages                 4
Layer 3 2M hugepages                 5633
VNF max memory limit (gB) (approx)   7

show vmhost mode throughput

content_copy zoom_out_map
user@host> show vmhost mode throughput

Mode: throughput

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

Memory Allocations:
Name                                 Configured
-----------------------------------------------------------------------------
Junos Control Plane (mB)             2048
NFV Backplane 1G hugepages           -
NFV Backplane 2M hugepages           -
Layer 2 1G hugepages                 -
Layer 2 2M hugepages                 -
Layer 3 1G hugepages                 4
Layer 3 2M hugepages                 5633
VNF max memory limit (gB) (approx)   -

show vmhost mode flex

content_copy zoom_out_map
user@host> show vmhost mode flex

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

 

Memory Allocations:
Name                                 Configured
-----------------------------------------------------------------------------
Junos Control Plane (mB)             1536
NFV Backplane 1G hugepages           1
NFV Backplane 2M hugepages           -
Layer 2 1G hugepages                 -
Layer 2 2M hugepages                 -
Layer 3 1G hugepages                 1
Layer 3 2M hugepages                 200

Release Information

Command introduced in Junos OS Release 19.1R1.

external-footer-nav