Command Reference Guide

Command Reference Guide Using CLI Shortcuts
5991-2114 © Copyright 2005 Hewlett-Packard Development Company, L.P. 6
Using CLI Shortcuts
The provides several shortcuts which help you configure your Secure Router OS product more easily. See
the following table for descriptions.
Router
entering
router rip
router
or
router ospf
while at the Global
Configuration Mode prompt.
For example:
>enable
#config term
(config)#
router rip
(config-rip)#
configure RIP or
OSPF parameters
suppress route
updates
redistribute
information from
outside routing
sources (protocols)
Interface specifying an interface (T1, Ethernet,
Frame Relay, ppp, etc.) while in the
Global Configuration Mode.
For example:
>enable
#config term
(config)#
int eth 0/1
(config-eth 0/1)#
(The above prompt is for the
Ethernet
LAN
interface located
on the rear panel of the unit.)
•configure
parameters for the
available LAN and
WAN interfaces
Shortcut Description
Up arrow key To re-display a previously entered command, use the up arrow key. Continuing to press
the up arrow key cycles through all commands entered starting with the most recent
command.
Tab key Pressing the <Tab> key after entering a partial (but unique) command will complete the
command, display it on the command prompt line, and wait for further input.
? The CLI contains help to guide you through the configuration process. Using the question
mark, do any of the following:
Display a list of all subcommands in the current mode. For example:
(config-t1 1/1)#
coding ?
ami - Alternate Mark Inversion
b8zs - Bipolar Eight Zero Substitution
Display a list of available commands beginning with certain letter(s). For example:
(config)#
ip d?
default-gateway dhcp-server domain-lookup domain-name
domain-proxy
Obtain syntax help for a specific command by entering the command, a space, and
then a question mark (?). The CLI displays the range of values and a brief
description of the next parameter expected for that particular command. For
example:
(config-eth 0/1)#
mtu ?
<64-1500> - MTU (bytes)
Mode Access by... Sample Prompt With this mode you
can...