Cisco Systems Cisco MGX 8850 Manuale Utente

Pagina di 786
 
1-13
Cisco MGX 8850 Routing Switch Command Reference
Release 2.0, Part Number 78-10467-04 Rev C0, October 2001
Chapter 1
Command Line Interface Overview
cmdhistory
cmdhistory
Display Command History
The cmdhistory command lists the last 10 commands executed on the current card. To execute a 
previous command with parameters, type an exclamation mark and the associated number and no spaces, 
then press Enter or Return.
Cards on Which This Command Runs
PXM45, AXSM
Syntax
cmdhistory
Syntax Description
This command takes no parameters.
Related Commands
history
Attributes
Example
Display the previous commands executed on the PXM45. Repeat dspcd.
MGX8850.7.PXM.a > cmdhistory
Size of cmdHistory is currently 10 line(s)
  1 cmdhistory
  2 cd
  3 cd ..
  4 pwd
  5 cd ..
  6 dspcd
  7 clrscrn
  8 ?
  9 q
 10 cmdhistory 
MGX8850.7.PXM.a > !6
dspcd
MGX8850                            System Rev: 02.00   Sep. 09, 2000 16:58:23 GMT
MGX8850 (MGX8850)                                      Node Alarm: MAJOR
Slot Number    7    Redundant Slot:  8
                    Front Card          Upper Card          Lower Card
                    ----------          ----------          ----------
Inserted Card:      PXM45               UI Stratum3         PXM HardDiskDrive
Log: no log
State: active, standby, init
Privilege: ANYUSER