0% found this document useful (0 votes)
110 views

CH 01 Command Reference-1

The document provides examples of commands used to configure routing on a Cisco router, including commands to configure the hostname, passwords, interfaces, IP addresses, static and default routes, and show commands to view configurations and routing tables. It demonstrates how to enter different configuration modes and set parameters for routing, security, interfaces and more. The commands are grouped by their function and described to illustrate common routing tasks.

Uploaded by

Luke Rega
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
110 views

CH 01 Command Reference-1

The document provides examples of commands used to configure routing on a Cisco router, including commands to configure the hostname, passwords, interfaces, IP addresses, static and default routes, and show commands to view configurations and routing tables. It demonstrates how to enter different configuration modes and set parameters for routing, security, interfaces and more. The commands are grouped by their function and described to illustrate common routing tasks.

Uploaded by

Luke Rega
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Chapter 01

“Routing Concepts”
Record the command, including the correct router or switch prompt, that fits
the description. Fill in any blanks with the appropriate missing information.

Command Description

Router>.enable Enter privileged EXEC mode

Router# disable Exit privileged EXEC mode

configure terminal Enter global


Router# configure terminal
configuration mode.

Router(config)# hostname R1 Configure R1 as the hostname for the router.

Enter line configuration mode for the


R1(config)# line console 0
console.
R1(config-line)# login Configure the console password to be
R1(config-line)# password cisco123 “cisco123”. login

R1(config)# enable password cisco123 Require a password for user EXEC mode.

Configure “Authorized Access Only” as the


R1(config)# banner motd $Authorized
message of the day. Use $ as the delimiting
Access Only$
character.

R1(config)# interface gigabitethernet 0/0 Enter interface configuration mode for g0/0

R1(config-if)# ip address 172.16.1.1 Configure the IPv4 address 172.16.1.1


255.255.255.0 255.255.255.0 on interface g0/0.
Configure the IPv6 address 2001:DB8:1::1/64
R1(config-if)# ipv6 address 2001:DB8:1::1/64
on interface g0/0.
Configure the IPv6 link-local address FE80::1
R1(config-if)# ipv6 address FE80::1 link local
on interface

R1(config-if)# no shutdown Activate the interface

R1(config-if)# description R1 LAN1 Describe the interface as “R1 LAN1”.


Configure a static route to IPv4 network
R1(config)# ip route 192.168.1.0
192.168.1.0/24 using 172.16.1.2 as the next-
255.255.255.0 172.16.1.2
hop IPv4 address.

R1(config)# ipv6 route 2001:DB8:A::/64 Configure a static route to the IPv6 network
2001:DB8:1::2 2001:DB8:A::/64 using 2001:DB8:1::2 as the
next-hop IPv6 address.
Configure an IPv4 default route using Serial 0/0/0
R1(config)# 0.0.0.0 0.0.0.0 Serial 0/0/0
as the exit interface.
Configure an IPv6 default route using Serial
R1(config)# ::/0 Serial 0/0/0
0/0/0 as the exit interface.

R1# show running-config View the configuration currently stored in


RAM.

R1# copy running-config startup-config Save the configuration to NVRAM.

R1# write erase Erase the configuration stored in NVRAM.

R1# reload Reboot the switch

R1# ping ip 192.168.2.1 Test connectivity to another switch at IP


address 192.168.2.1.
Displays the routing table that the IOS is
R1# show ip route currently using to choose the best path to its
destination networks.
R1# show ip interface Displays all the interface configuration
parameters and statistics.
Displays abbreviated interface configuration
R1# show ip interface brief information, including IP address and
interface status.

You might also like