Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    host

    Syntax

    host hostname ipAddress [ [ ftp | sftp ] [ [ userAlgorithmType ] userName
    [ [ passwordAlgorithmType ] password ] ] ] | [ tftp ]

    no host hostname

    Release Information

    Command introduced before JunosE Release 7.1.0.

    sftp keyword added in JunosE Release 13.3.0

    Description

    Adds or modifies an entry to the host table. The no version removes the specified host.

    Options

    • hostname—Hostname to add or modify; up to 20 characters
    • ipAddress—IPv4 or IPv6 address of the host
    • ftp—Specifies that the host is an FTP server; the default protocol if neither ftp nor tftp is specified
    • sftp---Specifies that the host is an SFTP server for reliable transfer of data between the router and the remote host.
    • userAlgorithmType—Type of username
      • 0—Indicates that the userName is unencrypted; the default
      • 8—Indicates that the userName is an encrypted password
    • userName—Username used to access an FTP server (but not an NFS server); defaults to anonymous
    • passwordAlgorithmType—Type of password
      • 0—Indicates that the password is unencrypted; the default
      • 8—Indicates that the password is an encrypted password
    • password—Password used to access an FTP server (but not an NFS server); defaults to null
    • tftp—Specifies that the host is a TFTP server

    Mode

    Global Configuration

    Published: 2014-08-14