Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Create an instance of a virtual network function (VNF) on platforms that run disaggregated Junos OS software.

  • Creating a VNF instance fails if the resources required by the VNF are not available in the system.

  • If you use init-descriptor to define a VNF by specifying and setting different values for the virtual CPU count or memory and later if you delete the virtual cpu count, the system restores the value to a default value of 1 for vCPU and 1GB for memory.

  • You can enable the VNF options such virtual-cpu-hardware-virtualization (vmx), hugepages, image-type, and image-bus-type only when you define the VNF initially. You cannot enable or disable the VNF options after committing the VNF configuration. To enable or disable the VNF options, you must delete the VNF configuration and re-configure with the VNF options.


virtual-network-functions vnf-name

Name of the VNF instance. It is mandatory to provide one of the options: init-descriptor or image.


Path of the source file.

number | range

Number or a range of physical CPUs. For example, 2 or 2...5.


Name of the VNF interface, which can range from eth0 to eth9. You can configure eth0 and eth1 interfaces and can assign VLAN IDs. To configure eth0 and eth1 interfaces, you must configure no-default-interfaces option.


Name of the physical interface to which the VNF interface is attached.


SR-IOV virtual function to use to attach a VNF to a physical interface.


Virtual LAN identifier for untagged frames. For example, 1...4095


Name of the VLAN members.


Amount of memory allocated to a VNF in kilobytes. The default size is 1 GB.


Name of the storage device.


Name of the source file of the storage device.


Name of the virtual peer interfaces that is mapped to a physical interface.


VNF interface management configuration.

Required Privilege Level

routing—To view this statement in the configuration.routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 15.1X53-D45.