Introduction |
You are working on the Cisco Interactive Mentor simulation environment (CIM-SE) console (displayed in your browser).
Step 1 | Configure the hostname of the router. |
Task | Command |
1 From user EXEC mode, enter privileged EXEC mode. | enable |
2 From privileged EXEC mode, enter global configuration mode. | configure terminal |
3 From global configuration mode, configure a new host name. | hostname CIM-Router1 |
Step 2 | Set the system clock on the router. |
A real router will accept any time and date, in the correct format.
Task | Command |
1 From global configuration mode, return to privileged EXEC mode. | exit |
2 From privileged EXEC mode, set the system clock. | clock set 11:56:50 11 March 1999 |
3 From privileged EXEC mode, view the clock setting. | show clock |
Step 3 | Configure the message-of-the-day banner. |
Task | Command |
1 From privileged EXEC mode, return to global configuration mode. | configure terminal |
2 From global configuration mode, configure a message-of-the-day banner. | banner motd # TechnologyDepartment # |
3 From global configuration mode, return to privileged EXEC mode. | exit |
4 From privileged EXEC mode, exit the EXEC entirely. | exit |
5 Press Return when prompted, to enter user EXEC mode. | <CR> |
Step 4 | Configure a description for the Serial 0 interface. |
Now display the running configuration to see the interface description you just configured. To display the running configuration, use the show running-config command in privileged EXEC mode.
In a configuration display, the exclamation marks function as line separators to make reading easier. In this configuration, notice how commands entered at the interface configuration level, such as the interface description command, appear indented underneath the interface they were entered on. Global-level commands are not indented, so you can easily identify which configuration parameters are set at the global configuration level and which are set at the various configuration sublevels.
Notice the commands that you have configured so far in this Basic Configuration Lab: hostname, banner motd, and interface description.
Task | Command |
1 From user EXEC mode, enter privileged EXEC mode. | enable |
2 From privileged EXEC mode, enter global configuration mode. | configure terminal |
3 From global configuration mode, enter interface configuration mode. | interface serial 0 |
4 From interface configuration mode, configure an interface description. | description FirstSerialInNetwork1 |
5 From interface configuration mode, return to privileged EXEC mode. | Ctrl-Z |
6 From privileged EXEC mode, display the running configuration. | show running-config |
Step 5 | Set up a console password on the router. |
Task | Command |
1 From privileged EXEC mode, enter global configuration mode. | configure terminal |
2 From global configuration mode, enter line configuration mode for a console line. | line console 0 |
3 From line configuration mode, configure a console password. | password cisco |
4 From line configuration mode, return to privileged EXEC mode. | Ctrl-Z |
5 From privileged EXEC mode, exit the EXEC entirely. | exit |
6 Press Return when prompted. | <CR> |
7 Enter the console password at the prompt, to enter user EXEC mode. | cisco |
Step 6 | Set up a password for the virtual-terminal lines of the router. |
Task | Command |
1 From user EXEC mode, enter privileged EXEC mode. | enable |
2 From Privileged EXEC mode, enter global configuration mode. | configure terminal |
3 From global configuration mode, enter line configuration mode for a virtual terminal. | line vty 0 4 |
4 From line configuration mode, configure a virtual-terminal password. | password cisco |
Step 7 | Configure and test an enable password on the router. |
Task | Command |
1 From line configuration mode, return to global configuration mode. | exit |
2 From global configuration mode, configure an enable password. | enable password cisco |
3 From global configuration mode, return to privileged EXEC mode. | exit |
4 From privileged EXEC mode, return to user EXEC mode. | disable |
5 From user EXEC mode, reenter privileged EXEC mode, entering the enable password when prompted. |
cisco |
Step 8 | Capture logging messages in a buffer. |
Task | Command |
1 From privileged EXEC mode, return to global configuration mode. | configure terminal |
2 From global configuration mode, configure the system to log messages to an internal buffer. | logging buffered |
Step 9 | Assign an IP address to the Ethernet 0 interface. |
Task | Command |
1 From global configuration mode, enter interface configuration mode. | interface ethernet 0 |
2 From interface configuration mode, assign an IP address to the interface. | ip address 10.1.2.2 255.0.0.0 |
Step 10 | Activate the Ethernet 0 interface and view the system log. |
Task | Command |
1 From interface configuration mode, activate the interface. | no shutdown |
2 From interface configuration mode, return to privileged EXEC mode. | Ctrl-Z |
3 From privileged EXEC mode, view the system log. | show logging |
Step 11 | Turn on time-stamping for logging messages. |
Task | Command |
1 From privileged EXEC mode, enter global configuration mode. | configure terminal |
2 From global configuration mode, configure the system to timestamp logging messages. | service timestamps log datetime |
3 From global configuration mode, return to privileged EXEC mode. | exit |
4 From privileged EXEC mode, view the system log. | show logging |
Step 12 | Configure an IP address on the serial 0 interface and activate the interface. |
Task | Command |
1 From privileged EXEC mode, enter global configuration mode. | configure terminal | 2 From global configuration mode, enter interface configuration mode. | interface serial 0 |
3 From interface configuration mode, assign an IP address to the interface. | ip address 11.1.2.1 255.0.0.0 |
4 From interface configuration mode, activate the interface. | no shutdown |
Step 13 | View information about the serial 0 interface. |
Note: Cisco routers default to High-Level Data Link Control (HDLC) encapsulation. Serial interfaces carry a maximum transmission unit (MTU) of 1500 bytes and have a bandwidth capacity of 1.544 Mbps.
From privileged EXEC mode, display the interface information with the show interface command.
Task | Command |
1 From interface configuration mode, return to privileged EXEC mode. | Ctrl-Z |
2 From privileged EXEC mode, display interface information for the interface. | show interfaces serial 0 |
Step 14 | Remove the IP address configured on the serial 0 interface. |
Then, from privileged EXEC mode, use the show interface command to display the interface information again, and note the changes.
Task | Command |
1 From privileged EXEC mode, enter global configuration mode. | configure terminal |
2 From global configuration mode, enter interface configuration mode. | interface serial 0 |
3 From interface configuration mode, deactivate the interface. | shutdown |
4 From interface configuration mode, remove the IP address. | no ip address |
5 From interface configuration mode, return to privileged EXEC mode. | Ctrl-Z |
6 From privileged EXEC mode, display interface information for the interface. | show interface serial 0 |
Step 15 | View the running configuration. |
Notice the commands that you have configured in this Basic Configuration Lab: hostname, service timestamps, banner motd, interface description, console (line con) password, Telnet (line vty) password, enable password, interface no shutdown, and ip address.
If an interface is in a shutdown state, "shutdown" appears indented under that particular interface. Also, commands that are enabled by default are not displayed in output of show running-config.
Task | Command |
From privileged EXEC mode, display the running configuration. | show running-config |
Step 16 | View the startup configuration stored in NVRAM. |
Task | Command |
From privileged EXEC mode, display the startup configuration. | show startup-config |
Step 17 | Save the running configuration to NVRAM. |
When editing a configuration, save often.
Task | Command |
From privileged EXEC mode, save the running configuration. | copy running-config startup-config |
Step 18 | View the configuration stored in NVRAM. |
Notice that the commands you configured in the Basic Configuration Lab and later viewed in the running configuration by issuing the show running-config commandhostname, service timestamps, interface description, console (line con) password, Telnet (line vty) password, enable password, interface no shutdown, ip addressare now in the startup configuration.
Task | Command |
From privileged EXEC mode, display the startup configuration. | show startup-config |
Step 19 | Assign an IP address to the Ethernet 1 interface. |
Task | Command |
1 From privileged EXEC mode, enter global configuration mode. | configure terminal |
2 From global configuration mode, enter interface configuration mode. | interface ethernet 1 |
3 From interface configuration mode, activate the interface. |
|
4 From interface configuration mode, assign an IP address to the interface. | ip address 172.16.82.1 255.255.0.0 |
5 From interface configuration mode, return to global configuration mode. | exit |
Step 20 | Revert to the last saved configuration file. |
Task | Command |
1 From global configuration mode, return to privileged EXEC mode. | exit |
2 From privileged EXEC mode, copy the startup configuration to RAM. | copy startup-config running-config |
Step 21 | View the running configuration. |
Task | Command |
From privileged EXEC mode, display the running configuration. | show running-config |
Step 22 | View the system log. |
Task | Command |
From privileged EXEC mode, view the system log. | show logging |
Step 23 | View some general information about the router. |
Software Version | - Cisco IOS Software version (stored in Flash) |
Bootstrap Version | - Bootstrap version (stored in boot ROM) |
System Uptime | - Time since last reboot |
System Restart Information | - Method of restart (for example, power cycle, crash) |
Software Image Name | - Cisco IOS filename stored in Flash |
Router Type and Processor Type | - Model number and processor type |
Memory Type and Allocation (Shared/Main) | - Main processor RAM - Shared packet I/O buffering |
Software Features | - Supported protocols/feature sets |
Hardware Interfaces | - Interfaces available on router |
Configuration Register | - Bootup specifications, console speed setting, etc. |
From privileged EXEC mode, display the software version information with the show version command.
Task | Command |
From privileged EXEC mode, display version information. | show version |
Step 24 | You have now completed the Configuration Lab. |
Important Notices Privacy Statement. |