Brocade Communications Systems 53-1001762-01 User Manual

Page of 252
10
Converged Enhanced Ethernet Command Reference
53-1001762-01
do
2
DRAFT: BROCADE CONFIDENTIAL
do 
Allows you to run commands in EXEC mode from the configuration mode.
Synopsis
do command
Operands
command
Specifies the command you want to run.
Defaults
There are no default configurations for this command.
Command
Modes
All configuration modes
Description
Use this command to save time when you are configuring the switch in any configuration mode and 
you want to run a command in the Privileged EXEC mode.
Usage
Guidelines
There are no usage guidelines for this command.
Examples
To run the clear counters all command with the do command:
switch(config)#do clear counters all
switch(config)#
To display the contents from the working directory using the do command:
switch(config)#do dir
Contents of flash://
   -rw-r-----            1276   Wed Feb  4 07:08:49 2009    startup_rmon_config
   -rw-r-----            1276   Wed Feb  4 07:10:30 2009    rmon_config
   -rw-r-----            1276   Wed Feb  4 07:12:33 2009    rmon_configuration
   -rw-r-----            1276   Wed Feb  4 10:48:59 2009    starup-config
switch(config)#
See Also
none