CISCO PT Simulation Experiment (2) port configuration and management for switches
Experimental Purpose : Master the basic configuration and management of the switch, and understand the basic commands of the switch configuration.
Experimental background : A company has a new batch of two-layer switch, before formally put into use to initialize the configuration and management, in order to maintain later.
Technical Principle :
There are two basic ways to manage switches: in-band management and out-of-band management.
-
by The switch's console port management switch is out-of-band management, which does not occupy the network port of the switch, the first configuration switch must take advantage of the console port to configure.
through Telnet , dialing, etc. ( TCP/IP protocol) belongs to in-band management.
The command line operation mode of the switch mainly includes:
When configuring the switch, pay attention to the single-duplex mode matching of the switch port, if the link end is set to full duplex, the other end is auto-negotiation, it will cause poor response and high error rate, packet loss is very serious. It is generally necessary to ensure that both ends are set to the same pattern.
-
line When you set a password in configuration mode, only passwod Span style= "FONT-SIZE:10.5PT;" > command, no Secret command, default is clear text display, need to enable password encryption ( global ) When enabled, all passwords within the configuration will be displayed in ciphertext form.
Laboratory Equipment : switch_2960 1 units, PC 1, configuration line, straight line.
Experimental topology :
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/9C/04/wKiom1lq0uPwdHGwAAAjX16SsBk052.png-wh_500x0-wm_ 3-wmp_4-s_968907472.png "title=" 2.1.PNG "width=" "height=" 324 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:240px ; height:324px; "alt=" Wkiom1lq0mnxv-axaaaivnhew18679.png-wh_50 "/>
Experimental steps:
Configuring switch port parameters (Speed,duplex)
Check port information (show interface)
Select a port (interface type Mod/port)
Type represents port types, usually Ethernet, FastEthernet, gigabitethernet
MoD indicates the module where the port is located, and port indicates the number in the module
Select multiple ports (interface range type Mod/startport-endport)
Set port communication speed (speeds [10/100/auto])
Set port single-duplex mode (duplex [Half/full/auto])
Enter route configuration mode (line [console/vty] number)
Console indicates that the device is connected via a serial cable (control/configuration port) for local login
Vty means connecting to a device (virtual port) via Telnet, etc. for remote login
Number indicates the line numbering, 0-15 in 0,vty mode in console mode
Set the login password for the console or vty line
To open the Login function for the console or vty line
Enable the Global Password encryption feature (service password-encryption)
PC0 (under Super Terminal) switch>enableswitch#conf t //command abbreviation: configure terminalswitch (config) # hostname s2960s2960 (config) #interface fa 0/1 //command abbreviation: interface fastethernet 0/1s2960 (config-if) #speed 100s2960 (config-if) #duplex fulls2960 (config-if) # end//at the same time the PC0 network card to full duplex mode, 100M rate, otherwise the link is not through s2960#show interface //Display Port All information s2960#show mac-address-tables2960#config ts2960 (config) #line console 0 //Entering console line mode S2960 (config-line) #password cisco //Set the login password for the console line S2960 (config-line) #login   //must set the password first to enable password logon function S2960 (config-line) #endS2960 #show r //command abbreviation: show running-configs2960#config ts2960 (config) #line console 0s2960 (config-line) #no login //Close Password login, that is, password-free login S2960 (config-line) #no password //Cancel Password S2960 (config-line) #w //command abbreviation: write memory
Lab Environment: Windows 7, Cisco PT 6.3
Reference: CCNA Study Guide (7th edition)
CISCO PT Simulation Experiment (2) port configuration and management for switches