tpvm download

Downloads the TPVM image from the remote location, and then optionally, verifies if the file size and the version of the downloaded TPVM image is correct.

Syntax

tpvm download { block } directory remote-directory-name filename image-file-name host [ hostname | ip-address ] password password protocol {FTP | SCP | SFTP } { sanity [ yes | no ] } use-vrf vrf-name user user-name

Parameters

block
Optional Parameter. When passed, it enables NetCONF/RPC requests to operate in the blocking mode. When not passed, NetCONF/RPC operation is always non-blocking. This parameter does not affect CLI commands as CLI is always considered blocking in nature.
directory remote-directory-name
Specifies the remote directory that contains the TPVM image.
filename image-file-name
Specifies the TPVM Debian image file name.
host [ hostname | ip-address ]
Specifies the remote server. Remote server information can be provided either as a hostname or ip-address. Both IPv4 and IPv6 addresses are supported.
password password
Password for the username provide in the user parameter.
protocol {FTP | SCP| SFTP}
Specifies the use of either FTP, SCP or SFTP protocol for exporting the certification file.
sanity [ yes | no ]
Optional parameter. When set to yes, the TPVM image file is verified for size and version number after being downloaded. When set to no, the TPVM image is downloaded but not verified.
use-vrf vrf-name
Defines the VRF to use to access the remote host.
user user-name
The account that will be used to access the remote host. The password of this account is passed in the password parameter.

Modes

Privileged EXEC mode

Usage Guidelines

Use the optional sanity key to ensure that the downloaded TPVM image is verified for version and length after it has been downloaded from the remote server.

Use the optional block key to indicate that NetCONF/RPC calls are considered blocking in nature. By default, NetCONF/RPC calls are non-blocking. Also, CLI commands are always blocking by nature. This key does not affect this action when performed through SLX-OS CLI.

Examples

The following example shows the usage of the tpvm download command. This example shows the interactive mode for this command.

SLX # tpvm download ?
Possible completions:
    block         optional wait mode for netconf
    directory     Remote directory
    filename      TPVM debian filename
    host          Hostname or IPv4/IPv6 address
    password      Password for the user
    protocol      Protocol
    sanity        Perform sanity check
    use-vrf       Vrf to use for downloading TPVM package (Default =mgmt-vrf)
    user          Login name in the host
SLX# tpvm download sanity ?
Possible completions:
      <yes|no>     Sanity check
SLX# tpvm download sanity