cisco ccent-ccna icnd1 100-101 officialcertguide videobooklet
TRANSCRIPT
-
Lab 1CLI NavigationThis lab covers the most basic skills for accessing and using the command-line interface (CLI) on aCisco router or switch. Many of the small, picky details of how the CLI works cannot be seen byreading a book; this lab hopes to complete the coverage of those basics. In particular, the objectives ofthis lab are as follows:
n Use IOS CLI help features
n Describe the differences between user, enable, and config modes
n Describe the difference between EXEC commands and configuration commands
n Move among user, enable, and configuration modes
ScenarioThis lab contains two main steps. The first step focuses on the basics of the CLI, and the second stepexamines different CLI modes and how to move between them. The video takes the following actionsat the two steps:
Step 1. From the console port, the user logs in to a router and experiments with user EXEC mode.This step shows how to get command-line help.
Step 2. The user moves among user EXEC mode, privileged (enable) EXEC mode, and configurationmode. This step demonstrates some commands that might be allowed only in a particular mode.
Initial ConfigurationsMany labs in the CVIP have meaningful initial configurations. If you use this lab at the suggestedpoint in your study, you will not yet have seen some of the configurations. However, for completeness,Example 1-1 shows the initial configuration of router R1 at the beginning of the lab. The parts of R1sconfiguration that are not relevant to this lab have been omitted.
Example 1-1 Initial Configuration for R1
hostname R1
-
Ending ConfigurationsThis lab ends with the configuration unchanged.
Video Presentation ReferenceThe video presents figures, tables, and text with short lectures before showing the CLI of therouter. This section simply lists these figures and tables for reference.
Figure 1-1 shows a diagram of the network used in this example.
Figure 1-1 Lab 1 Network Topology
4
ConsoleFa0/0
S0/1/1S0/1/0
1
2 3
Because the video is organized into two separate steps, the reference materials have been organ-ized into two separate sections.
Step 1 Reference
Figure 1-2 Figure for Step 1
Console
Aux
Telnet
User Mode
User EXEC Mode Facts: First mode seen by users connected from the console port, aux port, and Telnet. User can type harmless EXEC commands. Characterized by a > at the end of the command prompt.
-
Step 2 Reference
Figure 1-3 Figure for Step 2
Lab 1: CLI Navigation 5
Console
Aux
Telnet
User Mode Enable Mode
Config Mode
Enable
Disable
Endor
Ctrl-zConfigure
Table 1-1 Comparing EXEC and Config Commands
EXEC Config Commands Commands
Mode in which they are used User or enable Config
Cisco IOS Software typically responds with a list of messages Yes No
Command changes the configuration and behavior of router/switch No Yes
Table 1-2 Three Commands That Can Be Used in Different CLI Modes
Command Modes in Which It Works
show ip route User, enable
reload Enable
hostname Config
-
Lab 2Router ConfigurationThis lab demonstrates the mechanics of configuring a Cisco router and how to copy configurationfiles. The objectives of this lab are the following:
n Describe the configuration process using different configuration modes
n Recognize the command prompts seen in different configuration modes
n Copy configuration files using the copy command
ScenarioThis lab contains two primary steps. The first step focuses on an example of moving around in config-uration mode, with the goal of explaining the process rather than the specific commands. The secondstep focuses on how to copy configuration files on a Cisco router. The video references these twomain steps as follows:
Step 1. Using configuration mode
Step 2. Viewing and copying configuration files in NVRAM, RAM, and TFTP servers
Initial ConfigurationsThe only router shown in this video begins with almost no configuration other than a host name.Example 2-1 lists the hostname configuration for reference.
Example 2-1 Initial Configuration for Router R1
hostname R1
Ending ConfigurationsBy the end of the lab, R1s running and startup configuration files should be identical. The video alsoshows a couple of other configuration items. Example 2-2 lists the ending configuration after all stepsin the lab.
-
Example 2-2 Ending Configuration for R1
8
Console Fa0/0
S0/1/1 S0/1/0
1
2 3
hostname Fred
!
interface serial 0/1/0
ip address 1.1.1.1 255.255.255.0
!
line con 0
password cisco
login
Video Presentation ReferenceThe video presents figures, tables, and text with short lectures before showing the CLI of therouter. This section simply lists these figures and tables for reference. Figure 2-1 shows a diagramof the network used in this example.
Figure 2-1 Lab 2 Network Topology
-
Because the video is organized into two separate steps, the reference materials have been organ-ized into two separate sections.
Step 1 Reference
Figure 2-2 Accessing a Routers Config Mode
Lab 2: Router Configuration 9
User Mode Enable Mode
Config Mode
Console
Aux
Telnet
enable
configure
terminal
endor exitorCtrl-z
Table 2-1 Example Configuration Sub-modes
Name of Sub-mode Purpose Command Prompt
Interface Configures details about a specific Router(config-if)# router interface, such as the IP address
Line Configures details about lines (console, Router(config-line)# vty, and aux)
Router Configures details about a particular Router(config-router)# routing protocol
-
Step 2 Reference
Figure 2-3 Mechanics of the copy Command
10
vp460203.eps
1587201682
6-27-06
SCI
startup-config
NVRAM
running-config
RAM
copy startup-config running-config
copy running-config startup-config
TFTP
Server
c
o
p
y
r
u
n
n
i
n
g
-
c
o
n
f
i
g
t
f
t
p
c
o
p
y
t
f
t
p
r
u
n
n
i
n
g
-
c
o
n
f
i
g
c
o
p
y
s
t
a
r
t
u
p
-
c
o
n
f
i
g
t
f
t
p
c
o
p
y
t
f
t
p
s
t
a
r
t
u
p
-
c
o
n
f
i
g
-
Lab 3Switch BasicsThis lab reviews the logic of how switches learn entries for their MAC address tables and make for-warding and filtering decisions based on those tables; it also shows some of the most basic configura-tion settings on a Cisco LAN switch. In particular, the objectives of this lab are as follows:
n Predict the types of entries to be found in a switchs MAC address table
n Describe how switches make forwarding/filtering decisions
n Configure the following:
Interface speed and duplex settings
Switch IP address and default gateway
ScenarioThis lab contains two main steps, as follows:
Step 1. Observe the addition of new MAC address table entries
Step 2. Configure basic settings:
n Interface speed and duplex
n IP address and default gateway
Initial ConfigurationsThe two switches in this lab begin with very little configurationeach switch simply has a hostnameconfigured. Examples 3-1 and 3-2 list the hostname configurations for completeness.
Example 3-1 Initial Configuration for Sw1
hostname Sw1
Example 3-2 Initial Configuration for Sw2
hostname Sw2
-
Ending ConfigurationsThis lab adds some configuration commands to both Sw1 and Sw2. Examples 3-3 and 3-4 showthe configuration added during the lab.
Example 3-3 Configuration on Sw1 Added During This Lab
12
Example 3-4 Configuration on Sw2 Added During This Lab
interface FastEthernet 0/24
duplex full
speed 100
!
interface vlan 1
ip address 172.30.1.102 255.255.255.0
!
ip default-gateway 172.30.1.251
Video Presentation ReferenceThis video presents several figures and a table that support the concepts covered in the lab. Thissection simply lists these figures for reference. Because the video is organized into two separatesteps, the reference materials have been organized into two separate sections.
enable secret cisco
!
interface FastEthernet 0/23
duplex full
speed 100
!
interface vlan 1
ip address 172.30.1.101 255.255.255.0
!
ip default-gateway 172.30.1.251
!
-
Step 1 Reference
Figure 3-1 Completed MAC Address Tables After Learning All PC MAC Addresses
Lab 3: Switch Basics 13
vp460301.eps
1587201682
6-27-06
SCI
Sw1
Sw2
0011.1111.1111
0022.2222.222
0033.3333.3333
Fa0/11
Fa0/13
Fa0/12
Fa0/23
Fa0/24
Sw1 MAC Address Table
Address Interface
0033.3333.3333 Fa0/13
0011.1111.1111 Fa0/11
0022.2222.2222 Fa0/23
Sw2 MAC Address Table
Address Interface
0033.3333.3333 Fa0/24
0011.1111.1111 Fa0/24
0022.2222.2222 Fa0/12
PC1
PC2
PC3
vp460302.eps
1587201682
6-27-06
SCI
Sw1
Sw2
0011.1111.1111
0022.2222.222
0033.3333.3333
Fa0/11
Fa0/13
Fa0/12
Fa0/23
Fa0/24
Sw1 MAC Address Table
Address Interface
0033.3333.3333 Fa0/13
0011.1111.1111 Fa0/11
0022.2222.2222 Fa0/23
Sw2 MAC Address Table
Address Interface
0033.3333.3333 Fa0/24
0011.1111.1111 Fa0/24
0022.2222.2222 Fa0/12
PC1
PC2
PC3
Destination:
0011.1111.1111
Figure 3-2 Forwarding Path and MAC Address Table Entries Used for Frames from PC3to PC1
-
Figure 3-3 Forwarding Path and MAC Address Table Entries Used for Frames from PC3to PC2
14
vp460303.eps
1587201682
6-27-06
SCI
Sw1
Sw2
0011.1111.1111
0022.2222.222
0033.3333.3333
Fa0/11
Fa0/13
Fa0/12
Fa0/23
Fa0/24
Sw1 MAC Address Table
Address Interface
0033.3333.3333 Fa0/13
0011.1111.1111 Fa0/11
0022.2222.2222 Fa0/23
Sw2 MAC Address Table
Address Interface
0033.3333.3333 Fa0/24
0011.1111.1111 Fa0/24
0022.2222.2222 Fa0/12
PC1
PC2
PC3
Destination:
0022.2222.2222
Step 2 Reference
Table 3-1 Switch Configuration Command Reference
Command Purpose
interface fastethernet x/y Moves the user into interface configuration mode
speed {10 | 100} Manually sets the speed of the interface duplex {half | full} Manually sets the duplex of an interfaceinterface vlan 1 Moves the user to VLAN 1 configuration mode
ip address address mask Allows the configuration of a management IP address on the switch
ip default-gateway address Defines the switchs default gateway IP address
-
Figure 3-4 IP Address Reference
Lab 3: Switch Basics 15
vp460304.eps
1587201682
6-27-06
SCI
Sw1
Sw2
PC1
PC2
PC3
172.30.1.1
172.30.1.2
172.30.1.3
172.30.1.251
VLAN1
172.30.1.101
VLAN1
172.30.1.102
Subnet 172.30.1.0/24
R1
-
Lab 4VLANs
This lab shows how to use the commands required to configure virtual LANs (VLANs) on Cisco IOSSoftware-based switches, in addition to a few of the commands used to examine VLAN operations. Inparticular, the objectives of this lab are as follows:
n Configure VLANs on Cisco switches
n Configure the VTP mode on Cisco switches
n Determine the status of VLAN trunks
n Configure 802.1Q trunking between two Cisco switches
ScenarioThis lab contains two main steps, as follows:
Step 1. Use a three-step process to create the first VLAN on a switch:Configure VTP modeCreate a VLANAdd interfaces to that VLAN
Step 2. Examine and configure 802.1Q trunking between two switches
Initial ConfigurationsThe two switches in this lab begin with some basic configuration. First, host switches have their host-names configured. Second, the switch ports connected to the PCs have been configured to use thespanning-tree portfast command, which causes these end-user ports not to wait on Spanning TreeProtocol (STP) timers when the ports are administratively enabled. However, all VLAN configurationshas been removed before this lab begins. Examples 4-1 and 4-2 show the basic initial configurationsfor both switches in this lab.
Example 4-1 Initial Configuration for Sw1
hostname Sw1
!
interface FastEthernet 0/11
spanning-tree portfast
!
interface FastEthernet 0/13
-
spanning-tree portfast
!
interface vlan 1
ip address 172.30.1.101 255.255.255.0
no shutdown
!
ip default-gateway 172.30.1.251
18
Example 4-1 Initial Configuration for Sw1 continued
Example 4-2 Initial Configuration for Sw2
hostname Sw2
!
interface FastEthernet 0/12
spanning-tree portfast
!
interface vlan 1
ip address 172.30.1.102 255.255.255.0
no shutdown
!
ip default-gateway 172.30.1.251
Ending ConfigurationsThis lab adds some configuration commands to both Sw1 and Sw2; however, it does not change anyof the earlier configurations. Examples 4-3 and 4-4 show the configuration added during the lab.
Example 4-3 Configuration on Sw1 Added During this Lab
vtp transparent
!
vlan 11
name thisisvlan11
!
interface FastEthernet 0/11
switchport access vlan 11
!
interface FastEthernet 0/13
switchport access vlan 11
!
interface FastEthernet 0/23
switchport mode trunk
-
Example 4-4 Configuration on Sw2 Added During this Lab
Lab 4: VLANs 19
Sw1
Sw2
PC1
PC2
PC3
0011.1111.1111
0022.2222.222
0033.3333.3333
Fa0/11
Fa0/13
Fa0/12
Fa0/23
Fa0/24
172.30.1.1
172.30.1.2
172.30.1.3
Sw1 Configuration: 1 Enable VTP transparent mode 2 Create VLAN 11
3 Put Fa0/11 and Fa0/13 into VLAN 11Repeat 2 and 3 foreach new VLAN
Trunk Configuration: Defaults to Dynamic desirable trunks automatically
Sw2 Configuration: 1 Enable VTP transparent mode 2 Automatically create VLAN 11 by putting interface Fa0/12 into VLAN 11
trunk
Video Presentation ReferenceThis video presents several figures and a table that support the concepts covered in the lab. Thissection simply lists these figures for reference. Because the video is organized into three separatesteps, the reference materials have been organized into three separate sections.
Step 1 Reference
Figure 4-1 Step 1 Topology and Configuration Steps
vtp transparent
!
vlan 11
!
interface FastEthernet 0/12
switchport access vlan 11
-
Step 2 Reference
Table 4-1 The Meaning of the type Option of the switchport mode Command
Value of the type Keyword Meaning of the type Keyword
access Always do not trunk
trunk Always trunk
dynamic desirable Negotiate whether to trunk or not and initiate the process
dynamic auto Negotiate whether to trunk or not but do not initiate the process
Table 4-2 Trunk Configuration Options for Making Two LAN Switches Trunk
SW1 Configuration for Trunking Mode Required Setting on SW2 to Trunk
access Nonecannot trunk
trunk Trunk, dynamic desirable, or dynamic auto
dynamic desirable Trunk, dynamic desirable, or dynamic auto
dynamic auto Trunk or dynamic desirable
20