Basic configuration of the Cisco PT Simulation Experiment (10) router
Experimental Purpose :
Mastering several common configuration methods of routers
Familiar with different command line operation modes of routers
Basic configuration commands for the Palm-lift router
Experimental Background :
as a network administrator, you first in the equipment room to the router after the first configuration, I hope in the future in the office or on business can also be remote management of the device, now to do the appropriate configuration on the router.
Technical Principle :
-
router: A three-layer network interconnection device for connecting LAN and WAN in the Internet, which is responsible for packet forwarding and routing. Automatically selects and sets the route according to the channel, and sends the signal in the order of the best path.
There are two basic ways to manage routers: in-band management and out-of-band management.
The router's console port management router belongs to out-of-band management and does not occupy the router's network interface, it is characterized by the need to use the configuration cable, near-distance configuration. The first configuration must be configured with the console port.
In-band management by means of Telnet, dialing, and so on (TCP/IP protocol).
The selection of the straight line and crossover line when the device is interconnected:
-
same equipment interconnect Application crossover: PC and PC, Span style= "Font-family:arial;font-size:14px;background-color:rgb (255,255,255);" >switch and Switch, Router and router and so on. There are some exceptions, such as switch and hub, PC and router.
non-homogeneous equipment room Interconnect Application of Straight line:pc and Switch/hub, router and Switch/hub.
Many devices now support port adaptation to automatically detect the PIN's send and receive definitions, so this device is connected without the need to consider using crossover or straight lines.
Experimental Equipment : ROUTER-PT 1 units, PC 1, crossover line, configuration line.
Experimental topology :
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/9D/CD/wKioL1mGqPWSTxTPAAAnDe-gb4Q721.png-wh_500x0-wm_ 3-wmp_4-s_827444636.png "title=" 10.1.PNG "width=" 218 "height=" "" border= "0" hspace= "0" vspace= "0" style= "width : 218px;height:320px; "alt=" Wkiol1mgqpwstxtpaaande-gb4q721.png-wh_50 "/>
Experimental steps:
Connect the PC's serial port (RS 232) and the console port of the router with the console cable
Enable HyperTerminal (Terminal) on the PC and use its default configuration parameters to make the PC and router connect via the console interface
The first time you enter the router CLI interface will prompt for initialization configuration, select "No" to exit the wizard
Check the type, module number, and port number of the port connected to the PC and router, and configure the IP address and subnet mask for the port
Ensure that the IP address of the PC is on the same subnet and that the router port is turned on (default off)
To ensure that Telnet users can enter privileged mode, you must set a privileged mode password or configure telnet user rights
Configure the Vty line login password and enable global password encryption
Log on to the router with the Telnet command to see
Display current configuration information
PC0 setting 192.168.1.2255.255.255.0192.168.1.1
Router0 configuration router>enablerouter#conf trouter (config) #inter f0/0 //Unlike switches, the router's port number defaults from 0 onwards router (config-if) #ip address 192.168.1.1 255.255.255.0 //Configuring the port of the router iprouter (config-if) #no shutdown //Open Port Router (config-if) # Exitrouter (config) #line vty 0 4 //Enter vty line configuration mode with number 0~4 switch (config-line) #privilege level 15 //set the line permission level to 15Router (config-line) #password cisco //Set Password to Ciscoswitch (config-line) # Exitswitch (config) #service password-encryption //enable global password encryption switch ( Config) #^zswitch#show r
PC0 (Command prompt cmd) ping 192.168.1.2//ping pass itself ping 192.168.1.1//ping gateway telnet 192.168.1.1//telnet pas Sword:cisco//Enter password
Lab environment: Windows 7,cisco PT 7.0
Reference: CCNA Study Guide (7th edition)
Basic configuration of the Cisco PT Simulation Experiment (10) router