Information Technology Reference
In-Depth Information
Example 3-18
Disable Debugging with the
undebug all
Command
R2#undebug all
All possible debugging has been turned off
Switch Commands
On the CCIE Routing and Switching (R & S) written exam, you need to know general
switch
commands and their functions, which are similar to
router
commands. This section covers
commands of the Catalyst operating system (CatOS). The
switch
command that is similar to
the
router
command
write erase
is
clear config all
. Example 3-19 shows a sample of this
command. The CatOS
clear config all
command erases the configuration stored in NVRAM.
On routers,
write erase
is the command that erases the configuration in NVRAM.
Example 3-19
CatOS
clear config all
Command
Console> (enable) clear config all
This command will clear all configuration in NVRAM.
This command will cause ifIndex to be reassigned on the next system startup.
Do you want to continue (y/n) [n]? y
........
.............................
System configuration cleared.
Console> (enable)
Passwords are configured in the Catalyst with the
set password
and
set enablepass
commands:
set password password
set enablepass password
Use the command
set interface sc0
ip address mask broadcast
to configure an IP address for
sc0, as shown in Example 3-20. The message returned by the switch tells you which parameters
changed. The sc0 interface is an in-band management interface that handles SNMP, Telnet,
Cisco Discovery Protocol (CDP), Virtual Terminal Protocol (VTP), and the Spanning-Tree
Protocol (STP).
Example 3-20
Configuration of Interface sc0
Switch-A> (enable) set interface sc0 172.16.19.5 255.255.255.0 172.16.19.255
Interface sc0 IP address, netmask, and broadcast set.
Switch-A> (enable)
Use
show interface
to check the interfaces, as shown in Example 3-21. The
show interface
command displays the configured sc0 interface and its status.
Search WWH ::
Custom Search