The Do Command; Undoing Commands - Dell S3048-ON Configuration Manual

Hide thumbs Also See for S3048-ON:
Table of Contents

Advertisement

The do Command

You can enter an EXEC mode command from any CONFIGURATION mode (CONFIGURATION, INTERFACE, SPANNING TREE, and so
on.) without having to return to EXEC mode by preceding the EXEC mode command with the do command.
The following example shows the output of the do command.
Dell(conf)#do show system brief
Stack MAC
Reload-Type
--
Stack Info
--
Unit
UnitType
------------------------------------------------------------------------
1
Management
2
Member
3
Member
4
Member
5
Member
6
Member
--
Power Supplies
Unit
Bay
Status
-------------------------------------------------------------
1
1
up
1
2
absent
--
Fan
Status
--
Unit Bay
TrayStatus
------------------------------------------------------------------
1
1
up
1
2
up
1
3
up
Speed in RPM

Undoing Commands

When you enter a command, the command line is added to the running configuration file (running-config).
To disable a command and remove it from the running-config, enter the no command, then the original command. For example, to delete
an IP address configured on an interface, use the no ip address ip-address command.
NOTE:
Use the help or ? command as described in
Example of Viewing Disabled Commands
Dell(conf)#interface tengigabitethernet 4/17
Dell(conf-if-gi-4/17)#ip address 192.168.10.1/24
Dell(conf-if-gi-4/17)#show config
!
interface GigabitEthernet 4/17
ip address 192.168.10.1/24
no shutdown
Dell(conf-if-gi-4/17)#no ip address
Dell(conf-if-gi-4/17)#show config
!
interface GigabitEthernet 4/17
no ip address
no shutdown
: 34:17:eb:f2:c2:c4
: normal-reload [Next boot : normal-reload]
Status
ReqTyp
online
S3048-ON
not present
not present
not present
not present
not present
--
Type
FanStatus
AC
absent
absent
Fan0
Speed
up
0
up
0
up
0
CurTyp
Version
S3048-ON 1-0(0-3932)
FanSpeed(rpm)
0
0
Fan1
Speed
up
0
up
0
up
0
Obtaining
Help.
Ports
52
Configuration Fundamentals
39

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents