To delete a virtual CD, USB storage device, or a hard disk from the VNF, enter the following
command:
user@jdm# delete virtual-network-functions vnf-name storage device-name
NOTE:
•
After attaching or detaching a CD from a VNF, you must restart the device
for changes to take effect. The CD detach operation fails if the device is in
use within the VNF.
•
VNF supports one virtual CD, one virtual USB storage device, and multiple
virtual hard disks.
•
You can update the source file in a CD or USB storage device while the VNF
is in running state.
•
You must save the source file in the /var/third-party directory and the file
must have read and write permission for all users.
Configuring VNF Interfaces and VLANs
You can create a VNF interface and attach it to a physical NIC port, management interface,
or VLANs.
1. To attach a VNF interface to a physical interface by using the SR-IOV virtual function:
user@jdm# set virtual-network-functions vnf-name interfaces interface-name mapping
physical-interface-name virtual-function [vlan-id vlan-id]
vlan-id is optional and it is the port VLAN ID.
2. To create VLAN:
user@jdm# set host-name vlan vlan-name
3. To attach a VNF interface to a VLAN:
user@jdm# set virtual-network-functions vnf-name interfaces interface-name mapping vlan
members list-of-vlans [mode trunk|access]
111Copyright © 2017, Juniper Networks, Inc.
Chapter 5: Virtual Network Functions