Deploy with TPVM Configuration Persistence

This topic describes how to install and start TPVM using the deploy config command and persist other TPVM configurations in the SLX-OS running-config. These persisted configurations are useful during the TPVM upgrade operation. Also, for SLX switch RMA use case, TPVM can be deployed with previous configurations, as per the SLX RMA workflow of restoring SLX configurations.

Pre-requisite for deploy:

The TPVM debian image file (e.g. tpvm-4.2.5-1.amd64.deb ) is available in the following folder /tftpboot/SWBD2900. To deploy, install this file with this naming convention.
Note

Note

Only one file can be stored in the above mentioned location.

Example

Example 1) This example describes a simple deploy action with TPVM built-in defaults.

SLX # config terminal
SLX (config)# tpvm TPVM
SLX (config-tpvm-TPVM) # deploy
SLX (config-tpvm-TPVM) # end
Note

Note

  • The deploy command is a time-taking operation. If executed through the Netconf/RPC, it is non-blocking to the client and will proceed in the background at the SLX switch. The Raslog “DCMD-1451” (for start), “DCMD-1452” (for success) and “DCMD-1453” (for fail/abort) are published.
  • TPVM image significant defaults are:
    • hostname – ‘tpvm‘
    • timezone – ‘Etc/GMT
    • management - 'dhcp'
    • password for user ‘extreme‘ – ‘password‘
    • dns -
    • ntp – no setting
    • ldap – no setting
    • trusted-peer – not set

Example

Example 2) This example describes deploy TPVM with install time configuration. The TPVM config password, interface management can be set only before 'starting' or 'deploy' of the TPVM.

SLX # config terminal
SLX (config)# tpvm TPVM
SLX (config-tpvm-TPVM) # password newpassword
SLX (config-tpvm-TPVM) # interface management ip 10.25.24.21/24
SLX (config-tpvm-TPVM) # deploy

Example

Example 3) This example describes the deploy TPVM and later 'updates' and 'any install time' configurations.

SLX # config terminal
SLX (config)# tpvm TPVM
SLX (config-tpvm-TPVM) # password newpassword
SLX (config-tpvm-TPVM) # interface management ip 10.25.24.21/24
SLX (config-tpvm-TPVM) # deploy
SLX (config-tpvm-TPVM) # end
SLX # tpvm stop
SLX # config terminal
SLX (config)# tpvm TPVM
SLX (config-tpvm-TPVM) # password newpasswordagain
SLX (config-tpvm-TPVM) # interface management ip 10.25.24.221/24
SLX (config-tpvm-TPVM) # end
SLX # tpvm start

Example

Example 4) This example describes the config TPVM with any install time or runtime configuration without deploy. The configuration here is just persisted in the SLX running-config database. The Runtime configuration is applied anytime before or after deploy. In the later case, the TPVM will be in the running status and configuration is applied to the TPVM instance first. Only upon success, the configuration will be persisted at the SLX-OS database.

SLX # config terminal
SLX (config)# tpvm TPVM
SLX (config-tpvm-TPVM) # password newpassword
SLX (config-tpvm-TPVM) # interface management ip 10.25.24.21/24
SLX (config-tpvm-TPVM) # auto-boot
SLX (config-tpvm-TPVM) # hostname newhostname
SLX (config-tpvm-TPVM) # timezone Europe/Stockholm
SLX (config-tpvm-TPVM) # end

Later TPVM may be installed and started with the above configuration by config deploy.

SLX # config terminal
SLX (config)# tpvm TPVM
SLX (config-tpvm-TPVM) # deploy

Example

Example 5) This example describes the deploy TPVM with some configuration and later update any runtime configuration.

SLX # config terminal
SLX (config)# tpvm TPVM
SLX (config-tpvm-TPVM) # password newpassword
SLX (config-tpvm-TPVM) # interface management ip 10.25.24.21/24
SLX (config-tpvm-TPVM) # auto-boot
SLX (config-tpvm-TPVM) # hostname newhostname
SLX (config-tpvm-TPVM) # timezone Europe/Stockholm
SLX (config-tpvm-TPVM) # deploy
SLX (config-tpvm-TPVM) # end
SLX # config terminal
SLX (config)# tpvm TPVM
SLX (config-tpvm-TPVM) # hostname oldhostname
SLX (config-tpvm-TPVM) # no timezone

Example

Example 6) This example describes the set password configuration using the encrypted string. Here the newpassword encrypted string is used.

SLX (config-tpvm-TPVM) # password $6$M@T]Ip^<$.kavoRt.uINQoghhcpDYd4elQg3BWWuJDdVSmGtZcM/Ry6IRUYKkKtJ80PgTXKFEVnzWx4oTSPvHPRtvqXtGf/

Example

Example 7) This example describes the stop and uninstall TPVM configurations and also by using the no deploy but retain configuration.

SLX # config terminal
SLX (config)# tpvm TPVM
SLX (config-tpvm-TPVM) # no deploy
SLX (config-tpvm-TPVM) # end

Example

Example 8) This example describes the stop, uninstall, no deploy and purge all TPVM configurations.

SLX # config terminal
SLX (config)# no tpvm TPVM
SLX (config) # end

Example

Example 9) This example describes how to reset any individual configuration, by using the no prefix command, and certain configurations may have parameters too.

SLX (config-tpvm-TPVM) # no hostname