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 the password on the TPVM for the user account named "extreme". Requires password to be entered twice.
allow-pwdless

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

confirm-pwd
Confirms the password on the TPVM for the user account named "extreme".
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 network mask.

Modes

Privileged EXEC mode

Usage Guidelines

This command performs the following operations:
  • Installs TPVM
  • Sets up TPVM networking
  • Enables passwordless ssh from root@slx to extreme@TPVM
  • Enable passwordless “sudo” inside TPVM
  • Sets the TPVM password for the user account named "extreme".

This command begins with the standard TPVM installation.

By default the TPVM management 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 in 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 extreme 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 extreme 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 administrative 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 a static IP address, a 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 a static IP address and default gateway.

device# tpvm deploy insight ipaddr 10.10.10.1/24 gw 10.10.10.100