show virtual-network-functions (Junos Node Slicing)
Syntax
show virtual-network-functions (all-servers | server| slot) <vnf-name> <vnf-name detail> <vnf-name vnf-xml-profile>
Description
Display the list of guest network functions (GNFs) along with their IDs, status and availability.
Options
all-servers | Display the details of the GNFs on both the servers. |
server | Display the
details of the GNFs on one specific server. Applicable value is |
vnf-name | Display additional
details of a particular GNF. You can use the |
vnf-xml-profile | Displays the xml profile of a GNF. |
Required Privilege Level
View
Output Fields
Table 1 lists the output fields for the show virtual-network-functions
command.
Field Name |
Field Description |
---|---|
|
The ID associated with the VNF. |
|
Name of the VNF. |
|
Status of the VNF.
|
|
Indicates the availability of VNF.
|
|
Name of the VNF. |
|
IP address of the VNF. |
|
Status of a particular VNF.
|
|
Number of cores in the VNF. |
|
The VNF memory. |
|
The resource template associated with a VNF. |
|
Qemu process ID. |
|
Shows the GNF CPU utilization details. See also: show system cpu (JDM). |
|
Displays the following memory information about the GNFs:
|
|
Displays the following guest network function (GNF) storage information:
|
|
Shows the GNF interface statistics information. See also: show system network (JDM). |
VNF Network Information |
Shows the list of Physical Interfaces, Virtual Interfaces and MAC addresses. |
Sample Output
show virtual-network-functions
user@jdm> show virtual-network-functions ID Name State Liveness -------------------------------------------------------------------------------- 1 bittern-gnf-a Running Up 2 bittern-gnf-b Running Up 3 bittern-gnf-c Running Up 4 bittern-gnf-d Running Up 5 bittern-gnf-e Running Up
Sample Output
show virtual-network-functions (for a specific VNF)
user@jdm> show virtual-network-functions gnf1 Virtual Machine Information --------------------------- Name: gnf1 IP Address: 192.168.2.1 Status: Running Liveness: up Cores: 4 Memory: 32GB Resource Template: 4core-32g Qemu Process id: 10891
Sample Output
- show virtual-network-functions <vnf-name> detail
- show virtual-network-functions <vnf-name> vnf-xml-profile
show virtual-network-functions <vnf-name> detail
user@jdm> show virtual-network-functions gnf1 detail VNF Information --------------------------- ID 1 Name: gnf1 Status: Running Liveness: up IP Address: 192.168.2.1 Cores: 2 Memory: 16GB Resource Template: 2core-16g Qemu Process id: 20478 SMBIOS version: v1 VNF Uptime: 206:09.58 VNF CPU Utilization and Allocation Information -------------------------------------------------------------------------------- GNF CPU-Id(s) Usage Qemu Pid ---------------------------------------- ----------------------- ----- -------- gnf1 10,11 6.1% 20478 VNF Memory Information ---------------------------------------------------------------- Name Actual Resident ------------------------------------------------ ------ -------- gnf1 16.0G 15.5G VNF Storage Information --------------------------------------------------------- Directory Size Used ------------------------------------------- ------ ------ /vm-primary/gnf1 50.2G 4.2G VNF Interfaces Statistics ------------------------------------------------------------------------------------------------------------------------- Interface Rcvd Bytes Rcvd packets Rcvd Error Rcvd Drop Trxd bytes Trxd Packets Trxd Error Trxd Drop -------------------------- ------------ ------------ ---------- --------- ------------ ------------ ---------- --------- macvtap0 19077011 335687 0 0 261601960 3545272 0 0 macvtap1 99369778 689729 0 0 172763580 2786344 0 0 vnet1 24686 527 0 0 11620 250 0 0 macvtap2 428385 7405 0 0 861020752 10813152 0 0 VNF Network Information ------------------------------------------------------------------------------- Virtual Interface Physical Interface MAC -------------------------- ------------------ ---------------------------- macvtap0 ens3f0 00:85:49:54:cd:30 macvtap1 ens3f1 00:85:49:54:cd:31 vnet1 bridge_jdm_vm 00:85:49:54:cd:32 macvtap2 enp3s0f2 00:85:49:54:cd:33
show virtual-network-functions <vnf-name> vnf-xml-profile
user@jdm> show virtual-network-functions gnf1 vnf-xml-profile <domain type='kvm' id='1'> <name>gnf1</name> <uuid>a1c62c35-910f-4354-991c-7ad26c1b32e7</uuid> <memory unit='KiB'>33554432</memory> <currentMemory unit='KiB'>33554432</currentMemory> <vcpu placement='static'>4</vcpu> <cputune> <vcpupin vcpu='0' cpuset='4'/> <vcpupin vcpu='1' cpuset='5'/> <vcpupin vcpu='2' cpuset='6'/> <vcpupin vcpu='3' cpuset='7'/> <emulatorpin cpuset='2-3'/> </cputune> <resource> <partition>/machine</partition> </resource> <sysinfo type='smbios'> <system> <entry name='manufacturer'>JUNIPER</entry> <entry name='product'>RE-GNF</entry> <entry name='version'>v2-mx480-gnf1-re0-vtnet0-vtnet1-vtnet3-vtnet2-external-0x009069136000:0x0800</entry> </system> </sysinfo> <os> <type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type> <boot dev='hd'/> <smbios mode='sysinfo'/> </os> <features> <acpi/> <apic/> </features> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/libexec/qemu-kvm</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='directsync' io='native'/> <source file='/vm-primary/gnf1/gnf1.img'/> <backingStore/> <target dev='hda' bus='virtio'/> <alias name='virtio-disk0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='directsync' io='native'/> <source file='/vm-primary/gnf1/var-config.img'/> <backingStore/> <target dev='vdb' bus='virtio'/> <alias name='virtio-disk1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='directsync' discard='unmap'/> <source file='/vm-primary/gnf1/swap-disk.img'/> <backingStore/> <target dev='hdc' bus='virtio'/> <alias name='virtio-disk2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='directsync' discard='unmap'/> <source file='/vm-primary/gnf1/aux-disk.img'/> <backingStore/> <target dev='hdb' bus='ide'/> <alias name='ide0-0-1'/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='directsync'/> <source file='/vm-primary/gnf1/usb-disk.img'/> <backingStore/> <target dev='sda' bus='usb'/> <alias name='usb-disk0'/> <address type='usb' bus='0' port='1'/> </disk> <controller type='usb' index='0'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'> <alias name='pci.0'/> </controller> <controller type='ide' index='0'> <alias name='ide'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <interface type='direct' trustGuestRxFilters='yes'> <mac address='52:54:00:09:ab:83'/> <source dev='ens2f0' mode='vepa'/> <target dev='macvtap0'/> <model type='virtio'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <interface type='direct' trustGuestRxFilters='yes'> <mac address='52:54:00:45:e3:ba'/> <source dev='ens2f1' mode='vepa'/> <target dev='macvtap1'/> <model type='virtio'/> <alias name='net1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </interface> <interface type='bridge'> <mac address='52:54:00:ee:73:93'/> <source bridge='bridge_jdm_vm'/> <target dev='vnet1'/> <model type='virtio'/> <alias name='net2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </interface> <interface type='direct'> <mac address='00:90:69:13:7f:00'/> <source dev='eno2' mode='bridge'/> <bandwidth> <inbound average='125000' peak='125000' burst='256'/> <outbound average='125000' peak='125000' burst='256'/> </bandwidth> <target dev='macvtap2'/> <model type='virtio'/> <driver name='qemu'/> <alias name='net3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </interface> <serial type='pty'> <source path='/dev/pts/6'/> <target port='0'/> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/6'> <source path='/dev/pts/6'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <input type='mouse' bus='ps2'> <alias name='input0'/> </input> <input type='keyboard' bus='ps2'> <alias name='input1'/> </input> <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/> </memballoon> </devices> <seclabel type='none' model='none'/> <seclabel type='dynamic' model='dac' relabel='yes'> <label>+107:+107</label> <imagelabel>+107:+107</imagelabel> </seclabel> </domain>
Release Information
Command introduced in Junos OS Release 17.2R1.