0% found this document useful (0 votes)
104 views14 pages

Basic Config Cisco

This document discusses basic Cisco commands and configuration modes. It covers the following topics: - User Exec and Privileged Exec modes for viewing and making device changes respectively. - Global Configuration mode for making global changes using commands like "configure terminal". - Submodes for modifying interface-specific settings. - Commands for configuring the hostname, banners, Cisco Discovery Protocol, passwords, user accounts, Telnet/SSH access, and saving configurations. Interfaces can be configured using the "interface" command followed by IP addresses and disabling shutdown.

Uploaded by

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

Basic Config Cisco

This document discusses basic Cisco commands and configuration modes. It covers the following topics: - User Exec and Privileged Exec modes for viewing and making device changes respectively. - Global Configuration mode for making global changes using commands like "configure terminal". - Submodes for modifying interface-specific settings. - Commands for configuring the hostname, banners, Cisco Discovery Protocol, passwords, user accounts, Telnet/SSH access, and saving configurations. Interfaces can be configured using the "interface" command followed by IP addresses and disabling shutdown.

Uploaded by

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

Basic Cisco Commands

Config Modes

• User Exec Mode


• Default Configuration
• view the settings on the device but not make any
changes
“>”
• Privileged Exec Mode
• To make changes to the device
• Maybe required a password

“ #”
Config Modes

• Global Configuration Mode


• to make global changes to the router such as the
hostname.
• type "configure terminal" or "conf t"

“(config)#”
• Sub Prompts
• to modify settings on a specific interface
• to modify the different ports on the device.
Add Hostname

Router(config)# hostname CLSU


Creating Banners
Router1#configure terminal Enter configuration commands, one per
line. End with CNTL/Z

Router1(config)#banner login # This is a login banner #


Router1(config)#banner motd $ This is a motd banner $
Router1(config)#end
Router1(config)#no banner motd
Basic Commands

Disabling the Cisco Discovery Protocol


-if you want to show the devices neighbor

Router(config)#cdp run
Router#show cdp
Router#show cdp neighbors

#Reload- command to boot the default OS


configuration of the devices
#show ip arp-command to show the ip address of
the devices/interface
Basic Commands

Disabling the Cisco Discovery Protocol


-disable all CDP on the router
Router1#configure terminal
Enter configuration commands, one
per line. End with CNTL/Z.
Router1(config)#no cdp run
Router1(config)#end Router1#
Basic Commands
Create password for Console
R1(config)# line console 0
R1(config)# password cisco
R1(config-line)# login
R1(config-line)# exit

R1(config)#service password-encryption
User Access and Privilege Levels

• Setting Up User IDs


– Router1#configure terminal Enter
configuration commands, one per line. End with
CNTL/Z.
– Router1(config)#username kdooley password
cookbook
Router1(config)#aaa new-model
Router1(config)#aaa authentication login
default local
Router1(config)#end
Enable Telnet and SSh
• R1>enable 
R1#configure terminal 
Enter configuration commands, one per line. 
End with CNTL/Z.
R1(config)#line vty 0 
R1(config-line)#password Pass123
R1(config-line)#login 
R1(config-line)#logging synchronous
R1(config-line)#exec-timeout 40
R1(config-line)#motd-banner 
R1(config-line)#exit
Encrypting Password

Router1#configure terminal
Enter configuration commands, one per line. End
with CNTL/Z.
Router1(config)#enable password oreilly
Router1(config)#line vty 0 4
Router1(config-line)#password cookbook
Router1(config-line)#line con 0
Router1(config-line)#password cookbook
Router1(config-line)#line aux 0
Router1(config-line)#password cookbook
Router1(config-line)#exit
Router1(config)#service password-encryption
Router1(config)#end Router1#
Save the Configuration

– Router1#copy run start


• Router1#copy running config startup config
Configure an interface
Router1>enable
Router1#configure terminal
Router1(config)#interface FastEthernet0/0
Router1(config-if)#ip address 192.168.1.1
255.255.255.0
Router1(config-if)#no shutdown
END

You might also like