Managing VNFs on NFX350 Devices
Managing VNF States
By default, a VNF automatically starts when the VNF configuration is committed.
Managing VNF MAC Addresses
VNF interfaces that are defined, either using the CLI, are assigned a globally unique and persistent MAC address. A common pool of 176 MAC addresses is used to assign MAC addresses to VNF interfaces. These MAC addresses are automatically allocated when a VNF is instantiated. You can configure a MAC address other than what is available in the common pool, and this address will not be overwritten.
To delete or modify the MAC address of a VNF interface, you must stop the VNF, make the necessary changes, and then restart the VNF.
The MAC address specified for a VNF interface can be either a system MAC address or a user-defined MAC address.
The MAC address specified from the system MAC address pool must be unique for the VNF interfaces.
Managing the MTU of a VNF Interface
The maximum transmission unit (MTU) is the largest data unit that can be forwarded without fragmentation. You can configure either 1500 bytes or 9216 bytes as the MTU size. The default MTU value is 1500 bytes, and the maximum MTU size for both VNF and L3 interface is 9216 bytes.
MTU configuration is supported only on VLAN interfaces.
The maximum number of VLAN interfaces on the OVS that are supported in the system is 64.
Accessing a VNF from the JCP
You can access a VNF from the JCP through SSH or by using the console.
To access a VNF from the JCP through SSH:
user@host> request virtual-network-functions ssh vnf-name
To access a VNF from the JCP by using the console:
user@host> request virtual-network-functions console vnf-name
Viewing the List of VNFs
To view the list of VNFs:
user@host> show virtual-network-functions ID Name State Liveliness -------------------------------------------------------------------------------- 1 vjunos0 Running alive 2 centos1 Running alive 3 centos2 Running alive
The Liveliness field of a VNF indicates whether the IP address of the VNF is reachable from the JCP. The default IP address of the liveliness bridge is 192.0.2.1/24.
Displaying the Details of a VNF
To display the details of a VNF:
user@host> show virtual-network-functions vnf-name detail user@host>show virtual-network-functions centos1 detail Virtual Network Function Information ------------------------------------ Id: 2 Name: centos1 State: Running Liveliness: Up IP Address: 192.0.2.101 VCPUs: 1 Maximum Memory: 1048576 KiB Used Memory: 1048576 KiB Used 1G Hugepages: 0 Used 2M Hugepages: 0 Error: None
Deleting a VNF
To delete a VNF:
user@host# delete virtual-network-functions vnf-name
The VNF image remains in the disk even after you delete a VNF.