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

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

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

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

vrealize Network Insight Command Line Interface Guide

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

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

Installing vrealize Network Insight. VMware vrealize Network Insight 3.7

VMware Identity Manager Connector Installation and Configuration (Legacy Mode)

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

Upgrade Guide. vcloud Availability for vcloud Director 2.0

Installing vrealize Network Insight. VMware vrealize Network Insight 3.8

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

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

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

Deploy the ExtraHop Discover Appliance 1100

VMware Skyline Collector Installation and Configuration Guide. VMware Skyline 1.4

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

VMware vfabric Data Director Installation Guide

Installing and Configuring vcloud Connector

VMware Skyline Collector User Guide. VMware Skyline 1.4

Upgrading to VMware Identity Manager 2.7

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

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

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

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

Using vrealize Operations Tenant App as a Service Provider

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

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

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

Installing and Configuring vcenter Support Assistant

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

Upgrading to VMware Identity Manager 2.8. VMware Identity Manager 2.8

Overview of the Cisco NCS Command-Line Interface

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

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

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

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

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

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

VMware vrealize Log Insight Getting Started Guide

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

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

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

Installing or Upgrading ANM Virtual Appliance

VMware Application Proxy v Guide. vrealize Operations Manager 6.7

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

vrealize Operations Management Pack for NSX for vsphere 3.0

Installing and Configuring vcloud Connector

VMware vfabric Data Director Installation Guide

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

vcenter CapacityIQ Installation Guide

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

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

Getting Started with ESXi Embedded

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

Deploy the ExtraHop Discover Appliance in Azure

Implementing Infoblox Data Connector 2.0

Migrating vrealize Automation 6.2 to 7.2

vcenter CapacityIQ Installation Guide

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

Upgrading to VMware Identity Manager 3.3 (Linux) SEPT 2018 VMware Identity Manager 3.3

Plexxi Control Installation, Upgrade and Administration Guide Release 3.2.0

Installing the Cisco Virtual Network Management Center

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

Horizon DaaS Platform 6.1 Service Provider Installation - vcloud

Deploy the ExtraHop Trace 6150 Appliance

vcloud Usage Meter 3.5 User's Guide vcloud Usage Meter 3.5

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

Cisco Modeling Labs OVA Installation

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

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

Directory Integration with VMware Identity Manager

Using the Cisco NCS Command-Line Interface

VMware Horizon Cloud Service on Microsoft Azure Administration Guide

NSX-T Upgrade Guide. VMware NSX-T 2.0

Migrating vrealize Automation 6.2 to 7.1

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

Upgrading VMware Identity Manager Connector

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

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

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

Upgrading to VMware Identity Manager 2.4. x from 2.4

vrealize Operations Management Pack for NSX for vsphere 3.5.0

NSX-T Upgrade Guide. VMware NSX-T 2.1

AppDefense Getting Started. VMware AppDefense

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

Setting Up Resources in VMware Identity Manager

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

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

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

Dell Storage Compellent Integration Tools for VMware

Transcription:

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

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 Useful Keyboard Shortcuts 9 3 vrealize Network Insight CLI Commands 11 appliance-reboot 12 custom-cert 12 disk-usage 13 help 13 logout 13 log-trace 13 modify-password 14 nslookup 14 offline-registration 15 package-installer 15 ping 16 telnet 16 services 17 set-banner 17 set-proxy-shared-secret 18 setup 18 set-web-proxy 19 show-service-status 20 show-version 20 support-tunnel 21 show-config 21 show-connectivity-status 22 ssh-service 22 support-bundle 23 telemetry 23 tool-manager 24 traceroute 24 update-ip-change 25 vrni-proxy 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.

Useful Keyboard Shortcuts 2 Table 2 1. Keyboard Shortcut Function Example ctrl+u to undo complete line (to provide same effect as ctrl+c which has some other specific interpretation in CLI) (cli) modify-password system --user foo Using ctrl+u in the above example results in: (cli)modify-password system --user ctrl+w to undo words (cli) modify-password system --user foo Using ctrl+w in the above example results in: (cli) VMware, Inc. 9

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

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

vrealize Network Insight Command Line Interface Guide tool-manager, on page 24 traceroute, on page 24 update-ip-change, on page 25 vrni-proxy, on page 25 appliance-reboot This reference includes examples for syntax information for appliance-reboot command. Table 3 1. 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. custom-cert This reference includes examples for syntax information for custom-cert command. Table 3 2. 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 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 12 VMware, Inc.

Chapter 3 vrealize Network Insight CLI Commands disk-usage This reference includes examples for syntax information for disk-usage command. Table 3 3. disk-usage Command Usage Examples disk-usage Displays current disk partition disk usage statistics. disk-usage disk-usage help This reference includes examples for syntax information for help command. Table 3 4. 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 logout This reference includes examples for syntax information for logout command. Table 3 5. logout Command Usage Examples logout Exits from the interactive shell of the CLI. log-trace This reference includes examples for syntax information for log-trace command. Table 3 6. 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) VMware, Inc. 13

vrealize Network Insight Command Line Interface Guide 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) modify-password The modify-password command is used to reset the password of the UI or the system user. Table 3 7. 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 3 8. positional arguments: {system, ui} optional arguments: -h, --help Example invocations: modify-password ui [-h] --user USER modify-password system [-h] --user {support,consoleuser} nslookup This reference includes examples for syntax information for nslookup command. Table 3 9. 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 14 VMware, Inc.

Chapter 3 vrealize Network Insight CLI 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. offline-registration This reference includes examples for syntax information for offline-registration command. Table 3 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 package-installer This reference includes examples for syntax information for package-installer command. Table 3 11. package-installer Command package-installer Manage upgrade (offline). Table 3 12. 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 3 13. 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 VMware, Inc. 15

vrealize Network Insight Command Line Interface Guide --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. ping This reference includes examples for syntax information for ping command. Table 3 14. 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 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 3 15. 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 16 VMware, Inc.

Chapter 3 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. services This reference includes examples for syntax information for services command. Table 3 16. 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. set-banner This reference includes examples for syntax information for set-banner command. Table 3 17. 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. 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 3 18. 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. setup This reference includes examples for syntax information for setup command. Table 3 19. 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 18 VMware, Inc.

Chapter 3 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 set-web-proxy This reference includes examples for syntax information for set-web-proxy command. Table 3 20. 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 --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. VMware, Inc. 19

vrealize Network Insight Command Line Interface Guide 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. show-version This reference includes examples for syntax information for show-version command. Table 3 21. tool-manager Command tool-manager Displays current version. 20 VMware, Inc.

Chapter 3 vrealize Network Insight CLI Commands Table 3 22. Usage Command show-version Show current vrealize Network Insight version. support-tunnel This reference includes examples for syntax information for support-tunnel command. Table 3 23. 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. show-config This reference includes examples for syntax information for show-config command. Table 3 24. 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 VMware, Inc. 21

vrealize Network Insight Command Line Interface Guide show-connectivity-status This reference includes examples for syntax information for show-connectivity-status command. Table 3 25. 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 ssh-service Enables or disables the service. Table 3 26. 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 3 27. enable disable status Enables or disables the service or provides the status of the service. 22 VMware, Inc.

Chapter 3 vrealize Network Insight CLI Commands support-bundle This reference includes examples for syntax information for support-bundle command. Table 3 28. 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 telemetry This reference includes examples for syntax information for telemetry command. Table 3 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 3 30. enable disable show Provides the status or enables or disables the system health data collection. VMware, Inc. 23

vrealize Network Insight Command Line Interface Guide tool-manager This reference includes examples for syntax information for tool-manager command. Table 3 31. tool-manager Command tool-manager Helps to run tool Table 3 32. 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 3 33. 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. traceroute This reference includes examples for syntax information for traceroute command. Table 3 34. 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 24 VMware, Inc.

Chapter 3 vrealize Network Insight CLI Commands 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. update-ip-change This reference includes examples for syntax information for update-ip-change command. Table 3 35. update IP change Command Usage Examples update-ip-change Update Platform configuration after IP Address change on other Platforms in a cluster update-ip-change [-h] old_ip new_ip update-ip-change 192.168.1.10 192.168.1.100 old_ip new_ip Old IP of Platform New IP of Platform vrni-proxy This reference includes examples for syntax information for vrni-proxy command. Table 3 36. vrni-proxy Command vrni-proxy vrealize Network Insight proxy managing utility. Table 3 37. 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 3 38. --ip-or-fqdn Provide IP Address if Platform is onprem Provide FQDN if Platform is onsaas VMware, Inc. 25

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

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

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