cc/td/doc/product/lan/cat5000/rel_4_2
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

editing
enable---ATM
enable---switch
end
exit
format

editing

Use the editing command to enable enhanced editing mode. Use the no form of this command to disable enhanced editing mode.

editing
no editing

Syntax Description

This command has no arguments or keywords.

Command Type

Cisco IOS ATM command.

Default

Enabled.

Command Mode

Line configuration.

Usage Guideline

Table 2-3 describes the keys used to enter and edit commands. Ctrl indicates the Control key. You must press Ctrl simultaneously with the associated letter key. Esc indicates the Escape key. Esc must be pressed first, followed by the associated letter key. Keys are not case sensitive.


Table 2-3: Keys To Enter and Edit Commands
Keys Function

Tab

Completes a partial command name entry. When you enter a unique set of characters and press the Tab key, the system completes the command name. If you enter a set of characters that could indicate more than one command, the system beeps to indicate an error. Enter a question mark (?) immediately following the partial command (no space). The system lists the commands that begin with that string.

Delete or Backspace

Erases the character to the left of the cursor.

Return

Processes a command when you are at the command line. At the ---More--- prompt on a terminal screen, pressing the Return key scrolls down a line.

Spacebar

Allows you to see more output on the terminal screen. Press the Spacebar when you see ---More--- on the screen to display the next screen.

Left Arrow1

Moves the cursor one character to the left. When you enter a command that extends beyond a single line, you can press the left arrow key repeatedly to scroll back to the system prompt and verify the beginning of the command entry.

Right Arrow1

Moves the cursor one character to the right.

Up Arrow1 or Ctrl-P

Recalls commands in the history buffer, beginning with the most recent command. Repeat the key sequence to recall older commands.

Down Arrow1 or Ctrl-N

Returns to more recent commands in the history buffer after recalling commands with the up arrow or Ctrl-P. Repeat the key sequence to recall more recent commands.

Ctrl-A

Moves the cursor to the beginning of the line.

Ctrl-B

Moves the cursor back one character.

Ctrl-D

Deletes the character at the cursor.

Ctrl-E

Moves the cursor to the end of the command line.

Ctrl-F

Moves the cursor forward one character.

Ctrl-K

Deletes all characters from the cursor to the end of the command line.

Ctrl-L or Ctrl-R

Redisplays the system prompt and command line.

Ctrl-T

Transposes the character to the left of the cursor with the character located at the cursor.

Ctrl-U or Ctrl-X

Deletes all characters from the cursor back to the beginning of the command line.

Ctrl-V or Esc Q

Inserts a code to indicate to the system that the keystroke immediately following should be treated as a command entry, not as an editing key.

Ctrl-W

Deletes the word to the left of the cursor.

Ctrl-Y

Recalls the most recent entry in the delete buffer. The delete buffer contains the last ten items you deleted or cut. Ctrl-Y can be used with Esc Y.

Ctrl-Z

Ends configuration mode and returns to the EXEC prompt.

Esc B

Moves the cursor back one word.

Esc C

Capitalizes from the cursor to the end of the word.

Esc D

Deletes from the cursor to the end of the word.

Esc F

Moves the cursor forward one word.

Esc L

Changes to lowercase from the cursor to the end of the word.

Esc U

Capitalizes from the cursor to the end of the word.

Esc Y

Recalls the next buffer entry. The buffer contains the last ten items you deleted. Press Ctrl-Y first to recall the most recent entry. Then press Esc Y up to nine times to recall the remaining entries in the buffer. If you bypass an entry, press Esc  Y to cycle back to it.

1The arrow keys function only with ANSI-compatible terminals such as VT100.

Example

This example shows how to disable enhanced editing mode on virtual terminal line 3:

ATM#config terminal
Enter configuration commands, one per line.  End with Ctrl-Z.
ATM(config)#line vty 3
ATM(config-line)#no editing
ATM(config-line)#

enable---ATM

Use the enable command to enter privileged EXEC mode.

enable
Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Command Type

Cisco IOS ATM command.

Command Mode

EXEC.

Usage Guideline

If the system administrator has set a password with the enable password command, you are prompted to enter the password before gaining access to privileged EXEC mode. The password is case sensitive. The default password on the ATM module is atm.

Example

This example shows how to cause the system to enter privileged command mode, as indicated by the pound sign (#):

ATM>enable
Password: <password>
ATM#
Related Command

disableATM

enable---switch

Use the enable command to activate privileged mode. In privileged mode, additional commands are available, and certain commands display additional information.

enable
Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

The (enable) in the prompt indicates that the system is in privileged mode and that commands can be entered.

Example

This example shows how to enter privileged mode:

Console> enable
Enter password:
Console> (enable) 
Related Command

disableswitch

end

Use the end command to exit configuration mode.

end
Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Command Type

Cisco IOS ATM command.

Command Mode

Global configuration.

Usage Guideline

You can press Ctrl-Z to exit configuration mode.

Example

This example shows how to exit configuration mode and return to EXEC mode:

ATM(config)#end
ATM#
Related Command

exit

exit

Use the exit command at the system prompt to exit any command mode or close an active terminal session and terminate the EXEC.

exit
Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Command Type

Cisco IOS ATM command.

Command Mode

Available in all command modes.

Usage Guideline

When you enter the exit command at the EXEC level, the EXEC session is ended. Use the exit command at the configuration level to return to privileged EXEC mode. Use the exit command in interface and line command modes to return to global configuration mode. Use the exit command in subinterface configuration mode to return to interface configuration mode. You can also press Ctrl-Z in any configuration mode to return to privileged EXEC mode.

Example

This example shows how to exit an active session:

ATM>exit
Related Commands

enableATM
end

format

Use the format command to format a Flash card. A Flash card must be formatted before it can be used.

format [spare spare-num] [m/]device1: [[device2:][monlib_filename]]
Syntax Description

spare spare_num

(Optional) Number of spare sectors to reserve when other sectors fail.

m/

(Optional) Module number of the supervisor engine containing the Flash device.

device1:

Flash device to be formatted.

device2:

(Optional) Flash device that contains the monlib file to be used to format device1:.

Default

The default number of spare sectors is 0.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guidelines

This command applies only to the Supervisor Engine III. If you attempt to run this command on a Supervisor Engine I or II, you will receive an error message.

A colon (:) is required after the specified device.

You can reserve up to 16 spare sectors for use when other sectors fail. If you do not reserve a spare sector and later some sectors fail, you will have to reformat the entire Flash memory, which will erase all existing data.

The monlib file is the ROM monitor library used by the ROM monitor to access files in the Flash file system. It is also compiled into the system image. In the command syntax, device1: is the device to format and device2: contains the monlib file to use.

When you omit the [device2:][monlib-filename]] argument, the system formats device1: using the monlib that is bundled with the system software.

When you omit device2: from the [[device2:][monlib-filename]] argument, the system formats device1: using the named monlib file from the device specified by the cd command.

When you omit monlib-filename from the [[device2:][monlib-filename]] argument, the system formats device1: using the monlib file from device2:. When you specify the whole [[device2:][monlib-filename]] argument, the system formats device1: using the specified monlib file from the specified device.

You can also specify device1:monlib_filename as the device and filename to be used, as follows:

format device1: [device1: [monlib_filename]]

If monlib_filename is omitted, the system formats device1: using the built-in monlib file on the device.


Note When the system cannot find a monlib file, the system terminates the formatting process.
Example

This example shows how to use the format command:

Console> (enable) format slot1:
All sectors will be erased, proceed (y/n) [n]?y
Enter volume id (up to 31 characters):
Formatting sector 1
Format device slot1 completed.
Console> (enable) 


hometocprevnextglossaryfeedbacksearchhelp

Copyright 1989-1999©Cisco Systems Inc.