beautypg.com

Line editing commands – Cabletron Systems SMARTSWITCH ROUTER 9032578-05 User Manual

Page 33

background image

SmartSwitch Router User Reference Manual

7

Chapter 1: Introduction

without typing the subsystem name in each time. For example, if you are configuring
several entries for the IP routing table, you can simply enter ip at the CLI Configure
prompt. The prompt changes to indicate that the context for the commands to be entered
has changed to that of the IP subsystem. If you type a ?, only those commands that are
valid for the IP subsystem are displayed. The following is an example:

Line Editing Commands

The SSR provides line editing capabilities that are similar to Emacs, a Unix text editor. For
example, you can use certain line editing keystrokes to move forward or backward on a
line, delete or transpose characters, and delete portions of a line. To use the line editing
commands, you need to have a VT-100 terminal or terminal emulator. The line editing
commands that you can use with CLI are detailed in

Table 1

.

ssr(config)# ip
ssr(config)(ip)# ?
add - Add a static route
dos - Configure specific denial of service features
disable - Disable certain IP function
enable - Enable certain IP function
helper-address - Specify IP helper address for an interface
l3-hash - Change IP hash variant for channel
set - Set ip stack properties
Ctrl-z - Exits to previous level
top - Exits to the top level
ssr(config)(ip)# [Ctrl-Z]
ssr(config)#

Table 1. CLI Line Editing Commands

Command

Resulting Action

Ctrl-a

Move to beginning of line

Ctrl-b

Move back one character

Ctrl-c

Abort current line

Ctrl-d

Delete character under cursor

Ctrl-e

Move to end of line

Ctrl-f

Move forward one character

Ctrl-g

Abort current line

Ctrl-h

Delete character just priority to the cursor

Ctrl-i

Insert one space (tab substitution)

Ctrl-j

Carriage return (executes command)