Cisco ASA Series Cli Configuration Manual page 503

Software version 9.0 for the services module
Hide thumbs Also See for ASA Series:
Table of Contents

Advertisement

Chapter 1
Configuring Basic Settings
Setting the Hostname
To set the hostname, enter the following command:
Command
hostname name
Example:
hostname(config)# hostname farscape
farscape(config)#
Setting the Domain Name
To set the domain name, enter the following command:
Command
domain-name name
Example:
hostname(config)# domain-name example.com
Configuring the Hostname, Domain Name, and Passwords
Purpose
Specifies the hostname for the ASA or for a context.
This name can be up to 63 characters. The hostname must start and end
with a letter or digit, and have only letters, digits, or a hyphen.
When you set a hostname for the ASA, that name appears in the command
line prompt. If you establish sessions to multiple devices, the hostname
helps you keep track of where you enter commands. The default hostname
depends on your platform.
For multiple context mode, the hostname that you set in the system
execution space appears in the command line prompt for all contexts. The
hostname that you optionally set within a context does not appear in the
command line, but can be used by the banner command $(hostname)
token.
Purpose
Specifies the domain name for the ASA.
The ASA appends the domain name as a suffix to unqualified names. For
example, if you set the domain name to "example.com" and specify a
syslog server by the unqualified name of "jupiter," then the ASA qualifies
the name to "jupiter.example.com."
The default domain name is default.domain.invalid.
For multiple context mode, you can set the domain name for each context,
as well as within the system execution space.
Cisco ASA Series CLI Configuration Guide
1-3

Advertisement

Table of Contents
loading

Table of Contents