Description

This article documents the supported JDM configuration when setting up a vSRX VNF.

Solution

Only vSRX-S is qualified for support with NFX. This means only two vCPUs are supported (1 vCPU for control plane, 1 vCPU for PFE). 

Example configuration with enhanced-orchestration on NFX250-S1 or NFX250-S2 on Junos OS 15.1X53-D45:

root@jdm# show virtual-network-functions vsrx | display set
set virtual-network-functions vsrx type virtual-machine
set virtual-network-functions vsrx image /var/third-party/images/media-vsrx-vmdisk-15.1X49-D40.6.qcow2
set virtual-network-functions vsrx image image-type qcow2
set virtual-network-functions vsrx virtual-cpu 0 physical-cpu 3
set virtual-network-functions vsrx virtual-cpu 1 physical-cpu 10
set virtual-network-functions vsrx virtual-cpu count 2
set virtual-network-functions vsrx virtual-cpu features hardware-virtualization
set virtual-network-functions vsrx interfaces eth2 mapping hsxe0 virtual-function
set virtual-network-functions vsrx interfaces eth3 mapping hsxe1 virtual-function
set virtual-network-functions vsrx interfaces eth4 mapping hsxe0 virtual-function
set virtual-network-functions vsrx memory size 4194304
set virtual-network-functions vsrx memory features hugepages page-size 1024

In a case where more vCPUs are configured, the vSRX will automatically determine that it can only use two vCPUs. It will not allow more to be configured.

Modification History

2019-09-27: Added platform and Junos version for the example