Red Hat Fedora 5 Unleashed

The Foundation Summary is a collection of tables that provides a convenient review of many key concepts in this chapter. If you are already comfortable with the topics in this chapter, this summary can help you recall a few details. If you just read this chapter, this review should help solidify some key facts. If you are doing your final preparation before the exam, the following tables are a convenient way to review the day before the exam.

Table 4-3. Switch-Management Configuration Commands

Task

Command Syntax

Identify switch

hostname hostname

Set EXEC-level password

line type number

password password

Set privileged-level password

enable secret password

Set IP address

interface vlan vlan-id

ip address ip-address netmask

ip default-gateway ip-address

CDP (enabled by default on every switch port)

cdp enable

Table 4-4. File-Management Commands

Task

Command Syntax

Navigate to the directory of Flash

dir [flash:[directory]]

Change directory

cd flash:directory

Copy a file between Flash and a TFTP server

copy flash:[filename] tftp:

or

copy tftp: flash:[filename]

Delete a file in Flash

delete flash:filename

Clear Flash contents

erase flash:

or

format flash:

Save the running configuration

copy running-config startup-config

or

copy running-config tftp:

Overwrite the running configuration

copy startup-config running-config

Overwrite the permanent configuration

copy tftp: startup-config

or

erase startup-config

Table 4-5. Troubleshooting Commands

Task

Command Syntax

Display the current running environment and IOS version

show version

Display the running configuration

show running-config [interface type mod/num | vlan vlan-id | module mod]

Display the permanent configuration

show startup-config

or

show config

Display all technical support information

show tech-support

Verify an image checksum

verify flash:filename

Enable or disable debugging

debug keywords

no debug keywords

or

no debug all

or

undebug all

Display CDP information

show cdp interface [type mod/num]

or

show cdp neighbors [type mod/num | vlan vlan-id] [detail]

or

show cdp entry * protocol

Категории