I. Lab Objectives
- Master several common router configuration methods;
- Master how to configure a vro using the console cable;
- Master how to configure a vrotelnet through Telnet;
- Familiar with different command line operation modes of routers and switching between different modes;
- Master basic router configuration commands;
Ii. Technical Principles
There are two vro Management Methods: in-band management and out-of-band management. Using the Console port of a vro to manage vrouters is an out-of-band management interface that does not occupy vro network interfaces. It is characterized by the use of configuration cables for close-range configuration. The Console port must be used for the first configuration.
Iii. Experiment steps
Lab Topology
1. Use the standard console cable to connect the serial port of the computer to the Console port of the router, enable the Super Terminal on the computer, and configure the parameters of the Super Terminal so that the computer and the router can establish a connection through the Console port;
2. Configure the management IP address of the vrotelnet and configure the username and logon password for the Telnet user. Configure the IP address of the computer (which is in the same network segment as the router management IP address), connect the computer to the router through the network cable, and telnet the computer to the router to view the configuration;
3. Change the Host Name of the vro;
4. Erase configuration information, save configuration information, and display configuration information;
5. display the current configuration information;
6. Display historical commands;
Router> enrouter # conf tenter configuration commands, one per line. end with cntl/Z. router (config) # interface fa0/0 router (config-If) # No shutdown // The router port is disabled by default, enabling fa0/0 port % link-5-changed: interface fastethernet0/0, changed state to up % LINEPROTO-5-UPDOWN: Line protocol on interface fastethernet0/0, changed state to uprouter (config-If) # exitrouter (config) # hostname R1 // modify the vro host name r1 (config) # enable password 123456 // set to enter the privileged mode password r1 (config) # Line vty 0 4r1 (config-line) # password ABC123 // set the Telnet Remote logon password r1 (config-line) # loginr1 (config-line) # exitr1 (config) # interface fa0/0r1 (config-If) # IP address 192.168.1.1 255.255.255.0 // configure the management IP address of the router r1 (config-If) # No shutdown // enable port r1 (config-If) # End % SYS-5-CONFIG_ I: configured from console by consoler1 #
Iv. PC logon Test
Packet tracer PC command line 1.0 Pc> ipconfigip address ......................: 192.168.1.2subnet mask .....................: 255.255.255.0default gateway .................: 192.168.1.1pc> Ping 192.168.1.2pinging 192.168.1.2 with 32 bytes of data: reply from 192.168.1.2: bytes = 32 time = 12 Ms TTL = 128 reply from 192.168.1.2: bytes = 32 time = 0 Ms TTL = 128 reply from 192.168.1.2: bytes = 32 time = 1 ms TTL = 128 reply from 192.168.1.2: bytes = 32 time = 1 ms TTL = 128 Ping statistics for 192.168.1.2: Packets: Sent = 4, received = 4, lost = 0 (0% loss ), approximate round trip times in Milli-seconds: Minimum = 0 ms, maximum = 12 ms, average = 3 mspc> Telnet 192.168.1.1trying 192.168.1.1... openuser access verificationpassword: // enter the vty password r1> enpassword: // enter the Enable Password R1 # R1 # Show running-config // view the configuration information building configuration... current C Onfiguration: 501 bytes! Version 12.4no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption! Hostname R1 !!! Enable Password 123456 !!!!!!!!!!!!!!!! Interface fastethernet0/0 IP address 192.168.1.1 255.255.255.0 duplex auto speed auto! Interface fastethernet0/1 no IP address duplex auto speed auto shutdown! Interface vlan1 no IP address shutdown! IP classless !!!!!!! Line con 0 line vty 0 4 password ABC123 login !!! Endr1 #