Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

vnf-name

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
vnf-name {
    type {
        linux-container | virtual-machine;
    }
    image {
        file-path;
        bus-type [ide | virtio];
        image-type [qcow2 | raw];
    }
    init-descriptor file-path;
    memory {
        size size;
        features {
            hugepages;
        }
    }
    no-autostart;
    storage device-name {
        type {
            cdrom {
                source {
                    file filename;
                }
            }
            disk {
                bus-type [ide | virtio];
                    file-type [qcow2 | raw];
                    source {
                    file filename;
                }
            }
            usb {
                source {
                    file filename;
                }
            }
        }
    }
    virtual-cpu {
        virtual-cpu-number {
            physical-cpu number | range;
        }
        count number;
        features {
            hardware-virtualization;
        }
    }
    interfaces interface-name {
        pci-address pci-address;
        mapping {
            hsxe0 {
                virtual-function {
                    vlan-id vlan-id;
                }
            }
            hsxe1 {
                virtual-function {
                    vlan-id vlan-id;
                }
            }
            vlan {
                members vlan-name;
                mode [access | trunk];
                native-vlan-id vlan-id;
            }
        }
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit virtual-network-functions]

Description

Name of the virtual network function.

Options

interfaces

Name of the interface. For example, em1.

no-autostart

An option to disable auto-start of VNF on the VNF configuration commit.

pci-address

An option to specify PCI address for the VNF interfaces.

mapping

An option to map VNF interfaces on platforms running disaggregated Junos OS.

virtual-cpu

An option to specify the number of virtual CPUs the VNF can use. By default, a VNF is assigned one virtual CPU, which is independent of any specific physical CPU.

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.

footer-navigation