Chapter Basic Switch, Router and
02 End Device Configuration
Module Objectives
Module Title: Basic Switch, Router and End Device Configuration
Module Objective: Implement initial settings including passwords, IP addressing,
and default gateway parameters on a network switch and end devices. Implement
initial settings on a router and end devices.
Topic Title Topic Objective
Cisco IOS Access Explain how to access a Cisco IOS device for configuration purposes.
IOS Navigation Explain how to navigate Cisco IOS to configure network devices.
The Command Structure Describe the command structure of Cisco IOS software.
Basic Device Configuration Configure a Cisco IOS device using CLI.
Save Configurations Use IOS commands to save the running configuration.
Ports and Addresses Explain how devices communicate across network media.
Configure IP Addressing Configure a host device with an IP address.
Verify Connectivity Verify connectivity between two end devices.
Configure Initial Router Settings Configure initial settings on an IOS Cisco router.
Configure Interfaces Configure two active interfaces on a Cisco IOS router.
Configure the Default Gateway Configure devices to use the default gateway.
2.1 Cisco IOS Access
Operating Systems
• Shell - The user interface that
allows users to request specific
tasks from the computer. These
requests can be made either
through the CLI or GUI interfaces.
• Kernel - Communicates between
the hardware and software of a
computer and manages how
hardware resources are used to
meet software requirements.
• Hardware - The physical part of a
computer including underlying
electronics.
GUI
• A GUI allows the user to interact
with the system using an
environment of graphical icons,
menus, and windows.
• A GUI is more user-friendly and
requires less knowledge of the
underlying command structure
that controls the system.
• Examples of these are: Windows,
macOS, Linux KDE, Apple iOS and
Android.
• GUIs can fail, crash, or simply not
operate as specified. For these
reasons, network devices are
typically accessed through a CLI.
Purpose of an OS
PC operating system enables a user to CLI-based network operating system
do the following: enables a network technician to do the
• Use a mouse to make selections following:
and run programs • Use a keyboard to run CLI-
based network programs
• Enter text and text-based
• Use a keyboard to enter text
commands
and text-based commands
• View output on a monitor • View output on a monitor
Access Methods
• Console – A physical
management port used to access
a device in order to provide RS232 - cam vo switch
maintenance, such as performing
the initial configurations.
• Secure Shell (SSH) – Establishes a RJ45 - cam vo pc
secure remote CLI connection to
a device, through a virtual
interface, over a network. (Note:
This is the recommended method
for remotely connecting to a
device.)
• Telnet – Establishes an insecure
remote CLI connection to a
device over the network. (Note:
User authentication, passwords
and commands are sent over the
network in plaintext.)
Terminal Emulation Programs
• Terminal emulation programs are used to connect to a network
device by either a console port or by an SSH/Telnet connection.
• There are several terminal emulation programs to chose from such
as PuTTY, Tera Term and SecureCRT.
2.2 IOS Navigation
Primary Command Modes
User EXEC Mode:
• Allows access to only a
limited number of basic
monitoring commands
• Identified by the CLI
prompt that ends with
the > symbol
Privileged EXEC Mode:
• Allows access to all
commands and
features
• Identified by the CLI
prompt that ends with
the # symbol
Configuration Mode and Subconfiguration Modes
Global Configuration Mode:
• Used to access
configuration options on
the device
Line Configuration Mode:
• Used to configure
console, SSH, Telnet or
AUX access
Interface Configuration
Mode:
• Used to configure a
switch port or router
interface
Video – IOS CLI Primary Command Modes
This video will cover the following:
• User EXEC mode
• Privilege EXEC mode
• Global Config mode
Navigation Between IOS Modes
▪ Privileged EXEC Mode:
• To move from user EXEC mode to
privilege EXEC mode, use the
enabled command.
▪ Global Configuration Mode:
• To move in and out of global
configuration mode, use the
configure terminal command. To
return to privilege EXEC mode, use
the exit command.
▪ Line Configuration Mode:
• To move in and out of line
configuration mode, use the line
command followed by the
management line type. To return to
global configuration mode, use the
exit command.
Navigation Between IOS Modes(Cont.)
Subconfiguration Modes:
• To move out of any
subconfiguration mode to get back
to global configuration mode, use
the exit command. To return to
privilege EXEC mode, use the end
command or key combination Ctrl
+Z.
• To move directly from one
subconfiguration mode to another,
type in the desired
subconfiguration mode command.
In the example, the command
prompt changes from (config-
line)# to (config-if)#.
Video – Navigation Between IOS Modes
This video will cover the following:
• enable • end
• disable • Control + Z on keyboard
• configure terminal • Other commands to enter sub configuration
• exit modes
2.3 The Command Structure
Basic IOS Command Structure
• Keyword – This is a specific parameter defined in the operating
system (in the figure, ip protocols).
• Argument - This is not predefined; it is a value or variable
defined by the user (in the figure, [Link]).
IOS Command Syntax Check
A command might require one or more arguments. To determine the
keywords and arguments required for a command, refer to the
command syntax.
• Boldface text indicates commands and keywords that are entered
as shown.
• Italic text indicates an argument for which the user provides the
value.
Convention Description
Boldface text indicates commands and keywords that you enter
boldface
literally as shown.
italics Italic text indicates arguments for which you supply values.
Square brackets indicate an optional element (keyword or
[x]
argument).
{x} Braces indicate a required element (keyword or argument).
Braces and vertical lines within square brackets indicate a required
[x {y | z }] choice within an optional element. Spaces are used to clearly
delineate parts of the command.
IOS Command Syntax Check (Cont.)
▪ The command syntax provides the pattern, or format, that must be used
when entering a command.
▪ The command is ping and the user-
defined argument is the ip-
address of the destination device.
For example, ping [Link].
▪ The command is traceroute and
the user-defined argument is
the ip-address of the destination
device. For example, traceroute
[Link].
▪ If a command is complex with multiple arguments, you may see it
represented like this:
IOS Help Features
The IOS has two forms of help available: context-sensitive help and
command syntax check.
• Context-sensitive help enables you • Command syntax check
to quickly find answers to these verifies that a valid command
questions: was entered by the user.
• Which commands are available in • If the interpreter cannot
each command mode? understand the command
• Which commands start with specific being entered, it will provide
characters or group of characters? feedback describing what is
wrong with the command.
• Which arguments and keywords are
available to particular commands?
Video – Context Sensitive Help and Command Syntax Checker
This video will cover the following:
• Use the help command in user EXEC, privileged EXEC, and global config mode
• Finish commands and arguments with the help command
• Use the command syntax checker to fix syntax errors and incomplete
commands
Hot Keys and Shortcuts
• The IOS CLI provides hot keys and shortcuts that make
configuring, monitoring, and troubleshooting easier.
• Commands and keywords can be shortened to the minimum
number of characters that identify a unique selection. For
example, the configure command can be shortened
to conf because configure is the only command that begins
with conf.
Hot Keys and Shortcuts (Cont.)
▪ The table below is a brief list of keystrokes to enhance command
line editing.
Keystroke Description
Tab Completes a partial command name entry.
Backspace Erases the character to the left of the cursor.
Left Arrow or Ctrl+B Moves the cursor one character to the left.
Right Arrow or Ctrl+F Moves the cursor one character to the right.
Recalls the commands in the history buffer,
Up Arrow or Ctrl+P
beginning with the most recent commands.
Hot Keys and Shortcuts (Cont.)
• When a command output produces • The table below lists commands that can be
more text than can be displayed in a used to exit out of an operation.
terminal window, the IOS will display
a “--More--” prompt. The table below
describes the keystrokes that can be
used when this prompt is displayed.
Keystroke Description Keystroke Description
When in any configuration mode, ends
Enter Key Displays the next line.
Ctrl-C the configuration mode and returns to
privileged EXEC mode.
Space Bar Displays the next screen. When in any configuration mode, ends
Ctrl-Z the configuration mode and returns to
Ends the display string, privileged EXEC mode.
Any other key returning to privileged EXEC
mode. All-purpose break sequence used to abort
Ctrl-Shift-6
DNS lookups, traceroutes, pings, etc.
Note: To see more hot keys and shortcuts refer to 2.3.5.
Video – Hot Keys and Shortcuts
This video will cover the following:
• Tab key (tab completion)
• Command shortening
• Up and down arrow key
• CTRL + C
• CTRL + Z
• CTRL + Shift + 6
• CTRL + R
Packet Tracer – Navigate the IOS
In this Packet Tracer, you will do the following:
• Establish Basic Connections, Access the CLI, and Explore Help
• Explore EXEC Modes
• Set the Clock
Lab – Navigate the IOS by Using Tera Term for Console Connectivity
In this lab, you complete the following objectives:
• Access a Cisco Switch through the Serial Console Port
• Display and Configure Basic Device Settings
• (Optional) Access a Cisco Router Using a Mini-USB Console Cable
2.4 Basic Device Configuration
Device Names
• The first configuration command on any device should be
to give it a unique hostname.
• By default, all devices are assigned a factory default
name. For example, a Cisco IOS switch is "Switch.”
• Guideline for naming devices:
• Start with a letter
• Contain no spaces
• End with a letter or digit Note: To return the switch to the default
prompt, use the no hostname global
• Use only letters, digits, and
config command.
dashes
• Be less than 64 characters in
length
Password Guidelines
• The use of weak or easily guessed passwords are a security concern.
• All networking devices should limit administrative access by securing
privileged EXEC, user EXEC, and remote Telnet access with passwords.
In addition, all passwords should be encrypted and legal notifications
provided.
• Password Guidelines:
• Use passwords that are more than eight
characters in length.
• Use a combination of upper and
lowercase letters, numbers, special
characters, and/or numeric sequences.
Note: Most of the labs in this course use simple
• Avoid using the same password for all passwords such as cisco or class. These
devices. passwords are considered weak and easily
guessable and should be avoided in production
• Do not use common words because they environments.
are easily guessed.
Configure Passwords
Securing user EXEC mode access:
• First enter line console
configuration mode using the line
console 0 command in global
configuration mode.
• Next, specify the user EXEC mode
password using
the password password command.
• Finally, enable user EXEC access
using the login command.
Securing privileged EXEC mode access:
• First enter global configuration
mode.
• Next, use the enable
secret password command.
Configure Passwords (Cont.)
Securing VTY line access:
• First enter line VTY configuration
mode using the line vty 0 15
command in global
configuration mode.
• Next, specify the VTY password
using
the password password comma
nd.
• Finally, enable VTY access using
the login command.
▪ Note: VTY lines enable remote access using Telnet or SSH to the device. Many Cisco switches
support up to 16 VTY lines that are numbered 0 to 15.
Encrypt Passwords
▪ The startup-config and running-config ▪ Use the show running-config
files display most passwords in command to verify that the
plaintext. passwords on the device are now
encrypted.
▪ To encrypt all plaintext passwords, use
the service password-encryption global
config command.
Banner Messages
▪ A banner message is important
to warn unauthorized personnel
from attempting to access the
device.
▪ To create a banner message of The banner will be displayed on attempts to access the device.
the day on a network device, use
the banner motd # the message
of the day # global config
command.
Note: The “#” in the command syntax is
called the delimiting character. It is entered
before and after the message.
Video – Secure Administrative Access to a Switch
This video will cover the following:
• Access the command line to secure the switch
• Secure access to the console port
• Secure virtual terminal access for remote access
• Encrypt passwords on the switch
• Configure the banner message
• Verify security changes
2.5 Save Configurations
Configuration Files
▪ There are two system files that store the device configuration:
• startup-config - This is the saved configuration file that is stored in NVRAM. It contains
all the commands that will be used by the device upon startup or reboot. Flash does
not lose its contents when the device is powered off.
• running-config - This is stored in Random Access Memory (RAM). It reflects the current
configuration. Modifying a running configuration affects the operation of a Cisco device
immediately. RAM is volatile memory. It loses all of its content when the device is
powered off or restarted.
• To save changes made to the running configuration to the startup configuration file, use
the copy running-config startup-config privileged EXEC mode command.
Alter the Running Configurations
If changes made to the running config do
not have the desired effect and the running-
config has not yet been saved, you can
restore the device to its previous
configuration. To do this you can:
• Remove the changed commands
individually.
• Reload the device using the reload
command in privilege EXEC mode. Note:
This will cause the device to briefly go
offline, leading to network downtime.
If the undesired changes were saved to the
startup-config, it may be necessary to clear
all the configurations using the erase
startup-config command in privilege EXEC
mode.
• After erasing the startup-config, reload
the device to clear the running-config
file from RAM.
Video – Alter the Running Configuration
This video will cover the following:
• Copy the running-config file to the startup-config file
• Show the files in the flash or NVRAM directory
• Use command shortening
• Erase the startup-config file
• Copy the start-config file to the running-config file
Capture Configuration to a Text File
Configuration files can also be saved
and archived to a text document.
• Step 1. Open terminal emulation
software, such as PuTTY or Tera Term,
that is already connected to a switch.
• Step 2. Enable logging in to the
terminal software and assign a name
and file location to save the log file.
The figure displays that All session
output will be captured to the file
specified (i.e., MySwitchLogs).
Capture Configuration to a Text File (Cont.)
• Step 3. Execute the show running-
config or show startup-
config command at the privileged
EXEC prompt. Text displayed in the
terminal window will be placed into
the chosen file.
• Step 4. Disable logging in the terminal
software. The figure shows how to
disable logging by choosing
the None session logging option
Note: The text file created can be used as a record of
how the device is currently implemented. The file
could require editing before being used to restore a
saved configuration to a device.
Packet Tracer – Configure Initial Switch Settings
In this Packet Tracer, you will do the following:
• Verify the Default Switch Configuration
• Configure a Basic Switch Configuration
• Configure a MOTD Banner
• Save Configuration Files to NVRAM
• Configure a second Switch
2.6 Ports and Addresses
IP Addresses
• The use of IP addresses is the primary
means of enabling devices to locate one
another and establish end-to-end
communication on the internet.
• The structure of an IPv4 address is called
dotted decimal notation and is represented
by four decimal numbers between 0 and
255.
• An IPv4 subnet mask is a 32-bit value that
differentiates the network portion of the
address from the host portion. Coupled
with the IPv4 address, the subnet mask
determines to which subnet the device is a
member.
• The default gateway address is the IP
address of the router that the host will use
to access remote networks, including the
internet.
IP Addresses (Cont.)
• IPv6 addresses are 128 bits in length
and written as a string of hexadecimal
values. Every four bits is represented
by a single hexadecimal digit; for a
total of 32 hexadecimal values.
Groups of four hexadecimal digits are
separated by a colon “:”.
• IPv6 addresses are not case-sensitive
and can be written in either lowercase
or uppercase.
Note: IP in this course refers to both the IPv4 and
IPv6 protocols. IPv6 is the most recent version of IP
and is replacing the more common IPv4.
Interfaces and Ports
• Network communications depend on
end user device interfaces,
networking device interfaces, and the
cables that connect them.
• Types of network media include
twisted-pair copper cables, fiber-
optic cables, coaxial cables, or
wireless.
• Different types of network media
have different features and benefits.
Some of the differences between
various types of media include:
• Distance the media can successfully carry a
signal
• Environment in which the media is to be
installed
• Amount of data and the speed at which it
must be transmitted
• Cost of the media and installation
2.7 Configure IP Addressing
Manual IP Address Configuration for End Devices
• End devices on the network need an IP
address in order to communicate with other
devices on the network.
• IPv4 address information can be entered
into end devices manually, or automatically
using Dynamic Host Configuration Protocol
(DHCP).
• To manually configure an IPv4 address on a
Windows PC, open the Control Panel >
Network Sharing Center > Change adapter
settings and choose the adapter. Next right-
click and select Properties to display the Local
Area Connection Properties.
• Next, click Properties to open the Internet
Protocol Version 4 (TCP/IPv4) Note: IPv6 addressing and
Properties window. Then configure the IPv4 configuration options are similar to
address and subnet mask information, and IPv4.
default gateway.
Automatic IP Address Configuration for End Devices
• DHCP enables automatic IPv4
address configuration for every end
device that is DHCP-enabled.
• End devices are typically by default
using DHCP for automatic IPv4
address configuration.
• To configure DHCP on a Windows PC,
open the Control Panel > Network
Sharing Center > Change adapter
settings and choose the adapter.
Next right-click and
select Properties to display the Local
Area Connection Properties.
• Next, click Properties to open
the Internet Protocol Version 4
(TCP/IPv4) Properties window, then
Note: IPv6 uses DHCPv6 and SLAAC (Stateless
select Obtain an IP address
Address Autoconfiguration) for dynamic
automatically and Obtain DNS server
address automatically. address allocation.
Switch Virtual Interface Configuration
To access the switch remotely, an IP address and a subnet mask must be
configured on the SVI.
To configure an SVI on a switch:
• Enter the interface vlan 1 command in global configuration mode.
• Next assign an IPv4 address using the ip address ip-address subnet-
mask command.
• Finally, enable the virtual interface using the no shutdown command.
Packet Tracer – Implement Basic Connectivity
In this Packet Tracer, you will do the following:
▪ Perform a Basic Configuration on two switches
▪ Configure the PCs
▪ Configure the Switch Management Interface
2.8 Verify Connectivity
Video – Test the Interface Assignment
This video will cover the following:
▪ Connect a console cable from the PC to the switch
▪ Use the terminal emulation program and accept the defaults to bring you to
the command line
▪ Use enable to enter privileged EXEC mode
▪ Use the global configuration mode and the interface configuration mode to
enter the no shutdown command
Video – Test End-to-End Connectivity
This video will cover the use of the ping command to test connectivity on both
switches and both PCs.
2.9 Configure Initial Router Settings
Basic Router Configuration Steps
• Configure the device
name. Router(config)# hostname hostname
• Secure privileged EXEC Router(config)# enable secret password
mode.
Router(config)# line console 0
Router(config-line)# password password
• Secure user EXEC mode. Router(config-line)# login
• Secure remote Telnet / Router(config)# line vty 0 4
Router(config-line)# password password
SSH access. Router(config-line)# login
Router(config-line)# transport input {ssh | telnet}
• Encrypt all plaintext
Router(config)# service password encryption
passwords.
Router(config)# banner motd # message #
• Provide legal notification Router(config)# end
Router# copy running-config startup-config
and save the
configuration.
Basic Router Configuration Example
R1(config)# hostname R1
R1(config)# enable secret class
R1(config)# line console 0
R1(config-line)# password cisco
R1(config-line)# login
R1(config-line)# line vty 0 4
• Commands for basic router R1(config-line)# password cisco
R1(config-line)# login
configuration on R1. R1(config-line)# transport input ssh telnet
R1(config-line)# exit
• Configuration is saved to R1(config)# service password encryption
R1(config)# banner motd #
NVRAM. Enter TEXT message. End with a new line and the #
***********************************************
WARNING: Unauthorized access is prohibited!
**********************************************
R1(config)# exit
R1# copy running-config startup-config
Packet Tracer – Configure Initial Router Settings
In this Packet Tracer, you will do the following:
• Verify the default router configuration.
• Configure and verify the initial router configuration.
• Save the running configuration file.
2.10 Configure Interfaces
Configure Router Interfaces
Configuring a router interface includes issuing the following
commands:
Router(config)# interface type-and-number
Router(config-if)# description description-text
Router(config-if)# ip address ipv4-address subnet-mask
Router(config-if)# ipv6 address ipv6-address/prefix-length
Router(config-if)# no shutdown
• It is a good practice to use the description command to add
information about the network connected to the interface.
• The no shutdown command activates the interface.
Configure Router Interfaces Example
The commands to configure interface G0/0/0 on R1 are
shown here:
R1(config)# interface gigabitEthernet 0/0/0
R1(config-if)# description Link to LAN
R1(config-if)# ip address [Link] [Link]
R1(config-if)# ipv6 address 2001:db8:acad:10::1/64
R1(config-if)# no shutdown
R1(config-if)# exit
R1(config)#
*Aug 1 01:43:53.435: %LINK-3-UPDOWN: Interface GigabitEthernet0/0/0, changed state to down
*Aug 1 01:43:56.447: %LINK-3-UPDOWN: Interface GigabitEthernet0/0/0, changed state to up
*Aug 1 01:43:57.447: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0/0,
changed state to up
Configure Router Interfaces Example (Cont.)
The commands to configure interface G0/0/1 on R1 are shown here:
R1(config)# interface gigabitEthernet 0/0/1
R1(config-if)# description Link to R2
R1(config-if)# ip address [Link] [Link]
R1(config-if)# ipv6 address 2001:db8:feed:224::1/64
R1(config-if)# no shutdown
R1(config-if)# exit
R1(config)#
*Aug 1 01:46:29.170: %LINK-3-UPDOWN: Interface GigabitEthernet0/0/1, changed state
to down
*Aug 1 01:46:32.171: %LINK-3-UPDOWN: Interface GigabitEthernet0/0/1, changed state
to up
*Aug 1 01:46:33.171: %LINEPROTO-5-UPDOWN: Line protocol on Interface
GigabitEthernet0/0/1, changed state to up
Verify Interface Configuration
To verify interface configuration use the show ip interface brief
and show ipv6 interface brief commands shown here:
R1# show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0/0 [Link] YES manual up up
GigabitEthernet0/0/1 [Link] YES manual up up
Vlan1 unassigned YES unset administratively down down
R1# show ipv6 interface brief
GigabitEthernet0/0/0 [up/up]
FE80::201:C9FF:FE89:4501
2001:DB8:ACAD:10::1
GigabitEthernet0/0/1 [up/up]
FE80::201:C9FF:FE89:4502
2001:DB8:FEED:224::1
Vlan1 [administratively down/down]
unassigned
R1#
Configure Verification Commands
The table summarizes show commands used to verify interface configuration.
Commands Description
show ip interface brief Displays all interfaces, their IP addresses, and their
show ipv6 interface current status.
brief
show ip route Displays the contents of the IP routing tables stored
show ipv6 route in RAM.
show interfaces Displays statistics for all interfaces on the device.
Only displays the IPv4 addressing information.
show ip interfaces Displays the IPv4 statistics for all interfaces on a
router.
show ipv6 interfaces Displays the IPv6 statistics for all interfaces on a
router.
Configure Verification Commands (Cont.)
View status of all interfaces with the show ip interface brief and show ipv6
interface brief commands, shown here:
R1# show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0/0 [Link] YES manual up up
GigabitEthernet0/0/1 [Link] YES manual up up
Vlan1 unassigned YES unset administratively down down
R1#
R1# show ipv6 interface brief
GigabitEthernet0/0/0 [up/up]
FE80::201:C9FF:FE89:4501
2001:DB8:ACAD:10::1
GigabitEthernet0/0/1 [up/up]
FE80::201:C9FF:FE89:4502
2001:DB8:FEED:224::1
Vlan1 [administratively down/down]
unassigned
R1#
Configure Verification Commands (Cont.)
Display the contents of the IP routing tables with the show ip route and
show ipv6 route commands as shown here:
R1# show ip route
< output omitted>
Gateway of last resort is not set
[Link]/24 is variably subnetted, 2 subnets, 2 masks
C [Link]/24 is directly connected, GigabitEthernet0/0/0
L [Link]/32 is directly connected, GigabitEthernet0/0/0
[Link]/24 is variably subnetted, 2 subnets, 2 masks
C [Link]/30 is directly connected, GigabitEthernet0/0/1
L [Link]/32 is directly connected, GigabitEthernet0/0/1
R1#
R1# show ipv6 route
<output omitted>
C 2001:DB8:ACAD:10::/64 [0/0]
via GigabitEthernet0/0/0, directly connected
L 2001:DB8:ACAD:10::1/128 [0/0]
via GigabitEthernet0/0/0, receive
C 2001:DB8:FEED:224::/64 [0/0]
via GigabitEthernet0/0/1, directly connected
L 2001:DB8:FEED:224::1/128 [0/0]
via GigabitEthernet0/0/1, receive
L FF00::/8 [0/0]
via Null0, receive
R1#
Configure Verification Commands (Cont.)
Display statistics R1# show interfaces gig0/0/0
GigabitEthernet0/0/0 is up, line protocol is up
for all interfaces Hardware is ISR4321-2x1GE, address is a0e0.af0d.e140 (bia a0e0.af0d.e140)
Description: Link to LAN
with the show Internet address is [Link]/24
MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
interfaces reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
command, as Keepalive not supported
Full Duplex, 100Mbps, link type is auto, media type is RJ45
shown here: output flow-control is off, input flow-control is off
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:01, output 00:00:35, output hang never
Last clearing of "show interface" counters never
Input queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
1180 packets input, 109486 bytes, 0 no buffer
Received 84 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
<output omitted>
R1#
Configure Verification Commands (Cont.)
Display IPv4 statistics R1# show ip interface g0/0/0
GigabitEthernet0/0/0 is up, line protocol is up
for router interfaces Internet address is [Link]/24
with the show ip Broadcast address is [Link]
Address determined by setup command
interface command, as MTU is 1500 bytes
Helper address is not set
shown here: Directed broadcast forwarding is disabled
Outgoing Common access list is not set
Outgoing access list is not set
Inbound Common access list is not set
Inbound access list is not set
Proxy ARP is enabled
Local Proxy ARP is disabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is enabled
IP Flow switching is disabled
<output omitted>
R1#
Configure Verification Commands (Cont.)
R1# show ipv6 interface g0/0/0
Display IPv6 statistics GigabitEthernet0/0/0 is up, line protocol is up
for router interfaces IPv6 is enabled, link-local address is
FE80::868A:8DFF:FE44:49B0
with the show ipv6 No Virtual link-local address(es):
Description: Link to LAN
interface command Global unicast address(es):
shown here: 2001:DB8:ACAD:10::1, subnet is 2001:DB8:ACAD:10::/64
Joined group address(es):
FF02::1
FF02::1:FF00:1
FF02::1:FF44:49B0
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ICMP unreachables are sent
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds (using 30000)
ND NS retransmit interval is 1000 milliseconds
R1#
2.11 Configure the Default Gateway
Default Gateway on a Host
• The default gateway is used
when a host sends a packet
to a device on another
network.
• The default gateway address
is generally the router
interface address attached to
the local network of the host.
• To reach PC3, PC1 addresses
a packet with the IPv4
address of PC3, but forwards
the packet to its default
gateway, the G0/0/0 interface
of R1. Note: The IP address of the host and the
router interface must be in the same
network.
Default Gateway on a Switch
• A switch must have
a default gateway MEDIA IS WORKING ON A CORRECTED
address configured VERSION OF THE GRAPHIC FROM 10.3.2.
to remotely manage IT IS WRONG ON AR, AND ON THE
the switch from GLOBAL BUG LIST
another network.
• To configure an IPv4
default gateway on
a switch, use the ip STOP
default-gateway ip-
address global
configuration
command.
Packet Tracer – Connect a Router to a LAN
In this Packet Tracer, you will do the following:
• Display the router information.
• Configure router interfaces.
• Verify the configuration.
Packet Tracer – Troubleshoot Default Gateway Issues
In this Packet Tracer, you will do the following:
• Verify the network documentation and use tests to isolate problems.
• Determine an appropriate solution for a given problem.
• Implement the solution.
• Test to verify the problem is resolved.
• Document the solution.
2.12 Module Practice and Quiz
Packet Tracer – Basic Switch and End Device Configuration
In this Packet Tracer, you will do the following:
▪ Configure hostnames and IP addresses on two switches
▪ Use Cisco IOS commands to specify or limit access to the device configurations
▪ Use IOS commands to save the running configuration
▪ Configure two host devices with IP addresses
▪ Verify connectivity between the two PC end devices
Packet Tracer – Basic Device Configuration
In this Packet Tracer, you will do the following:
• Complete the network documentation.
• Perform basic device configurations on a router and a switch.
• Verify connectivity and troubleshoot any issues.
Lab – Basic Switch and End Device Configuration
In this lab, you complete the following objectives:
• Set Up the Network Topology
• Configure PC Hosts
• Configure and Verify Basic Switch Settings
Lab – Build a Switch and Router Network
In this Lab, you will complete the following objectives:
• Set up the topology and initialize devices.
• Configure devices and verify connectivity.
• Display device information.
What did I learn in this module?
• All end devices and network devices require an operating
system (OS).
• Cisco IOS software separates management access into the
following two command modes: User EXEC Mode and
Privileged EXEC Mode.
• Global configuration mode is accessed before other
specific configuration modes. From global config mode,
the user can enter different subconfiguration modes.
• Each IOS command has a specific format or syntax and
can only be executed in the appropriate mode.
• Basic device configurations- hostname, password, encrypt
passwords and banner.
• There are two system files that store the device
configuration: startup-config and running-config.
• IP addresses enable devices to locate one another and
establish end-to-end communication on the internet.
Each end device on a network must be configured with an
IP address.
What did I learn in this module?
• The tasks that should be completed when configuring initial settings on a router.
• Configure the device name.
• Secure privileged EXEC mode.
• Secure user EXEC mode.
• Secure remote Telnet / SSH access.
• Secure all passwords in the config file.
• Provide legal notification.
• Save the configuration.
• For routers to be reachable, the router interfaces must be configured.
• Using the no shutdown command activates the interface. The interface must
also be connected to another device, such as a switch or a router, for the
physical layer to be active. There are several commands that can be used to
verify interface configuration including the show ip interface brief and show
ipv6 interface brief, the show ip route and show ipv6 route, as well as show
interfaces, show ip interface and show ipv6 interface.
What did I learn in this module? (Cont.)
• For an end device to reach other networks, a default gateway must be
configured.
• The IP address of the host device and the router interface address must be in
the same network.
• A switch must have a default gateway address configured to remotely manage
the switch from another network.
• To configure an IPv4 default gateway on a switch, use the ip default-gateway
ip-address global configuration command.