vrealize Network Insight Command Line Interface Guide VMware vrealize Network Insight 3.4

Similar documents
vrealize Network Insight Command Line Interface Guide VMware vrealize Network Insight 3.5

vrealize Network Insight Command Line Interface Guide VMware vrealize Network Insight 3.3

vrealize Network Insight Command Line Interface Guide

vrealize Network Insight Command Line Interface Guide VMware vrealize Network Insight 3.6

Installing vrealize Network Insight

Installing vrealize Network Insight. VMware vrealize Network Insight 3.3

vrealize Network Insight Installation Guide

Installing vrealize Network Insight. VMware vrealize Network Insight 3.5

Installing vrealize Network Insight. VMware vrealize Network Insight 3.6

vrealize Network Insight Installation Guide

vrealize Suite Lifecycle Manager 1.0 Installation and Management vrealize Suite 2017

Upgrade Guide. vcloud Availability for vcloud Director 2.0

Installing vrealize Network Insight. VMware vrealize Network Insight 3.7

VMware Identity Manager Connector Installation and Configuration (Legacy Mode)

Installing vrealize Network Insight. VMware vrealize Network Insight 3.9

vcenter Server Appliance Configuration Modified on 17 APR 2018 VMware vsphere 6.7 VMware ESXi 6.7 vcenter Server 6.7

vrealize Suite Lifecycle Manager 1.1 Installation, Upgrade, and Management vrealize Suite 2017

vcenter Server Appliance Configuration Update 1 Modified on 04 OCT 2017 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

Installing and Configuring VMware Identity Manager Connector (Windows) OCT 2018 VMware Identity Manager VMware Identity Manager 3.

Installing vrealize Network Insight. VMware vrealize Network Insight 3.8

Installing and Configuring vcloud Connector

Deploy the ExtraHop Discover 3100, 6100, 8100, or 9100 Appliances

DCLI User's Guide. Data Center Command-Line Interface 2.7.0

Using vrealize Operations Tenant App for vcloud Director as a Tenant Admin

VMware Skyline Collector Installation and Configuration Guide. VMware Skyline 1.4

Deploy the ExtraHop Discover Appliance 1100

VMware Skyline Collector User Guide. VMware Skyline 1.4

DCLI User's Guide. Data Center Command-Line Interface 2.9.1

Setting Up Resources in VMware Identity Manager (On Premises) Modified on 30 AUG 2017 VMware AirWatch 9.1.1

DCLI User's Guide. Modified on 20 SEP 2018 Data Center Command-Line Interface

VMware vfabric Data Director Installation Guide

Deploying VMware Identity Manager in the DMZ. JULY 2018 VMware Identity Manager 3.2

Using vrealize Operations Tenant App as a Service Provider

VMware Identity Manager Cloud Deployment. Modified on 01 OCT 2017 VMware Identity Manager

VMware Identity Manager Cloud Deployment. DEC 2017 VMware AirWatch 9.2 VMware Identity Manager

VMware Skyline Collector Installation and Configuration Guide. VMware Skyline Collector 2.0

Reconfiguring VMware vsphere Update Manager. 17 APR 2018 VMware vsphere 6.7 vsphere Update Manager 6.7

Setting Up Resources in VMware Identity Manager (SaaS) Modified 15 SEP 2017 VMware Identity Manager

Overview of the Cisco NCS Command-Line Interface

Reconfiguring VMware vsphere Update Manager. Update 1 VMware vsphere 6.5 vsphere Update Manager 6.5

Administering vrealize Log Insight. September 20, 2018 vrealize Log Insight 4.7

Deploying VMware Identity Manager in the DMZ. SEPT 2018 VMware Identity Manager 3.3

Installing and Configuring vcloud Connector

Installing and Configuring vcenter Support Assistant

VMware vrealize Log Insight Getting Started Guide

Upgrading to VMware Identity Manager 2.7

vcenter Server Installation and Setup Modified on 11 MAY 2018 VMware vsphere 6.7 vcenter Server 6.7

vrealize Suite Lifecycle Manager 2.0 Installation, Upgrade, and Management VMware vrealize Suite Lifecycle Manager 2018

Upgrading to VMware Identity Manager 3.0. SEP 2017 VMware AirWatch 9.2 VMware Identity Manager 3.0

vsphere Upgrade Update 2 Modified on 4 OCT 2017 VMware vsphere 6.0 VMware ESXi 6.0 vcenter Server 6.0

DCLI User's Guide. Data Center Command-Line Interface

vcenter Server Installation and Setup Update 1 Modified on 30 OCT 2018 VMware vsphere 6.7 vcenter Server 6.7

Horizon DaaS Platform 6.1 Service Provider Installation - vcloud

Upgrading to VMware Identity Manager 2.8. VMware Identity Manager 2.8

vcenter CapacityIQ Installation Guide

VMware Application Proxy v Guide. vrealize Operations Manager 6.7

Implementing Infoblox Data Connector 2.0

Workspace ONE UEM Certificate Authentication for Cisco IPSec VPN. VMware Workspace ONE UEM 1810

Deploy the ExtraHop Discover Appliance in Azure

VMware Horizon Cloud Service on Microsoft Azure Administration Guide

vsphere Upgrade Update 1 Modified on 4 OCT 2017 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

vrealize Operations Management Pack for NSX for vsphere 3.0

vcenter CapacityIQ Installation Guide

VMware Integrated OpenStack with Kubernetes Getting Started Guide. VMware Integrated OpenStack 4.0

Plexxi Control Installation, Upgrade and Administration Guide Release 3.2.0

Installing the Cisco Virtual Network Management Center

VMware vfabric Data Director Installation Guide

ISE Express Installation Guide. Secure Access How -To Guides Series

NSX-T Data Center Migration Coordinator Guide. 5 APR 2019 VMware NSX-T Data Center 2.4

VMware vcenter Server Appliance Management Programming Guide. Modified on 28 MAY 2018 vcenter Server 6.7 VMware ESXi 6.7

Setting Up Resources in VMware Identity Manager

Cisco Modeling Labs OVA Installation

Installing and Configuring VMware Identity Manager. DEC 2017 VMware AirWatch 9.2 VMware Identity Manager 3.1

Integrating AirWatch and VMware Identity Manager

Setting Up Resources in VMware Identity Manager. VMware Identity Manager 2.8

Migrating vrealize Automation 6.2 to 7.2

Installing or Upgrading ANM Virtual Appliance

Kerberos Constrained Delegation Authentication for SEG V2. VMware Workspace ONE UEM 1811

Planning and Preparation. VMware Validated Design 4.0 VMware Validated Design for Remote Office Branch Office 4.0

Installing and Configuring VMware Identity Manager for Linux. Modified MAY 2018 VMware Identity Manager 3.2

vcloud Usage Meter 3.6 User's Guide vcloud Usage Meter 3.6

Plexxi HCN Control Software Installation, Upgrade and Administration Guide Release through 3.3.0

VMware vsphere Replication Security Guide

Upgrading VMware Identity Manager Connector. Modified on OCT 12, 2017 VMware Identity Manager 2.9.2

vrealize Operations Management Pack for NSX for vsphere 3.5.0

Table of Contents. Configure and Manage Logging in to the Management Portal Verify and Trust Certificates

Installing and Configuring VMware Identity Manager. Modified on 14 DEC 2017 VMware Identity Manager 2.9.1

VMware vrealize Code Stream Reference Architecture. 12 APRIL 2018 vrealize Code Stream 2.4

vrealize Suite Lifecycle Manager 1.3 Installation, Upgrade, and Management vrealize Suite 2017

Upgrading VMware Identity Manager Connector. DEC 2017 VMware AirWatch 9.2 VMware Identity Manager 3.1

Deploy the ExtraHop Trace 6150 Appliance

Using vrealize Log Insight Importer. April 12, 2018 vrealize Log Insight 4.6

Installing and Configuring VMware Identity Manager

IaaS Integration for Multi- Machine Services. vrealize Automation 6.2

Deploy the ExtraHop Discover Appliance with VMware

Infrastructure Navigator Installation and Administration Guide

Table of Contents 1.1. Install, Deploy, Maintain Infrastructure Installation Download. Deploy the Appliance

VMware Horizon Cloud Service on Microsoft Azure Administration Guide

Migrating vrealize Automation 6.2 to 7.1

vrealize Operations Management Pack for NSX for vsphere 2.0

Transcription:

vrealize Network Insight Command Line Interface Guide VMware vrealize Network Insight 3.4

vrealize Network Insight Command Line Interface Guide You can find the most up-to-date technical documentation on the VMware Web site at: https://docs.vmware.com/ The VMware Web site also provides the latest product updates. If you have comments about this documentation, submit your feedback to: docfeedback@vmware.com Copyright 2017 VMware, Inc. All rights reserved. Copyright and trademark information. VMware, Inc. 3401 Hillview Ave. Palo Alto, CA 94304 www.vmware.com 2 VMware, Inc.

Contents About vrealize Network Insight Command Line Interface User Guide 5 1 Log in to the vrealize Network Insight CLI 7 2 vrealize Network Insight CLI Commands 9 help 10 show-service-status 11 set-web-proxy 11 logout 12 nslookup 12 ping 12 telnet 13 setup 14 services 15 support-tunnel 16 offline-registration 16 show-config 17 show-connectivity-status 17 set-proxy-shared-secret 18 support-bundle 18 log-trace 19 disk-usage 19 logs-to-cloud 20 package-installer 20 tool-manager 21 vrni-proxy 21 show-version 22 telemetry 22 modify-password 23 ssh-service 23 custom-cert 23 appliance-reboot 24 traceroute 24 set-banner 25 Index 27 VMware, Inc. 3

vrealize Network Insight Command Line Interface Guide 4 VMware, Inc.

About vrealize Network Insight Command Line Interface User Guide The vrealize Network Insight Command Line Interface User Guide provides information on Command Line Interface (CLI) to manage the Proxy and Platform configuration. The CLI includes an auto-complete feature that recognizes a command by its initial characters and completes the command when you press the Tab key. Each command has a -h option parameter that provides information on that command. Intended Audience This information is intended for administrators or specialists responsible for using vrealize Network Insight command line interface. The information is written for experienced virtual machine administrators who are familiar with enterprise management applications and datacenter operations. VMware Technical Publications Glossary VMware Technical Publications provides a glossary of terms that might be unfamiliar to you. For definitions of terms as they are used in VMware technical documentation, go to http://www.vmware.com/support/pubs. VMware, Inc. 5

vrealize Network Insight Command Line Interface Guide 6 VMware, Inc.

Log in to the vrealize Network 1 Insight CLI vrealize Network Insight provides CLI login credentials using Secure Socket Shell (SSH) client or the console. Log into the command line interface. Procedure 1 Type consoleuser as the user name. 2 Type ark1nc0ns0l3 as the password. VMware, Inc. 7

vrealize Network Insight Command Line Interface Guide 8 VMware, Inc.

vrealize Network Insight CLI 2 Commands This reference includes examples for syntax information for each command. This chapter includes the following topics: help, on page 10 show-service-status, on page 11 set-web-proxy, on page 11 logout, on page 12 nslookup, on page 12 ping, on page 12 telnet, on page 13 setup, on page 14 services, on page 15 support-tunnel, on page 16 offline-registration, on page 16 show-config, on page 17 show-connectivity-status, on page 17 set-proxy-shared-secret, on page 18 support-bundle, on page 18 log-trace, on page 19 disk-usage, on page 19 logs-to-cloud, on page 20 package-installer, on page 20 tool-manager, on page 21 vrni-proxy, on page 21 show-version, on page 22 telemetry, on page 22 modify-password, on page 23 ssh-service, on page 23 VMware, Inc. 9

vrealize Network Insight Command Line Interface Guide custom-cert, on page 23 appliance-reboot, on page 24 traceroute, on page 24 set-banner, on page 25 help This reference includes examples for syntax information for help command. Table 2 1. help Command Usage Examples help Displays a list of commands with a short description about their use. To view the list of commands without short description, use the -a flag. help help -a 10 VMware, Inc.

Chapter 2 vrealize Network Insight CLI Commands show-service-status This reference includes examples for syntax information for show-service-status command. show-service-status Command Usage Examples Shows the status of all vrealize Network Insight services running on the PLATFORM or PROXY VMs. show-servicestatus PLATFORM- (cli) show-service-status ElasticSearch is running. HMaster is running. HRegionServer is running. Kafka is running. QuorumPeerMain is running. QuorumPeerMain is running. ResourceManager is running. NodeManager is running. restapilayer is running. SaasListener is running. SamzaAppMaster is running. SamzaContainer is running. Launcher is running. postgresql is running. nginx is running. patroni is running. QuorumPeerMain is running. All required services are running. QuorumPeerMain is running. QuorumPeerMain is running. QuorumPeerMain is running. QuorumPeerMain is running. PROXY- (cli) show-service-status CollectorMain is running. IpfixProcessor is running. postgresql is running. nginx is running. nfcapd is running. set-web-proxy This reference includes examples for syntax information for set-web-proxy command. Table 2 2. set-web-proxy Command Usage Examples set-web-proxy Enables or disables the Web proxy or shows the status of the Web proxy. set-web-proxy [--ip IP] [--port PORT] {enable,disable,show} set-web-proxy enable -- ip-fqdn "x.y.local" -- port 8080 VMware, Inc. 11

vrealize Network Insight Command Line Interface Guide --ip --port enable disable show IP address to enable the Web proxy. Port number to enable the Web proxy. Enables or disables or displays the configuration settings. logout This reference includes examples for syntax information for logout command. Table 2 3. logout Command Usage Examples logout Exits from the interactive shell of the CLI. nslookup This reference includes examples for syntax information for nslookup command. Table 2 4. nslookup Command Usage Examples nslookup Queries Internet name servers interactively. nslookup FQDN nslookup example.com fqdn Server name to query such as example.com. Related Commands Command ping telnet traceroute Pings a machine. Tests whether a specific TCP port is open. Prints route IP packets sent to a remote host. ping This reference includes examples for syntax information for ping command. Table 2 5. ping Command Usage Examples ping Pings a host. ping host ping example.com host IP address or FQDN of the host to ping. Related Commands 12 VMware, Inc.

Chapter 2 vrealize Network Insight CLI Commands Command nslookup telnet traceroute Queries Internet name servers interactively. Tests whether a specific TCP port is open. Prints route IP packets sent to a remote host. telnet This reference includes examples for syntax information for telnet command. Table 2 6. ping Command Usage Examples telnet Test whether a specific TCP port is open. This command is for interactive communication with the host on a particular port number. PORT is an optional parameter. You must provide a host other than localhost or 127.0.0.1. telnet host port telnet 192.168.0.59 80 telnet example.com 80 host port IP address or FQDN of the host to ping. Port number of the host. Related Commands Command nslookup telnet traceroute Queries Internet name servers interactively. Tests whether a specific TCP port is open. Prints route IP packets sent to a remote host. VMware, Inc. 13

vrealize Network Insight Command Line Interface Guide setup This reference includes examples for syntax information for setup command. Table 2 7. setup Command Usage Examples setup Sets up the network configuration. This command works in two modes: no arguments (default interactive) and with-ova-params. In the default interactive mode, no parameters are specified and multiple questions appear. In the with-ovaparams mode, the command runs with parameters specified during OVA deployment. You can only change the IP address before the pairing of the Platform and Proxy. If the gateway IP subnet changes, you might need to reboot the VM. setup [{with-ovaparams}] setup setup with-ova-params 14 VMware, Inc.

Chapter 2 vrealize Network Insight CLI Commands - No parameters Running setup: Interactive Mode. Running setup: Interactive Mode. Warning!!!: Only selective configuration can be changed (y/n):y ovaops: configure deployed state Currently IP_Address = 192.168.21.56, keep this (y/n)? [ y ]: n Enter new IP_Address (e.g. 192.168.0.10): 192.168.21.50 Currently Netmask = 255.255.255.0, keep this (y/n)? [ y ]: y Currently Default_Gateway = 192.168.21.1, keep this (y/n)? [ y ]: y Currently DNS = 4.2.2.4 8.8.8.8, keep this (y/n)? [ y ]: y Currently Domain_Search = [None], keep this (y/n)? [ y ]: y Currently NTP = 0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org, keep this (y/n)? [ y ]: y Currently Rsyslog_IP = [None], keep this (y/n)? [ y ]: y Currently Web_Proxy_IP = [None], keep this (y/n)? [ y ]: y Currently Web_Proxy_Port = [None], keep this (y/n)? [ y ]: y Currently Log_Push = True, keep this (y/n)? [ y ]: y y -------------------------------------------------------------------- Received below values: -------------------------------------------------------------------- IP_Address = 192.168.21.50 Netmask = 255.255.255.0 Default_Gateway = 192.168.21.1 DNS = 4.2.2.4 8.8.8.8 Domain_Search = [None] NTP = 0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org Rsyslog_IP = [None] Web_Proxy_IP = [None] Web_Proxy_Port = [None] Log_Push = True Configure and save configuration (y/n) [ y ]: n withovaparams Uses parameters passed during OVA deployment services This reference includes examples for syntax information for services command. Table 2 8. services Command Usage Examples services Starts, stops, or restarts vrealize Network Insight services. services {start,stop,restart} services start services stop services restart start stop restart Starts, stops, or restarts the appliance service based on the parameter that you pass. VMware, Inc. 15

vrealize Network Insight Command Line Interface Guide support-tunnel This reference includes examples for syntax information for support-tunnel command. Table 2 9. nslookup Command Usage Examples supporttunnel Enables, disables, or shows the status of the support tunnel. support-tunnel {enable,disable,stat us} support-tunnel enable support-tunnel disable support-tunnel status enable disable status Provides the status or enables or disables the support tunnel. offline-registration This reference includes examples for syntax information for offline-registration command. Table 2 10. offline-registration Command Usage Examples offline-registration Generates offline registration request and applies provided response offline-registration - h offline-registration offline-registration apply-response -h To apply response, you have to pass the response offline-registration apply-response [-h] response positional arguments: {generate-request,apply-response} subcommand help response optional arguments: -h, --help generate-request: output data needed to give to vmware support apply-response: apply response from vmware support response: Response string provided by VMware support show this help message and exit 16 VMware, Inc.

Chapter 2 vrealize Network Insight CLI Commands show-config This reference includes examples for syntax information for show-config command. Table 2 11. show-config Command Usage Examples show-config Shows the CLI configurations. Displays the CLI console banner, network configurations, and ova parameters. show-config (cli) show-config network configurations: IP Address: 192.168.21.55 Netmask: 255.255.255.0 Gateway: 192.168.21.1 DNS nameservers: 4.2.2.4 8.8.8.8 Domain Search list: arkin.net NTP servers: 0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org show-connectivity-status This reference includes examples for syntax information for show-connectivity-status command. Table 2 12. show-connectivity-status Command Examples show-connectivity-status Displays the connectivity status with all systems. (cli) show-connectivity-status Platform VM Deployment UUID: U12xx08ba-d62e-4745- b73c-9eef6ca9f0b1 Deployment ID: DXX11XX Instance ID: IXXX11X Created On: Fri May 19 11:47:23 UTC 2017 (1495194443) IP Address: 10.126.102.231 Netmask: 255.255.252.0 Gateway: 10.126.103.253 DNS nameservers: 10.148.20.5 10.148.20.6 NTP servers: time.vmware.com NTP status: InSync [10.113.60.176/2/377] Gateway ping status: Success Upgrade connectivity status (svc.ni.vmware.com:443): Passed Support connectivity status (support2.ni.vmware.com:443): Enabled Logserver connectivity status (log.ni.vmware.com:443): Passed Registration connectivity status (reg.ni.vmware.com:443): Passed Registration status: Registered VMware, Inc. 17

vrealize Network Insight Command Line Interface Guide set-proxy-shared-secret This reference includes examples for syntax information for set-proxy-shared-secret command. Table 2 13. set-proxy-shared-secret Command Examples set-proxy-shared-secret Configures the platform IP only on the Proxy VM.. set-proxy-shared-secret {secret} secret Secret key that the platform interface generates. support-bundle This reference includes examples for syntax information for support-bundle command. Table 2 14. support-bundle Command Usage Examples support-bundle Provides support related logs for debugging. support-bundle [-h] {list,create,delete,co py} list create delete copy Lists all support bundles created so far. Example: support-bundle list Creates a support bundle to be shared for debugging. Example: support-bundle create Deletes specific or all bundle files. Example: To delete a specific bundle file: support-bundle delete --bundle DOAUAAO-IOAUACW-07252016-162328 To delete all bundle files: support-bundle delete SCP to any host for sharing with the support team. Example: support-bundle copy --user support --ip 192.168.1.1 --port 22 --bundle DOAUAAO-IOAUACW-07252016-162328 --targetpath /tmp 18 VMware, Inc.

Chapter 2 vrealize Network Insight CLI Commands log-trace This reference includes examples for syntax information for log-trace command. Table 2 15. log-trace Command Usage Examples log-trace Displays a list of all log files and also component specific logs that help during debugging. log-trace [-h] {list,grep,follow,disp lay} log-trace list log-trace follow /var/log/arkin/a rkin_cli_install.log log-trace grep "ERROR" /var/log/arki n/arkin_cli_install.log log-trace display /var/log/arki n/arkin_cli_install.log 20 (to display last 20 lines) list follow grep display Lists all log files that can be displayed and also lists the component specific logs. Example: log-trace list Usage: log-trace [-h] follow <file name> Example: log-trace follow /var/log/arkin/arkin_cli_install.log Usage: usage: log-trace grep [-h] pattern filename Example: log-trace grep "ERROR" /var/log/arkin/arkin_cli_install.log Usage: usage: log-trace display [-h] filename numlines Example: log-trace display /var/log/arkin/arkin_cli_install.log 20 (to display last 20 lines) disk-usage This reference includes examples for syntax information for disk-usage command. Table 2 16. disk-usage Command Usage Examples disk-usage Displays current disk partition disk usage statistics. disk-usage disk-usage VMware, Inc. 19

vrealize Network Insight Command Line Interface Guide logs-to-cloud This reference includes examples for syntax information for logs-to-cloud command. Table 2 17. logs-to-cloud Command Usage Examples logs-to-cloud Enables, disables or displays status of the logs that are pushed to the cloud. logs-to-cloud [-h] {show,enable,disable} logs-to-cloud enable logs-to-cloud disable logs-to-cloud status enable disable status Provides the status or enables or disables the logs that are pushed to the cloud. package-installer This reference includes examples for syntax information for package-installer command. Table 2 18. package-installer Command package-installer Manage upgrade (offline). Table 2 19. Usage Command package-installer copy --host <IP> --user <username> --path <bundle file absolute path> package-installer upgrade -h --name Copy the bundle to vrni Platform/Proxy. Run the upgrade Table 2 20. Example Command package-installer copy --host 192.168.21.22 --user ubuntu --path /home/ubuntu/vmware-vrni.3.1.0.1473143945.upgrade.bundle package-installer upgrade [-h] --name NAME --host --user --path IP address, where upgrade bundle is downloaded from VMware download portal. Upgrade bundle should be downloaded on any Linux machine from where the bundle can be scp to vrealize Network Insight Platform or Proxy. User, who can be used to authenticate the Linux machine. Source path where the bundle is downloaded from VMware portal on Linux Machine. --port (Optional) - In case ssh port on Linux machine running other than port 22. 20 VMware, Inc.

Chapter 2 vrealize Network Insight CLI Commands tool-manager This reference includes examples for syntax information for tool-manager command. Table 2 21. tool-manager Command tool-manager Helps to run tool. Table 2 22. Usage Command tool-manager copy --host <IP> --user <username> - -path <tool bundle file absolute path> tool-manager run --name <tool name> Copy the tool bundle to vrealize Network Insight Platform/Proxy. Run tool tool-manager run [-h] --name <tool name> tool-manager copy url Table 2 23. Example Command tool-manager copy --host 192.168.21.18 --user ubuntu --path /home/ubuntu/patch-onlineupgrade-3.0.0_201609151002.bundle tool-manager run --name patch-online-upgrade-3.0.0_201609151002 tool-manager copy url https://bundle-hosting-url.com/patch.bundle --host --user --path IP address, where upgrade bundle is downloaded from VMware download portal. Upgrade bundle should be downloaded on any Linux machine from where the bundle can be scp to vrealize Network Insight Platform or Proxy. User, who can be used to authenticate the Linux machine. Source path where the bundle is downloaded from VMware portal on Linux Machine. --port (Optional) - In case ssh port on Linux machine running other than port 22. vrni-proxy This reference includes examples for syntax information for vrni-proxy command. Table 2 24. vrni-proxy Command vrni-proxy vrealize Network Insight proxy managing utility. VMware, Inc. 21

vrealize Network Insight Command Line Interface Guide Table 2 25. Example Command ONSAAS: vrni-proxy set-platform --ip-or-fqdn 192.168.10.12 ONPREM: vrni-proxy set-platform --ip-or-fqdn platform.exampledomain.com vrni-proxy platform-pair-status Table 2 26. --ip-or-fqdn Provide IP Address if Platform is onprem Provide FQDN if Platform is onsaas show-version This reference includes examples for syntax information for show-version command. Table 2 27. tool-manager Command tool-manager Displays current version. Table 2 28. Usage Command show-version Show current vrealize Network Insight version. telemetry This reference includes examples for syntax information for telemetry command. Table 2 29. telemetry Command Usage Examples telemetry Enables, disables, or shows the status of the system health data collection. telemetry {enable,disable,show} telemetry enable telemetry disable telemetry show Table 2 30. enable disable show Provides the status or enables or disables the system health data collection. 22 VMware, Inc.

Chapter 2 vrealize Network Insight CLI Commands modify-password The modify-password command is used to reset the password of the UI or the system user. Table 2 31. modify-password Command Usage Examples modify-password Reset the password of the UI or the system user (cli) modify-password [-h] modify-password [- h] {system, ui} modify-password system modify-password ui Table 2 32. positional arguments: {system, ui} optional arguments: -h, --help Example invocations: modify-password ui [-h] --user USER modify-password system [-h] --user {support,consoleuser} ssh-service Table 2 33. ssh-service Command Usage Examples ssh-service Enable or disable SSH service ssh-service [-h] {status,enable,dis able} ssh-service status ssh-service enable ssh-service disable Table 2 34. enable disable status Enables or disables the service or provides the status of the service. custom-cert This reference includes examples for syntax information for custom-cert command. Table 2 35. custom-cert Command Usage Examples custom-cert Applies custom certificate for UI access custom-cert [-h] {copy,apply,list,remov e,display} custom-cert list custom-cert apply custom-cert display custom-cert remove VMware, Inc. 23

vrealize Network Insight Command Line Interface Guide positional arguments: {copy,apply,list,remove,display} copy copies file locally using scp Example of copy: (cli) custom-cert copy --host 10.1.1.1 --user adminxyz --port 22 --path /tmp/file.crt cli) custom-cert copy --host 10.1.1.1 --user adminxyz --port 22 --path /tmp/file.key apply recertifies setup with new certificate list lists custom certificate remove removes custom certificate display displays custom certificate details appliance-reboot This reference includes examples for syntax information for appliance-reboot command. Table 2 36. appliance-reboot Command Usage Examples appliance-reboot Reboots the appliance appliance-reboot [-h] {now} appliance-reboot now positional arguments: {now} Used to avoid accidental invocation. traceroute This reference includes examples for syntax information for traceroute command. Table 2 37. traceroute Command Usage Example traceroute Prints route IP packets sent to a remote host for the host that you provide as the parameter. traceroute host traceroute examples.com host Name of the host such as example.com. Related Commands Command nslookup telnet traceroute Queries Internet name servers interactively. Tests whether a specific TCP port is open. Prints route IP packets sent to a remote host. 24 VMware, Inc.

Chapter 2 vrealize Network Insight CLI Commands set-banner This reference includes examples for syntax information for set-banner command. Table 2 38. set-banner Command Usage Examples set-banner Sets the ssh banner. Sets the post-login banner for consoleuser set-banner [-h] {support,consoleuser } banner set-banner support Text set-banner consoleuser Text positional arguments: {support,consoleuser} banner Quoted text with \n for new line Example invocations: (cli) set-banner support "This is a ssh banner.\nrestricted access only!!" Successfully set banner! (cli) set-banner consoleuser "This is a post-login banner for consoleuser" Successfully set banner! (cli) logout # ssh support@10.126.55.193 This is a ssh banner. Restricted access only!! support@10.126.55.193's password: # ssh consoleuser@10.126.55.193 This is a ssh banner. Restricted access only!! consoleuser@10.126.55.193's password: This is a post-login banner for consoleuser (cli) VMware, Inc. 25

vrealize Network Insight Command Line Interface Guide 26 VMware, Inc.

Index A appliance-reboot 24 C custom-certcustom 23 D disk-usage 19 G glossary 5 show-service-status 11 show-version 22 T telnet 13 tool-manager 21 traceroute 24 V vrni-proxy 21 H help 10 I intended audience 5 L log-trace 19 login 7 logout 12 logs-to-cloud 20 M modify-password 23 N nslookup 12 O offline-registration 16 P package-installer 20 ping 12 S services 15 set-banner 25 set-proxy-shared-secret 18 set-web-proxy 11 setup 14 show-config 17 show-connectivity-status 17 VMware, Inc. 27

vrealize Network Insight Command Line Interface Guide 28 VMware, Inc.