Command Reference GuidePerforming Common CLI Functions

Shortcut

Description

 

 

 

 

<Ctrl> + A

Jump to the beginning of the displayed command line. This shortcut is helpful when using

 

the no form of commands (when available). For example, pressing <Ctrl + A> at the

 

following prompt will place the cursor directly after the #:

 

(config-eth 0/1)#ip address 192.33.55.6

<Ctrl> + E

Jump to the end of the displayed command line. For example, pressing <Ctrl + E> at the

 

following prompt will place the cursor directly after the 6:

 

(config-eth 0/1)#ip address 192.33.55.6

<Ctrl> + U

Clears the current displayed command line. The following provides an example of the <Ctrl

 

+ U> feature:

 

(config-eth 0/1)#ip address 192.33.55.6 (Press <Ctrl + U> here)

 

(config-eth 0/1)#

auto finish

You need only enter enough letters to identify a command as unique. For example,

 

entering int t1 1/1 at the Global configuration prompt provides you access to the

 

configuration parameters for the specified T1 interface. Entering interface t1 1/1

 

would work as well, but is not necessary.

 

 

Performing Common CLI Functions

The following table contains descriptions of common CLI commands.

Command

Description

 

 

 

 

do

The do command provides a way to execute commands in

 

other command sets without taking the time to exit the

 

current and enter the desired one. The following example

 

shows the do command used to view the Frame Relay

 

interface configuration while currently in the T1 interface

 

command set:

 

(config)#interface t1 1/1

 

(config-t1 1/1)#do show interfaces fr 7

no

To undo an issued command or to disable a feature, enter

 

no before the command.

 

For example:

 

no shutdown t1 1/1

copy running-config startup-config

When you are ready to save the changes made to the

 

configuration, enter this command. This copies your

 

changes to the unit’s nonvolatile random access memory

 

(NVRAM). Once the save is complete, the changes are

 

retained even if the unit is shut down or suffers a power

 

outage.

 

 

show running config

Displays the current configuration.

5991-2114

© Copyright 2005 Hewlett-Packard Development Company, L.P.

7

Page 7
Image 7
HP 7000 dl Router manual Config-eth 0/1#ip address, Command Reference GuidePerforming Common CLI Functions