Packet Tracer 5.0 Experiment (i) basic configuration and management of switches
First, the experimental target
Master the configuration and management of switch basic information
Second, the principle of technology
There are two basic ways to manage switches: in-band management and out-of-band management.
Third, the switch command line operation mode
Mainly include:
User Mode switch>
Privileged Mode switch#
Global configuration mode Switch (config) #
Port mode Switch (config-if) #
Iv. Steps of the experiment
1. Experimental topology
650) this.width=650; "src=" http://pic002.cnblogs.com/images/2012/370046/2012071310322066.jpg "style=" margin:0px; padding:0px;border:0px; "/>
2, switch basic configuration command
A. Enter privileged mode
Switch>enable//en=enable
switch#
B. Go to global configuration mode
Switch#configure Terminal//conf T=configure terminal
Enter configuration commands, one per line. End with cntl/z.
C. Enter switch port view mode
Switch (config) # interface fastethernet 0/1//int f0/1=interface fastethernet 0/1
Switch (config-if) #
D. Configure switch port speed
Switch (config-if) #speed?
Operation100 force of ten Mbps Operationauto Enable AUTO Speed Configuration
Switch (config-if) #speed 100
E. Configuring switch port Duplex mode
Switch (config-if) #duplex?
Auto Enable Auto Duplex configurationfull Force full duplex operationhalf Force Half-duplex operation
Switch (config-if) #duplex full
F. Return to the upper-level mode
Switch (config-if) #exit
Switch (config) #
G. Direct return to privileged mode
Switch (config-if) #end
switch#
%sys-5-config_i:configured from console by console
switch#
H. Viewing switch version information
Switch#show version
650) this.width=650; "src=" Http://common.cnblogs.com/images/copycode.gif "alt=" Copy Code "style=" margin:0px;padding:0px ; border:none; "/>
cisco ios software, c2960 software (c2960-lanbase-m), Version 12.2 (+) FX, RELEASE SOFTWARE (FC1) copyright (c) 1986-2005 by Cisco Systems, Inc.compiled wed 12-oct-05 22:05 by pt_teamrom: c2960 boot loader (C2960-HBOOT-M) version 12.2 (25r) fx, release software (FC4) System returned to rom by power-oncisco ws-c2960-24tt (RC32300) processor ( REVISION C0) with 21039K bytes of memory. 24 FastEthernet/IEEE 802.3 interface (s) 2 gigabit ethernet/ieee 802.3 interface (s) 63488K bytes of flash-simulated non-volatile configuration memory. base ethernet mac address : 0040.0b69.8831motherboard assembly number : 73-9832-06power supply part number : 341-0097-02Motherboard serial number : foc103248mjpower supply serial number : dca102133jamodel revision number : B0Motherboard revision number : C0Model number : WS-C2960-24TTSystem serial number : foc1033z1ey --more--... Configuration register is 0xf
650) this.width=650; "src=" Http://common.cnblogs.com/images/copycode.gif "alt=" Copy Code "style=" margin:0px;padding:0px ; border:none; "/>
I. Viewing the configuration information that is currently in effect
Switch#show running-config
650) this.width=650; "src=" Http://common.cnblogs.com/images/copycode.gif "alt=" Copy Code "style=" margin:0px;padding:0px ; border:none; "/>
Building configuration ... Current configuration:1033 bytes!version 12.2no service Timestamps log datetime MSECNO service timestamps debug datetime MSECNO Service Password-encryption!hostname Switch!!! Interface FASTETHERNET0/1 Duplex Full speed 100!interface fastethernet0/2!interface fastethernet0/3!interface Fastethernet0/4!interface FASTETHERNET0/5--more--...!! End
650) this.width=650; "src=" Http://common.cnblogs.com/images/copycode.gif "alt=" Copy Code "style=" margin:0px;padding:0px ; border:none; "/>
J. Help Information
①switch#?
650) this.width=650; "src=" Http://common.cnblogs.com/images/copycode.gif "alt=" Copy Code "style=" margin:0px;padding:0px ; border:none; "/>
Exec commands: <1-99> session number to resume clear reset functions clock Manage the system clock configure enter configuration mode connect open a terminal connection copy copy from one file to another debug debugging functions (see also ' undebug ') delete Delete a file dir list files on a filesystem disable turn off privileged commands disconnect Disconnect an existing network connection enable Turn on privileged commands erase erase a filesystem exit exit from the exec logout exit from the EXEC more Display the contents of a file no disable Debugging informations ping send echo messages reload Halt and perform a Cold restart resume resume an active network connection setup run the setup command facility --more--
650) this.width=650; "src=" Http://common.cnblogs.com/images/copycode.gif "alt=" Copy Code "style=" margin:0px;padding:0px ; border:none; "/>
②switch#co?
Configure Connect Copy
③switch#copy?
Flash:copy from Flash:file system ftp:copy to Ftp:file system Running-config Copy from Curren T system configuration Startup-config Copy from the startup configuration tftp:copy from Tftp:file system
Packet Tracer 5.0 Experiment (i) basic configuration and management of switches