Cisco Packet Tracer- stimulator tool
Cisco Navigation
primary command modes, configuration modes, navigation between IOS Modes, basic IOS Command Structure
EXEC (Execute) Mode
• allows access to only a limited number of basic monitoring commands
• Identified by the CLI prompt that ends with > symbol
i.e: Router >
i.e: Switch >
• To move from user EXEC mode to privilege EXEC mode, use the enabled command
i.e: enable
shortcut: en or ena
Privileged EXEC Mode
• Allows acces to all commands and features
• Identifed by the CLI prompt that ends with the # symbol
i.e: Router#
i.e: Switch#
like the root
Global Configuration Mode
• Used to access configuration options on the device
• (config)#
• to move in and out of global configuraion mode, use the configure terminal command.
• shortcut: conf t
To returen to privilege EXEC mode, use the exit command
• exit
• to protect enteries
Line Configuration Mode
• Used to configure console, SSH, Telnet or AUX access
• (config-line)#
• To move in and out of line configuration mode, use the line command followed by the management line type. To reture to global configuration mode use exit
i.e:
line console 0
exit
Interface Configuration Mode
• Used to configure a switch port or router interface
• (config-if)#
Basic IOS Command Structure
Prompt (name of device your configuring/ switch)Command (show) Space(ip) Keyword or Argument (protocols)
Switch>show ip protocols
Switch>ping 192. 168. 10. 5
? (displays list of all the commands that can be run on the user EXEC mode)
IN CLI use ? to find specific commands (like the manual)
exit takes you to the previous mode
end takes you to the privileged mode
Basic Device Configuration
• 1st- Configure the device name /Identify devices
command to change hostname: hostname hostname (name your changing it to)
• Secure Privileged EXEC mode- enable encrypted password/ where you type most of the commands
command: enable secret password (password your setting up)
• Secure user EXEC mode (enable password for user)
Router (config) # line console 0
Router (config-line) # password password
Router (config-line) # login
• Secure remote Telnet/SSH access
Router(config) # line vty 0 4
Router(config-line)# password password
Router (config-line) # login
• Encrypt all plaintext passwords
Command: service password-encryption
• Provide legal notificaion and save the configuration
• need special characters (*$ #^) and what ever you start with, you end with
Command: banner motd # message(message you want to use/ motd stands for message/memo of the day) #
• Save configuration every time your done configuring device
Go to privileged EXEC mode (end)
Command: copy running-config startup-config
Will save every command that was run on the device
shortcut: wr
Router Interface Configuration
Command: interface gigibitEthernet 0/0/0 (interface you want to configure)
shortcut: int g0/0/0
Description: description Link to LAN
To add IP address: ip address 192. 168 . 10.1 255 255 255 0n (ip address)
shortcut: ip add
ipv 6 address: ipv6 address 2001:db8:abcd10:
turnoff interface: no shutdown
to shut establishing communication/
shortcu: no sh
Verfication Commands
run on priviliged EXEC mode
• show ip interface brief
• show ipv6 interface brief
displays all interfaces, their IP addresses and their current status
• show ip route
• show ipv6 route
displays contents of the IP routing tables stored in RAM
• show interface / shortcut:int
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
• show running-config
all configurations running on device
Steps for Configuring:
1. 1st for from EXEC mode to privilege (enable) shortcut: ena or en
2. Privilege to Global (configure terminal/ config) shortcut: conf t
3. Then change host name (hostname hostname) this is how you change name of router
4. Secure Priv EXEC and set-up password (enable secret password)
5. User EXEC mode (line console 0)
6. set password( password password)
7. login
8. then verify (end)
9. Should as for password (use assigned password)
10. Saving configurations -go to priv EXEC mode ( running-config startup-config
11. Access interface
vit line-virtual
vty-
ip default-gateway