
7-4
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
OL-20748-01
Chapter 7 Configuring Basic Settings
Setting the Domain Name
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.
To specify the primary hostname for the FWSM or for a context, enter the following command:
hostname(config)#
hostname
name
To specify the secondary hostname for the FWSM or for a context, enter the following command:
hostname(config)#
hostname secondary
name
This name can be up to 63 characters. A hostname must start and end with a letter or digit, and have as
interior characters only letters, digits, or a hyphen. The FWSM supports all 95 printable characters
except the question mark (?). Avoid the use of non-ASCII characters.
The following example changes the hostname from the default (FWSM) to farscape:
FWSM(config)#
hostname farscape
farscape(config)#
Setting the Domain Name
The FWSM 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 FWSM 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.
To specify the domain name for the FWSM, enter the following command:
hostname(config)#
domain-name
name
For example, to set the domain as example.com, enter the following command:
hostname(config)#
domain-name example.com
Setting the Prompt
You can configure the information shown in the CLI prompt, including the hostname, context name,
domain name, slot, failover status, and failover priority. In multiple context mode, you can view the
extended prompt when you log into the system execution space or the admin context. Within a
non-admin context, you only see the default prompt, which is the hostname and the context name.
To configure the information included in the prompt, enter the following command:
hostname(config)#
prompt
[
hostname
] [
context
] [
domain
] [
slot
] [
state
] [
priority
]
The order in which you enter the keywords determines the order of the elements in the prompt, which
are separated by a slash (/). See the following descriptions for the keywords:
•
hostname
—Displays the hostname.
•
domain
—Displays the domain name.
Summary of Contents for 6500 - Catalyst Series 10 Gigabit EN Interface Module Expansion
Page 35: ...P A R T 1 Getting Started and General Information ...
Page 36: ......
Page 297: ...P A R T 2 Configuring the Security Policy ...
Page 298: ......
Page 521: ...P A R T 3 System Administration ...
Page 522: ......
Page 613: ...P A R T 4 Reference ...
Page 614: ......