ip domain-list
ip domain-list <domain-name>
no ip domain-list <domain-name>
Sets the static domain name.
The no form of the command clears the domain name.
Syntax Description
domain-name
Default
No static domain name
Modes/Context
Config
History
3.1.0000
Role
admin
Example
switch (config) # ip domain-list mydomain.com
switch (config) # show hosts
Hostname: switch
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
IPv6 ::1 maps to hostname localhost6
Automatically map hostname to loopback address: yes
Automatically map hostname to IPv6 loopback address: no
switch (config) #
Related Commands
show hosts
Note
The domain name in a string form.
A domain name is an identification string that defines a
realm of administrative autonomy, authority, or control
in the Internet. Domain names are formed by the rules
and procedures of the Domain Name System (DNS).
Mellanox Technologies
Rev 1.6.2
45