Initial vSensor configuration at CLI
Changing from DHCP (default) to static addressing, configuring DNS servers, changing password, and verifying KVM vSensor connectivity.
vSensor IP Addressing via CLI
If you are not using DHCP or would like to set a static address, you will need to login to the CLI of the vSensor to set a static interface assignment. DNS for vSensors must also be configured at the CLI.
vSensor login at the CLI is very similar to logging in to physical Sensors. The primary difference is that there is no physical serial console, IPMI/iDRAC, or other ports to log in to. Logging in can be done via your hypervisor console function or using SSH to the management port if it was preconfigured with DHCP.
Connect to your vSensor CLI using your hypervisor console or
ssh vectra@<IP or Hostname>if you use DHCP and already know the address or hostname.If the vSensor has shown up in the Brain UI then you should be able to see its IP address in Configuration → COVERAGE → Data Sources > Network > Sensors as well.
The initial password is
changethispassword. You will be asked to change this when logging in to a paired and updated vSensor.
Once logged in to the appliance you can view command syntax for the
set interfacecommand.
set interface -h
Usage: set interface [OPTIONS] [mgt1] [dhcp|static] [IP] [SUBNET_MASK]
[GATEWAY_ADDRESS]
Sets mgt1 to either dhcp or static ip configuration
Options:
-h, --help Show this message and exit.Setting a Static IP Address
Both IPv4 and IPv6 are supported for the management interface (MGT1). For full details, including information regarding dual stack support, please IPv6 Management Support for Vectra Appliances on the Vectra support portal. Below we will show how to enable IPv6 support (its off by default) and the syntax to use when setting an IPv4 or IPv6 address.
To enable/disable IPv6 support:
Setting IPv4 and IPv6 syntax examples:
Execute the following command to set the MGT1 interface to the desired static IP address:
To change back to DHCP (default):
Configuring DNS Servers
Command syntax:
Example:
Verifying DNS Configuration:
Change Password and Full Example
Once you have set an IP and DNS, please use the set password command to change the password or you may wait and change all paired Sensor passwords en masse in the Brain UI later at Configuration → COVERAGE → Data Sources → Network → Sensors → Sensor Configuration → CLI Password (Sensors) if you wish to keep them in sync.
Full example of setting an IPv4 static IP and DNS:
Verifying your Connectivity:
A Sensor (or Stream appliance) can pair with any Vectra Brain type. For example, the Brain can be a physical appliance, a Brain deployed in a IaaS cloud, or a Brain deployed in a traditional hypervisor environment on customer premises.
Sensors must be able to reach the Brain over the below ports. It is recommended to enable these ports bidirectionally to aid in troubleshooting.
TCP/443 (HTTPS) - Used for Sensor discovery and initial pairing connection.
TCP/22 (SSH) - Used for Paired Sensor connections.
Additionally, for online pairing (physical Sensors only), both the Sensor and Brain must be able to communicate with:
update2.vectranetworks.com or 54.200.156.238 over TCP/443 (HTTPS)
Please work with your security and networking contacts to ensure that the Sensor will be able to initiate a connection to the Brain. Sensors only communicate with the Vectra Brain and do not need to communicate to Vectra directly. Software updates for the Sensor will come from the Brain.
For full details on all potential firewall requirements in Vectra deployments, please see firewall requirements.
If your Sensor is already configured with an IP, it is recommended to ping the Brain IP to verify reachability before attempting pairing. Connectivity can be tested with the debug connectivity command.
For more detail, please see Checking brain or sensor network connectivity.
Example:
Last updated
Was this helpful?