TMS zl Management and Configuration Guide ST.1.1.100226
A-73
Command-Line Reference
Global Configuration Context
hostname
It is often useful to give the router a name that helps to distinguish it from
other routers in your network. To change the router’s hostname, enter the
following command:
Syntax: hostname <hostname>
Replace <hostname> with the hostname you want to assign to the module. This
name can only include alphanumeric characters.
For example, to set the hostname to TMSzlModule-C, enter the following
command:
ProCurve(tms-module-<slot ID>:config)# hostname
TMSzlModule-C
ip dns
This command specifies the module’s DNS servers.
Syntax: [no] dns < server primary <primary server address> [secondary <secondary
server address>] | domain-name <default domain> >
Replace <primary server address> with the IP address of your primary DNS
server.
Replace <secondary server address> with the IP address of your secondary DNS
server if your network has such a server.
Replace <default domain> with the domain to which you want to associate the
module by default.
For example, to configure a single primary DNS server, enter the following:
ProCurve(tms-module-<slot ID>:config)# dns server primary
192.168.6.22