Table Of Contents
Setting Up the ACE
Establishing a Console Connection on the ACE
Sessioning and Logging In to the ACE
Changing the Administrative Password
Resetting the Administrator Account Password
Assigning a Name to the ACE
Configuring an ACE Inactivity Timeout
Configuring a Message-of-the-Day Banner
Configuring the Date and Time
Configuring the Time Zone
Adjusting for Daylight Saving Time
Viewing the System Clock Settings
Configuring Terminal Settings
Configuring Terminal Display Attributes
Configuring Terminal Line Settings
Configuring Console Line Settings
Configuring Virtual Terminal Line Settings
Modifying the Boot Configuration
Setting the Boot Method from the Configuration Register
Booting the ACE from the rommon Prompt
Setting the BOOT Environment Variable
Displaying the ACE Boot Configuration
Restarting the ACE
Restarting the ACE from the CLI
Restarting the ACE from the Catalyst CLI
Shutting Down the ACE
Setting Up the ACE
This chapter describes how to initially configure basic settings on the Cisco Application Control Engine (ACE) module in the Catalyst 6500 series switches. It contains the following major sections:
•
Establishing a Console Connection on the ACE
•
Sessioning and Logging In to the ACE
•
Changing the Administrative Password
•
Assigning a Name to the ACE
•
Configuring an ACE Inactivity Timeout
•
Configuring a Message-of-the-Day Banner
•
Configuring the Date and Time
•
Configuring Terminal Settings
•
Modifying the Boot Configuration
•
Restarting the ACE
•
Shutting Down the ACE
For details on assigning VLANs to the ACE, configuring VLAN interfaces on the ACE, and configuring a default or static route on the ACE, see the Cisco Application Control Engine Module Routing and Bridging Configuration Guide.
Establishing a Console Connection on the ACE
You can establish a direct serial connection between your terminal and the ACE by making a serial connection to the console port on the front of the ACE. The console port is an asynchronous RS-232 serial port with an RJ-45 connector. Any device connected to this port must be capable of asynchronous transmission. Connection requires a terminal configured as 9600 baud, 8 data bits, 1 stop bit, no parity.
Note
Only the Admin context is accessible through the console port; all other contexts can be reached through Telnet or SSH sessions.
Once connected, use any terminal communications application to access the ACE CLI. The following procedure uses HyperTerminal for Windows.
To access the ACE by using a direct serial connection, perform the following steps:
Step 1
Launch HyperTerminal. The Connection Description window appears.
Step 2
Enter a name for your session in the Name field.
Step 3
Click OK. The Connect To window appears.
Step 4
From the drop-down list, choose the COM port to which the device is connected.
Step 5
Click OK. The Port Properties window appears.
Step 6
Set the following port properties:
•
Baud Rate = 9600
•
Data Bits = 8
•
Flow Control = none
•
Parity = none
•
Stop Bits = 1
Step 7
Click OK to connect.
Step 8
Press Enter to access the CLI prompt.
See the "Sessioning and Logging In to the ACE" section for details on logging in and entering the configuration mode to configure the ACE.
Once a session is created, choose Save As from the File menu to save the connection description. Saving the connection description has the following two advantages:
•
The next time that you launch HyperTerminal, the session is listed as an option under Start > Programs > Accessories > HyperTerminal > Name_of_session. This option lets you reach the CLI prompt directly without going through the configuration steps.
•
You can connect your cable to a different device without configuring a new HyperTerminal session. If you use this option, make sure that you connect to the same port on the new device as was configured in the saved HyperTerminal session. Otherwise, a blank screen appears without a prompt.
Sessioning and Logging In to the ACE
This section describes how to connect (session) to the ACE as the default user from either the ACE console port or from the Catalyst 6500 series CLI. Once you connect to the ACE as the default user, you can then log in and enter the configuration mode to configure the ACE.
The ACE creates two default user accounts at startup: admin and www. The admin user is the global administrator and cannot be deleted. The ACE uses the www user account for the XML interface.
Note
Only the Admin context is accessible through the console port; all other contexts can be reached through a Telnet or SSH remote access session.
Later, when you configure interfaces and IP addresses on the ACE itself, you can remotely access the ACE CLI through an ACE interface by using the Catalyst console port or by a Telnet or SSH session. To configure remote access to the ACE CLI, see Chapter 2, Enabling Remote Access to the ACE. For details on configuring interfaces on the ACE, see the Cisco Application Control Engine Module Routing and Bridging Configuration Guide.
You can configure the ACE to provide a higher level of security for users accessing the ACE. For information about configuring user authentication for login access, see the Cisco Application Control Engine Module Security Configuration Guide.
To session into the ACE and access configuration mode to perform initial configuration, perform the following steps:
Step 1
Access the ACE through one of the following methods:
•
If you choose to access the ACE directly by its console port, attach a terminal to the asynchronous RS-232 serial port on the front of the ACE. Any device connected to this port must be capable of asynchronous transmission. The connection requires a terminal configured as 9600 baud, 8 data bits, 1 stop bit, no parity. See the "Establishing a Console Connection on the ACE" section.
•
If you choose to session into ACE, after the ACE successfully boots enter the session command from the Catalyst CLI to Telnet to the ACE:
Cat6k-switch# session slot mod_num processor 0
The mod_num argument identifies the slot number in the Catalyst 6500 series chassis where the ACE is installed.
Note
The default escape character sequence is Ctrl-^, and then x. You can also enter exit at the remote prompt to end the session.
Step 2
Log into the ACE by entering the login username and password at the following prompt:
By default, both the username and password are admin.
The prompt changes to the following:
To change the default login username and password, see the "Changing the Administrative Password" section for details.
Caution 
For software version A2(1.1) and higher, you must change the default Admin password if you have not already done so. Otherwise, you will be able to log in to the ACE only through the console port or through the supervisor engine of the Catalyst 6500 series switch or the Cisco 7600 series router. You will not be able to access the ACE using Telnet or SSH until you change the default Admin password.
Step 3
To access configuration mode, enter:
Enter configuration commands, one per line. End with CNTL/Z
The prompt changes to the following:
Changing the Administrative Password
During the initial login process to the ACE, you enter the default user name admin and the default password admin in lowercase text. You cannot modify or delete the default administrative username; however, for security reasons, you must change the default administrative password. If you do not change the password, then security on your ACE can be compromised because the administrative username and password are configured to be the same for every ACE shipped from Cisco Systems.
Caution 
For software version A2(1.1) and higher, you must change the default Admin password if you have not already done so. Otherwise, you can log in to the ACE only through the console port or through the supervisor engine of the Catalyst 6500 series switch or the Cisco 7600 series router.
The administrative username and password are stored in Flash memory. Each time that you reboot the ACE, it reads the username and password from Flash memory. Global administrative status is assigned to the administrative username by default.
Note
For users that you create in the Admin context, the default scope of access is for the entire ACE. If you do not assign a user role to a new user, the default user role is Network-Monitor. For users that you create in other contexts, the default scope of access is the entire context. To verify the account and permission for each user, use the show user-account Exec command. For details on contexts, user roles, and domains, see the Cisco Application Control Engine Module Virtualization Configuration Guide.
To change the default username and password, use the username command in configuration mode. The syntax of this command is as follows:
username name1 [password [0 | 5] {password}]
The keywords, arguments, and options are as follows:
•
name1—Sets the username that you want to assign or change. Enter Admin.
•
password—(Optional) Keyword that indicates that a password follows.
•
0—(Optional) Specifies a clear text password.
•
5—(Optional) Specifies an MD5-hashed strong encryption password.
•
password—The password in clear text, encrypted text, or MD5 strong encryption, depending on the numbered option (0 or 5) that you enter. If you do not enter a numbered option, the password is in clear text by default. Enter a password as an unquoted text string with a maximum of 64 characters.
Note
If you specify an MD5-hashed strong encryption password, the ACE considers a password to be weak if it less than eight characters in length.
The ACE supports the following special characters in a password:
, . / = + - ^ @ ! % ~ # $ * ( )
Note that the ACE encrypts clear text passwords in the running-config.
For example, to create a user named user1 that uses the clear text password mysecret_801, enter:
switch/Admin(config)# username Admin password 0 mysecret_801
Resetting the Administrator Account Password
If you forget the password for the ACE administrator account and cannot access the ACE, you can recover the admin password during the initial bootup sequence of the ACE. You must have access to the ACE through the console port to be able to reset the password for the Admin user back to the factory default value of admin.
Note
Only the Admin context is accessible through the console port.
To reset the password that allows the Admin user access to the ACE, perform the following steps:
Step 1
Connect to the console port on the Catalyst 6500 series switch.
Step 2
Session in to the ACE through the console port on the front panel.
Step 3
Reboot the ACE from the Catalyst 6500 series CLI. See the "Restarting the ACE" section for details.
Step 4
During the bootup process, output appears on the console terminal. Press ESC when the "Waiting for 3 seconds to enter setup mode..." message appears on the terminal (see the example below). The setup mode appears. If you miss the time window, wait for the ACE to properly complete booting, reboot the ACE from the Catalyst 6500 series CLI, and try again to access the setup mode by pressing ESC.
IXP polling timeout interval: 120
map_pci_xram_to_uspace[149] :: mapping 4096 bytes from 0x58800000
map_pci_xram_to_uspace[149] :: mapping 4096 bytes from 0x5a800000
................................................
IXP's are up... <Sec 48 :Status of IXP1 7, IXP2 7>
map_pci_xram_to_uspace[149] :: mapping 102400 bytes from 0x4fd68000
map_pci_xram_to_usenabling intb 57 interrupts
pace[149] :: mapping 102400 bytes from 0x57d68000
Starting lcpfw process...
Warning: loading /itasca/klm/klm_session.klm will taint the kernel: no
license
See http://www.tux.org/lkml/#export-tainted for information about
tainted modu
Module klm_session.klm loaded, with warnings
create dev node as 'mknod /dev/cpu_util c 236 0'
getting cpu_util dev major num
making new cpu_util dev node
Session Agent waiting for packets .
Waiting for 3 seconds to enter setup mode...
Entering setup sequence...
Reset Admin password [y/n] (default: n): y
Resetting admin password to factory default...
XR Serial driver version 1.0 (2004-11-08) with no serial options
enabled
ttyXR major device number: 235
Create a dev file with 'mknod /dev/ttyXR c 235 [0-1]'
cux major device number: 234
Create a dev file with 'mknod /dev/cux c 234 [0-1]'
ttyXR0 at 0x10c00000 (irq = 59) is a 16550A
ttyXR1 at 0x10c00008 (irq = 59) is a 16550A
Loading.. Please wait...Done!!!
Step 5
The setup mode prompts if you want to reset the admin password. Enter y. The "Resetting admin password to factory default" message appears. The ACE deletes the admin user password configuration from the startup configuration and resets the password back to the factory default value of admin.
The boot process continues as normal and you are able to enter the admin password at the login prompt.
Assigning a Name to the ACE
The hostname is used to identify the ACE and for the command-line prompts. If you establish sessions to multiple devices, the hostname helps you track where you enter commands. By default, the hostname for the ACE is "switch." To specify a hostname for the ACE, use the hostname configuration mode command. To specify a hostname for the peer ACE in a redundant configuration, use the peer hostname command.
The syntaxes of these commands are as follows:
hostname name
peer hostname name
The name argument specifies a new hostname for the ACE. Enter a case-sensitive text string that contains from 1 to 32 alphanumeric characters.
For example, to change the hostname of the ACE from switch to ACE_1, enter:
switch/Admin(config)# hostname ACE_1
Configuring an ACE Inactivity Timeout
By default, the inactivity timeout value is 5 minutes. You can modify the length of time that can occur before the ACE automatically logs off an inactive user by using the login timeout command in configuration mode. This command specifies the length of time that a user session can be idle before the ACE terminates the console, Telnet, or SSH session.
Note
The login timeout command setting overrides the terminal session-timeout setting (see the "Configuring Terminal Display Attributes" section).
The syntax of this command is as follows:
login timeout minutes
The minutes argument specifies the length of time that a user can be idle before the ACE terminates the session. Valid entries are from 0 to 60 minutes. A value of 0 instructs the ACE never to timeout. The default is 5 minutes.
For example, to specify a timeout period of 10 minutes, enter:
host1/Admin(config)# login timeout 10
To restore the default timeout value of 5 minutes, enter the following command:
host1/Admin(config)# no login timeout
To display the configured login time value, use the show login timeout command in Exec mode. For example, enter:
host1/Admin# show login timeout
Login Timeout 10 minutes.
Configuring a Message-of-the-Day Banner
You can configure a message in configuration mode to display as the message-of-
the-day banner when a user connects to the ACE. Once connected to the ACE, the message-of-the-day banner appears, followed by the login banner and Exec mode prompt.
The syntax of this command is as follows:
banner motd text
The text argument is a line of message text to be displayed as the message-of-
the-day banner. The text string consists of all characters that follow the first space until the end of the line (carriage return or line feed).
The pound (#) character functions as the delimiting character for each line. For the banner text, spaces are allowed but tabs cannot be entered at the CLI. To instruct the ACE to display multiple lines in a message-of-the-day banner, enter a new banner motd command for each line that you want to appear.
The banner message is a maximum of 80 characters per line, up to a maximum of 3000 characters (3000 bytes) for a message-of-the-day banner. This maximum value includes all line feeds and the last delimiting character in the message.
To add multiple lines to an existing a message-of-the-day banner, precede each line by using the banner motd command. The ACE appends each line to the end of the existing banner. If the text is empty, the ACE adds a carriage return (CR) to the banner.
You can include tokens in the form $(token) in the message text. Tokens will be replaced with the corresponding configuration variable. For example, enter:
•
$(hostname)—Displays the hostname for the ACE during run time.
•
$(line)—Displays the tty (teletypewriter) line or name (for example, "/dev/console", "/dev/pts/0", or "1").
To use the $(hostname) in a single line banner motd input, you must include double quotes (") around the $(hostname) so that the $ is interpreted as a special character at the beginning of a variable in the single line. For example, enter:
switch/Admin(config)# banner motd #Welcome to "$(hostname)"...#
Do not use the double quote character (") or the percent sign character (%) as a delimiting character in a single line message string.
For multi-line input, double quotes (") are not required for the token because the input mode is different from signal-line mode. When you operate in multi-line mode, the ACE interprets the double quote character (") literally. The following example shows how to span multiple lines and use tokens to configure the banner message:
switch/Admin(config)# banner motd #
Enter TEXT message. End with the character '#'.
================================
--------------------------------
=================================
To replace a banner or a line in a multi-line banner, use the no banner motd command before adding the new lines.
To display the configured banner message, use the show banner motd command in Exec mode. For example, enter:
host1/Admin# show banner motd
Configuring the Date and Time
The ACE time and date are synchronized with the clock from the Catalyst 6500 series supervisor engine. You may configure the time zone and daylight saving time of the ACE for display purposes. See the Cisco 6500 Series Switch Cisco IOS Software Configuration Guide for details on setting the system clock on the switch.
This section contains the following topics:
•
Configuring the Time Zone
•
Adjusting for Daylight Saving Time
•
Viewing the System Clock Settings
Configuring the Time Zone
To set the time zone of the ACE, use the clock timezone command in configuration mode. The ACE keeps time internally in Universal Time Coordinated (UTC) offset.
The syntax of this command is as follows:
clock timezone {zone_name{+ | -} hours minutes} | {standard timezone}
The keywords, arguments, and options are as follows:
•
zone_name—The 8-character name of the time zone (for example, PDT) to be displayed when the time zone is in effect. Table 1-1 lists the common time zone acronyms that you can use for the zone_name argument.
•
hours—Hours offset from UTC. The range is from -23 to 23.
•
minutes—Minutes offset from UTC. The range is from 0 to 59 minutes.
•
standard timezone—Displays a list of well known time zones that include an applicable UTC hours offset. Available choices are as follows:
–
AKST—Alaska Standard Time, as UTC -9 hours
–
AST—Atlantic Standard Time, as UTC -4 hours
–
BST—British Summer Time, as UTC + 1 hour
–
CEST—Central Europe Summer Time, as UTC + 2 hours
–
CET—Central Europe Time, as UTC + 1 hour
–
CST—Central Standard Time, as UTC -6 hours
–
CST—Central Standard Time, as UTC + 9.5 hours
–
EEST—Eastern Europe Summer Time, as UTC + 3 hours
–
EET—Eastern Europe Time, as UTC + 2 hours
–
EST—Eastern Standard Time, as UTC -5 hours
–
GMT—Greenwich Mean Time, as UTC
–
HST—Hawaiian Standard Time, as UTC -10 hours
–
IST—Irish Summer Time, as UTC + 1 hour
–
MSD—Moscow Summer Time, as UTC + 4 hours
–
MSK—Moscow Time, as UTC + 3 hours
–
MST—Mountain Standard Time, as UTC -7 hours
–
PST—Pacific Standard Time, as UTC -8 hours
–
WEST—Western Europe Summer Time, as UTC + 1 hour
–
WST—Western Standard Time, as UTC + 8 hours
Table 1-1 lists common time zone acronyms that you can specify for the zone_name argument.
Table 1-1 Common Time Zone Acronyms
Acronym
|
Time Zone Name and UTC Offset
|
Europe
|
BST
|
British Summer Time, as UTC + 1 hour
|
CET
|
Central Europe Time, as UTC + 1 hour
|
CEST
|
Central Europe Summer Time, as UTC + 2 hours
|
EET
|
Eastern Europe Time, as UTC + 2 hours
|
EEST
|
Eastern Europe Summer Time, as UTC + 3 hours
|
GMT
|
Greenwich Mean Time, as UTC
|
IST
|
Irish Summer Time, as UTC + 1 hour
|
MSK
|
Moscow Time, as UTC + 3 hours
|
MSD
|
Moscow Summer Time, as UTC + 4 hours
|
WET
|
Western Europe Time, as UTC
|
WEST
|
Western Europe Summer Time, as UTC + 1 hour
|
United States and Canada
|
AST
|
Atlantic Standard Time, as UTC - 4 hours
|
ADT
|
Atlantic Daylight Time, as UTC - 3 hours
|
CT
|
Central Time, either as CST or CDT, depending on the place and time of the year
|
CST
|
Central Standard Time, as UTC - 6 hours
|
CDT
|
Central Daylight Saving Time, as UTC - 5 hours
|
ET
|
Eastern Time, either as EST or EDT, depending on the place and time of the year
|
EST
|
Eastern Standard Time, as UTC - 5 hours
|
EDT
|
Eastern Daylight Saving Time, as UTC - 4 hours
|
MT
|
Mountain Time, either as MST or MDT, depending on the place and time of the year
|
MDT
|
Mountain Daylight Saving Time, as UTC - 6 hours
|
MST
|
Mountain Standard Time, as UTC - 7 hours
|
PT
|
Pacific Time, either as PST or PDT, depending on the place and time of the year
|
PDT
|
Pacific Daylight Saving Time, as UTC - 7 hours
|
PST
|
Pacific Standard Time, as UTC - 8 hours
|
AKST
|
Alaska Standard Time, as UTC - 9 hours
|
AKDT
|
Alaska Standard Daylight Saving Time, as UTC - 8 hours
|
HST
|
Hawaiian Standard Time, as UTC - 10 hours
|
Australia
|
CST
|
Central Standard Time, as UTC + 9.5 hours
|
EST
|
Eastern Standard/Summer Time, as UTC + 10 hours (+11 hours during summer time)
|
WST
|
Western Standard Time, as UTC + 8 hours
|
For example, to set the time zone to PST and to set an UTC offset of -8 hours, enter:
host1/Admin(config)# clock timezone PST -8 0
To remove the clock timezone setting, use the no form of this command. For example, enter:
host1/Admin(config)# no clock timezone
Adjusting for Daylight Saving Time
To configure the ACE to change the time automatically to summer time (daylight saving time), use the clock summer-time command in configuration mode.
The first part of the command specifies when summer time begins, and the second part of the command specifies when summer time ends. All times are relative to the local time zone; the start time is relative to standard time and the end time is relative to summer time. If the starting month is after the ending month, the ACE assumes that you are located in the Southern Hemisphere.
The syntax of this command is as follows:
clock summer-time {daylight_timezone_name start_week start_day
start_month start_time end_week end_day end_month end_time
daylight_offset | standard timezone}
The keywords, arguments, and options are as follows:
•
daylight_timezone_name—The eight-character name of the time zone (for example, PDT) to be displayed when summer time is in effect. See Table 1-1 for the list the common time zone acronyms used for the daylight_timezone_name argument.
•
start_week end_week—The week, ranging from 1 through 5.
•
start_day end_day—The day, ranging from Sunday through Saturday.
•
start_month end_month—The month, ranging from January through December.
•
start_time end_time—Time, in military format, specified in hours and minutes.
•
daylight_offset—Number of minutes to add during the summer time. Valid entries are 1 to 1440.
•
standard timezone—Displays a list of well known time zones that include an applicable daylight time start and end range along with a daylight offset. Available choices are as follows:
–
ADT—Atlantic Daylight Time: 2 a.m. 1st Sunday April to 2 a.m. last Sunday Oct, + 60 min
–
AKDT—Alaska Standard Daylight Time: 2 a.m. 1st Sunday April to 2 a.m. last Sunday Oct, + 60 min
–
CDT—Central Daylight Time: 2 a.m. 1st Sunday April to 2 a.m. last Sunday Oct, + 60 min
–
EDT—Eastern Daylight Time: 2 a.m. 1st Sunday April to 2 a.m. last Sunday Oct, + 60 min
–
MDT—Mountain Daylight Time: 2 a.m. 1st Sunday April to 2 a.m. last Sunday Oct, + 60 min
–
PDT—Pacific Daylight Time: 2 a.m. 1st Sunday April to 2 a.m. last Sunday Oct, + 60 min
For example, to specify that summer time begins on the first Sunday in April at 02:00 and ends on the last Sunday in October at 02:00, with a daylight offset of 60 minutes, enter:
host1/Admin(config)# clock summer-time Pacific 1 Sun Apr 02:00 5 Sun
Oct 02:00 60
To remove the clock summer-time setting, use the no form of this command. For example, enter:
host1/Admin(config)# no clock summer-time
Viewing the System Clock Settings
To display the system clock of the ACE, use the show clock command in Exec mode.
The syntax of this command is as follows:
show clock
The following sample output shows the current clock settings:
Mon Mar 6 18:26:55 UTC 2006
Configuring Terminal Settings
You can access the ACE CLI by using one of the following methods:
•
Make a direct connection by using a dedicated terminal attached to the console port on the front of the ACE.
•
Establish a remote connection to the ACE through the Catalyst 6500 series switch using the Secure Shell (SSH) or Telnet protocols.
Note
Only the Admin context is accessible through the console port; all other contexts can be reached through Telnet or SSH.
This section contains the following topics:
•
Configuring Terminal Display Attributes
•
Configuring Terminal Line Settings
For details on configuring remote access to the ACE CLI using SSH or Telnet, see Chapter 2, Enabling Remote Access to the ACE.
Configuring Terminal Display Attributes
You can specify the number of lines and the width for displaying information on a terminal during a console session. The maximum number of displayed screen lines is 511 columns. To configure the terminal display settings, use the terminal command in Exec mode. The terminal command allows you to set the width for displaying command output.
The syntax of the command is as follows:
terminal {length lines | monitor | session-timeout minutes | terminal-type
text | width characters}
The keywords, arguments, and options are as follows:
•
length lines—Sets the number of lines displayed on the current terminal screen. This command is specific to only the console port. Telnet and SSH sessions set the length automatically. Valid entries are from 0 to 511. The default is 24 lines. A value of 0 instructs the ACE to scroll continuously (no pausing) and overrides the terminal width value. If you later change the terminal length to any other value, the originally configured terminal width value takes effect.
•
monitor—Displays syslog output on the terminal for the current terminal and session. To enable the various levels of syslog messages to the terminal, use the logging monitor command (see the Cisco Application Control Engine Module System Message Guide for details).
•
session-timeout minutes—Specifies the inactivity timeout value in minutes to configure the automatic logout time for the current terminal session on the ACE. When inactivity exceeds the time limit configured by this command, the ACE closes the session and exits. The range is from 0 to 525600. The default value is inherited from the value that is configured for the login timeout command. If you do not configure a value for the login timeout command, the default for both commands is 5 minutes. You can set the terminal session-timeout value to 0 to disable this feature so that the terminal remains active until you choose to exit the ACE. The ACE does not save this change in the configuration file.
Note
The login timeout command setting overrides the terminal session-timeout setting (see the "Configuring an ACE Inactivity Timeout" section).
•
terminal-type text—Specifies the name and type of the terminal used to access the ACE. If a Telnet or SSH session specifies an unknown terminal type, the ACE uses the VT100 terminal by default. Specify a text string from 1 to 80 alphanumeric characters.
•
width characters—Sets the number of characters displayed on the current terminal screen. This command is specific to only the console port. Telnet and SSH sessions set the width automatically. Valid entries are from 24 to 512. The default is 80 columns.
For example, to specify the VT200 terminal, set the number of screen lines to 35, and set the number of characters to 250, enter:
host1/Admin# terminal terminal-type vt200
host1/Admin# terminal length 35
host1/Admin# terminal width 250
For example, to specify a terminal timeout of 600 minutes for the current session, enter:
host1/Admin# terminal session-timeout 600
To reset a terminal setting to its default value, such as the screen line length, use the no form of the command:
host1/Admin# terminal no width
For example, to start the current terminal monitoring session, enter:
host1/Admin# terminal monitor
host/Admin# %ACE-7-111009: User 'admin' executed cmd: terminal monitor
%ACE-7-111009: User 'admin' executed cmd: terminal monitor......
To stop the current terminal monitoring session, enter:
host1/Admin# terminal no monitor
To display the console terminal settings, use the show terminal Exec mode command. For example, enter:
host1/Admin# show terminal
TTY: /dev/pts/0 Type: "vt100"
Length: 25 lines, Width: 80 columns
Session Timeout: 60 minutes
Configuring Terminal Line Settings
This section describes how to configure the terminal line settings for accessing the ACE by a console or a virtual terminal and contains the following topics:
•
Configuring Console Line Settings
•
Configuring Virtual Terminal Line Settings
Configuring Console Line Settings
The console port is an asynchronous serial port on the ACE that allows you to directly access the module to perform an initial configuration through a standard RS-232 port with an RJ-45 connector. Any device connected to this port must be capable of asynchronous transmission. Connection requires a terminal configured as 9600 baud, 8 data bits, 1 stop bit, no parity.
Use the line console configuration mode command to configure the console interface settings. The CLI displays the console configuration mode.
To configure the line console settings from the console configuration mode, specify one or more of the following commands:
•
databits number—Specifies the number of data bits per character. The range is from 5 to 8. The default is 8 data bits.
•
parity—Sets the parity for the console connection. The supported choices are: even (even parity), none (no parity), or odd (odd parity). The default is none.
•
speed speed—Sets the transmit and receive speeds for the serial console. The range is between 110 and 115200 baud (110, 150, 300, 600, 1200, 2400, 4800, 9600,19200, 28800, 38400, 57600, or 115200). The default is 9600 baud.
•
stopbits—Sets the stop bits for the console connection. Valid values are 1 or 2 stop bits. The default is 1 stop bit.
For example, to configure the console line settings for the ACE, enter:
Enter configuration commands, one per line. End with CNTL/Z
host1/Admin(config)# line console
host1/Admin(config-console)# databits 6
host1/Admin(config-console)# parity even
host1/Admin(config-console)# speed 19200
host1/Admin(config-console)# stopbits 1
To disable a setting for the configured console line, use the no form of the command. For example, enter:
host1/Admin(config-console)# no stopbits 1
Use the show line console Exec mode command to verify the configured console settings for the ACE.
The syntax of this command is as follows:
show line console [connected]
The optional connected keyword displays the physical connection status.
For example, to display the configured console settings, enter:
host1/Admin# show line console
Databits: 8 bits per byte
Configuring Virtual Terminal Line Settings
Virtual terminal lines allow remote access to the ACE. A virtual terminal line is not associated with the console port; instead, it is a virtual port on the Catalyst 6500 series switch that allows you to access the ACE.
Use the line vty configuration mode command to configure the virtual terminal line settings. The CLI displays the line configuration mode. Use the session-limit command to configure the maximum number of terminal sessions per line.
The syntax of this command is as follows:
session-limit number
The number argument configures the maximum number of terminal sessions per line. The range is from 1 to 251.
For example, to configure a virtual terminal line, enter:
Enter configuration commands, one per line. End with CNTL/Z
host1/Admin(config)# line vty
host1/Admin(config-line)# session-limit 23
To disable a setting for the configured virtual terminal line, use the no form of the command. For example, enter:
host1/Admin(config-line)# no session-limit 23
Use the clear line command in Exec mode to close a specified vty session. The syntax of this command is as follows:
clear line vty_name
The vty_name argument specifies the name of the VTY session. Enter a maximum of 64 characters for the name of the virtual terminal.
For example, to close a specified vty session, enter:
host1/Admin# clear line vty vty1
Modifying the Boot Configuration
You can control how the ACE performs its boot process through ROMMON mode. ROMMON is the ROM-resident code that starts executing as soon as you power up or reset the ACE. Two user-configurable parameters determine how theACE boots: the boot field in the configuration register and the BOOT environment variable.
This section describes how to modify the boot configuration of the ACE and contains the following topics:
•
Setting the Boot Method from the Configuration Register
•
Setting the BOOT Environment Variable
•
Displaying the ACE Boot Configuration
Setting the Boot Method from the Configuration Register
The ROMMON code executes upon power up, reset, or when a fatal exception occurs. The ACE enters ROMMON mode if it does not find a valid system image, if the Flash memory configuration is corrupted, or if the configuration register is set to enter ROMMON mode.
Note
You can manually enter ROMMON mode by restarting the ACE and then pressing the Break key during the first 60 seconds of startup. If you are connected to the ACE through a terminal server, you can escape to the Telnet prompt and then enter the send break command to enter the ROMMON mode.
You can modify the boot method that the ACE uses at the next startup by setting the boot field in the software configuration register. The configuration register identifies how the ACE should boot and where the system image is stored. You can modify the boot field to force the ACE to boot a particular system image at startup instead of using the default system image.
To change the configuration register settings, use the config-register configuration command. This command affects only the configuration register bits that control the boot field and leaves the remaining bits unaltered.
The syntax of this command is as follows:
config-register value
The value argument represents the configuration register value that you want to use the next time that you restart the ACE. The supported value entries are as follows:
•
0—Upon reboot, the ACE boots to the rommon prompt. The ACE remains in ROMMON mode at startup.
•
1—Upon reboot, the ACE boots the system image identified in the BOOT environment variable (see the "Setting the BOOT Environment Variable" section). The BOOT environment variable specifies a list of image files on various devices from which the ACE can boot at startup. If the ACE encounters an error or if the image is not valid, it will try the second image (if one is specified). If the second image also fails to boot, the ACE returns to ROMMON mode.
See the "Booting the ACE from the rommon Prompt" section for details on booting the ACE from the rommon prompt.
For example, to set the boot field in the configuration register to boot the system image identified in the BOOT environment variable upon reboot, enter:
host1/Admin(config)# config-register 1
Booting the ACE from the rommon Prompt
If you specify a value of 0 for the config-register command, this configuration register setting forces the ACE to enter the ROMMON mode upon a reload or power cycle of the ACE. The ACE remains in ROMMON mode until you identify the location of an image file to boot.
The ACE supports two methods of booting the module from the rommon prompt:
•
To manually change the configuration register setting in ROMMON mode, use the confreg command followed by a value of 0 or 1.
•
To change the boot characteristics using onscreen prompts, use the confreg command without a value.
To instruct the ACE to manually boot from a particular system image, use the confreg command and specify a configuration register value of 1. Identify the name of the system image file that the ACE uses to boot.
A confreg value of 0 instructs the ACE to boot to the rommon prompt.
For example, to use the confreg command at the rommon prompt to instruct the ACE to boot from the c6ace-t1k9-mzg.3.0.0_A0_2.48.bin system image, enter:
rommon 12 > BOOT=disk0:c6ace-t1k9-mzg.3.0.0_A0_2.48.bin
To instruct the ACE to automatically boot from the image specified in the BOOT variable (see the "Setting the BOOT Environment Variable" section), use the confreg command without specifying a configuration register value to launch the Configuration Summary menu-based utility. You can then instruct the ACE to boot from the system image identified in the BOOT environment variable (see the "Setting the BOOT Environment Variable" section).
For example, to use the confreg command to display the onscreen prompts for changing the boot characteristics of the ACE, enter:
(Virtual Configuration Register: 0x1)
do you wish to change the configuration? y/n [n]: y
disable "break/abort has effect"? y/n [n]:
enable "ignore system config info"? y/n [n]:
change the boot characteristics? y/n [n]: y
1 = boot file specified in BOOT variable
For example, to use the confreg command to instruct the ACE to boot from the c6ace-t1k9-mzg.3.0.0_A0_2.48.bin system image, enter:
(Virtual Configuration Register: 0x1)
do you wish to change the configuration? y/n [n]: n
rommon 12 > BOOT=disk0:c6ace-t1k9-mzg.3.0.0_A0_2.48.bin
Setting the BOOT Environment Variable
The BOOT environment variable specifies a list of image files on various devices from which the ACE can boot at startup. You can add several images to the BOOT environment variable to provide a fail-safe boot configuration. If the first file fails to boot the ACE, subsequent images that are specified in the BOOT environment variable are tried until the ACE boots or there are no additional images to attempt to boot. If there is no valid image to boot, the ACE enters ROMMON mode where you can manually specify an image to boot.
The ACE stores and executes images in the order in which you added them to the BOOT environment variable. If you want to change the order in which images are tried at startup, you can either prepend and clear images from the BOOT environment variable to attain the desired order or you can clear the entire BOOT environment variable and then redefine the list in the desired order.
To set the BOOT environment variable, use the boot system image: command. The syntax of this command is as follows:
boot system image:image_name
The image_name argument specifies the name of the system image file. If the file does not exist (for example, if you entered the wrong filename), then the filename is appended to the bootstring, and this message displays, "Warning: File not found but still added in the bootstring." If the file does exist, but is not a valid image, the file is not added to the bootstring, and this message displays, "Warning: file found but it is not a valid boot image."
For example, to set the BOOT environment variable, enter:
host1/Admin(config)# boot system
image:c6ace-t1k9-mzg.3.0.0_A0_2.48.bin
Displaying the ACE Boot Configuration
To display the current BOOT environment variable and configuration register setting, use the show bootvar command in Exec mode.
For example, to display the BOOT environment variable settings, enter:
host1/Admin# show bootvar
BOOT variable = "disk0:c6ace-t1k9-mzg.3.0.0_A0_2.48.bin"
Configuration register is 0x1
Restarting the ACE
You can reload the ACE directly from its CLI or reboot it by using the Catalyst 6500 series CLI. You may need to reboot the ACE from the Catalyst CLI if you cannot reach the ACE through its CLI or by using an external Telnet session.
This section contains the following topics:
•
Restarting the ACE from the CLI
•
Restarting the ACE from the Catalyst CLI
Restarting the ACE from the CLI
To reboot the ACE directly from its CLI and reload the configuration, use the reload command in Exec mode. The reload command reboots the ACE and performs a full power cycle of both the hardware and software. The reset process can take several minutes. Any open connections with the ACE are dropped after you enter the reload command.
Caution 
Configuration changes that are not written to the Flash partition are lost after a reload. Before rebooting, enter the
copy running-conf startup-config command in Exec mode to store the current configuration in Flash memory. If you fail to save your configuration changes, the ACE reverts to its previous settings upon restart.
When you specify reload, the ACE prompts you for confirmation and performs a cold restart of the ACE:
This command will reboot the system
Save configurations for all the contexts. Save? [yes/no]: [yes]
Restarting the ACE from the Catalyst CLI
To restart the ACE from the Catalyst 6500 series CLI, use the hw-module command. The syntax of this command is as follows:
hw-module module mod_num reset
The arguments and keywords are as follows:
•
module mod_num—Applies the command to the module in the specified slot number in the Catalyst 6500 series chassis where the ACE is installed
•
reset—Resets the specified module
For example, to use the Catalyst 6500 series CLI to reset the ACE located in slot 3 of the chassis, enter:
Cat6k-switch# hw-module module 3 reset
Proceed with reload of module?[confirm]
% reset issued for module 3
Press Enter to confirm the restart operation.
Shutting Down the ACE
Caution 
Do not remove the ACE from the Catalyst 6500 series switch until the module has shut down completely and the Status LED is orange. You can damage the ACE if you remove it from the switch before it completely shuts down.
To avoid corrupting the ACE, you must correctly shut down the module before you disconnect the power or remove it from the Catalyst 6500 series chassis. To properly shut down the ACE, enter the no power enable module command in configuration mode at the Catalyst 6500 series CLI.
If the ACE fails to respond to this command, shut down the module by using a small, pointed object (such as a paper clip) to access the recessed Shutdown button on the front panel of the ACE. The shutdown procedure may take several minutes. The Status LED turns off when the ACE shuts down.