tpvm deploy

Performs TPVM and Insight Interface set up and configuration.

Syntax

tpvm deploy insight admin-pwd allow-pwdless confirm-pwd gw ipaddr
tpvm deploy mgmt admin-pwd allow-pwdless confirm-pwd [dhcp ]gw ipaddr

Command Default

This feature is not enabled.

Parameters

insight

Configures the insight (Eth1) interface.

mgmt

Configures the management (Eth0) interface.

admin-pwd
(Optional) Sets password for admin user account for TPVM. Requires password to be entered twice.
allow-pwdless

(Optional) Enables passwordless configuration for ssh and sudo access.

confirm-pwd
Confirms password for admin user account for TPVM.
dhcp
(Optional under mgmt) Default is static. If selected, dhcp fetches an ip-address and gateway. If dhcp is not selected, the static IP configuration must be supplied.
With a static IP configuration, a gateway IP is optional.
gw
(Optional) Sets the IP address of the default gateway.
ipaddr
(Optional) Configures the static interface IPV4 address and netmask.

Modes

Privileged EXEC mode

Usage Guidelines

This command performs the following installation and configuration operations:
  • Installation of TPVM
  • TPVM Networking set up
  • Enable Passwordless ssh to TPVM from root@slx
  • Enable passwordless “sudo” inside TPVM
  • Set the TPVM password for the default “admin” user

This command begins with the standard TPVM installation.

By default the TPVM managment interface eth0 is configured to acquire an IP Address via DHCP, whereas the eth1 address is manually configured by adding a static entry in /etc/network/interfaces.

The passwordless parameter within tpvm deploy allows you to configure ssh access from the root user account on the SLX-OS to TPVM without a password.

The TPVM default user is admin with sudo privileges. The tpvm deploy command configures TPVM so sudo for this user does not ask for a password. Setting this parameter once will persist for the lifetime of the TPVM.

TPVM ships with admin/password as the default login credential. To automate the TPVM setup and achieve one touch provisioning of TPVM, this optional parameter sets the password for the TPVM admin user account. Setting this parameter once will persist for the lifetime of the TPVM.

Auto-boot may be specified to restart the TPVM image automatically in subsequent reboots, such as an SLX-OS start on a Baremetal platform, or a HOST start on a VM-based platform.

After configuring the TPVM, tpvm deploy will start the TPVM. On a baremetal platform, a reboot of SLX will reboot TPVM. On a VM based platform, an SLX-OS reboot does not affect TPVM, however if the HOST reboots for any reason, TPVM also reboots.

Examples

The following example configures TPVM on Eth0 with a static IP and an admin password of "mypassword".

device# tpvm deploy mgmt ipaddr 10.25.101.121/22 gw 10.25.100.1 admin-pwd mypassword 
confirm mypassword 
Starting TPVM deploy CLI, please DO NOT hit CTRL+C
Tpvm install started
..Tpvm is installed
Tpvm set_ip succeeds
Tpvm password succeeds
auto-boot enable succeeds
Tpvm is started

The following example configures Eth0 with static IP, default gateway and passwordless login.

device# tpvm deploy mgmt ipaddr 192.168.1.1/24 gw 192.168.1.100
    allow-pwdless

The following example configures Eth1 with static IP, default gateway but no passwordless login and new TPVM password setup.

device# tpvm deploy insight ipaddr 10.10.10.1/24 gw 10.10.10.100 admin-pwd admin123
      confirm-pwd admin123

The following example configures Eth1 with Static IP, default gateway.

device# tpvm deploy insight ipaddr 10.10.10.1/24 gw
    10.10.10.100