SROS Command Line Interface Reference Guide
Mode
Access by...
Router
entering
router rip router
router ospf
Configuration mode prompt.
For example:
>enable
#config term
(config)#router rip
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
Using CLI Shortcuts
The SROS CLI provides several shortcuts which help you configure your product more easily. See the
following table for descriptions.
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:
ProCurve(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:
ProCurve(config)#ip d?
default-gateway
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:
ProCurve(config-eth 0/1)#mtu ?
<64-1500> - MTU (bytes)
5991-2114
Sample Prompt
or
ProCurve(config-rip)#
while at the Global
ProCurve(config-eth 0/1)#
(The above prompt is for the
Ethernet LAN interface located on
the rear panel of the unit.)
dhcp-server
© Copyright 2007 Hewlett-Packard Development Company, L.P.
With this mode you
can...
•
•
•
•
domain-lookup
domain-name
Using CLI Shortcuts
configure RIP or
OSPF parameters
suppress route
updates
redistribute
information from
outside routing
sources (protocols)
configure
parameters for the
available LAN and
WAN interfaces
7