Ip/Ipv6 Host - Mellanox Technologies Mellanox SX1018 Command Reference Manual

Ethernet managed blade switch
Hide thumbs Also See for Mellanox SX1018:
Table of Contents

Advertisement

ip/ipv6 host

{ip | ipv6} host <hostname> <IP Address>
no {ip | ipv6} host <hostname> <IP Address>
Configures the static hostname IPv4 or IPv6 address mappings.
The no form of the command clears the static mapping.
Syntax Description
hostname
IP Address
Default
No static domain name.
Configuration Mode
Config
History
3.1.0000
Role
admin
Example
switch (config) # ip host my-host 2.2.2.2
switch (config) # ipv6 host my-ipv6-host
switch (config) # show hosts
Hostname: switch
Name server: 9.9.9.9 (configured)
Name server: 10.211.0.121 (dynamic)
Name server: 172.30.0.126 (dynamic)
Name server: 10.4.0.135 (dynamic)
Domain name: mydomain.com (configured)
Domain name: lab.mtl.com (dynamic)
Domain name: vmlab.mtl.com (dynamic)
Domain name: yok.mtl.com (dynamic)
Domain name: mtl.com (dynamic)
IP 1.1.1.1 maps to hostname p
IP 127.0.0.1 maps to hostname localhost
IP 2.2.2.2 maps to hostname my-host
IPv6 2001::8f9 maps to hostname my-ipv6-host
IPv6 ::1 maps to hostname localhost6
Automatically map hostname to loopback address: yes
Automatically map hostname to IPv6 loopback address: yes
switch (config) #
Related Commands
show hosts
Note
The hostname in a string form.
The IPv4 or IPv6 address.
Mellanox® Technologies Confidential
2001::8f9
Mellanox Technologies
Rev 1.6.9
47

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sx1018hp

Table of Contents