Setting The Domain Name; Setting The Prompt - Cisco 7604 Configuration Manual

Catalyst 6500 series switch and cisco 7600 series router firewall services module configuration guide using the cli
Hide thumbs Also See for 7604:
Table of Contents

Advertisement

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:
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
7-4
hostname—Displays the hostname.
domain—Displays the domain name.
Chapter 7
Configuring Basic Settings
OL-20748-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

7609-s76137606-sCatalyst 6500 series7600 series

Table of Contents