Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

virtual-network-functions

Syntax

Hierarchy Level

Description

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

Note:
  • 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.

Options

virtual-network-functions vnf-name

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

file-path

Path of the source file.

number | range

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

interface-name

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.

physical-interface-name

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

vlan-id

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

native-vlan-id

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

vlan-name

Name of the VLAN members.

size

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

device-name

Name of the storage device.

file-name

Name of the source file of the storage device.

peer-interface-name

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

management

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.