home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

system static-host-mapping host-name <name>

Statically maps to a host name and an IP address and one or more aliases.

set system static-host-mapping host-name name [ inet address | alias alias ]
delete system static-host-mapping host-name name [ inet | alias ]
show system static-host-mapping host-name name [ inet | alias ]
name
Multi-node. A Fully Qualified Domain Name (FQDN) name being statically mapped to an IP address; for example, router1@mydomain.com. The name can contain only letters, numbers, periods (.), and hyphens (-).

You can define multiple mappings by creating multiple host-name configuration nodes.

address
Mandatory. The IPv4 address of the interface being statically mapped to the host name.
alias
Optional. Multi-node. An alias for the interface. The name can contain only letters, numbers, and hyphens (-).

You can define multiple aliases for a host name by creating multiple alias configuration nodes.

Configuration mode


system {
    static-host-mapping {
        host-name name {
            inet address
            alias alias {
            }
        }
    }
}

Use this command to statically map a host name to an IP address and one or more aliases.

Use the set form of this command to map a host name and an IP address, assign an address, or specify an alias. Note that you cannot use set to change the host name. To change the host name, delete the mapping entry and create a new entry with the correct host name.

Use the delete form of this command to remove a static mapping, an address, or an alias.

Use the show form of this command to view a static mapping, an address, or an alias.