Cisco Admin I

Tip

Installing Packet Tracer on Manjaro.

sudo pacman -S base-devel
git clone https://aur.archlinux.org/packettracer.git
cd packettracer
cp ~/Downloads/CiscoPacketTracer_801_Ubuntu_64bit.deb .
makepkg -sri

Configuring Hardware

Mode

cisco_mode

Prompt

Prompt

Mode

Router>

User EXEC mode

Router#

Privileged EXEC mode

Router(config)#

Configuration mode

Router(config-if)#

Interface level within configuration mode

Router(config-router)#

Routing engine level within configuration mode

Router(config-line)#

Line level (vty, tty, async) within configuration mode

Set a hostname

Router#configure terminal
Router(config)#hostname rtr-01
rtr-01(config)#end

Errors reporting

rtr-01#sh int brief
         ^
% Invalid input detected at '^' marker.

Help

rtr-01#sh ?
aaa                Show AAA values
access-lists       List access lists
[...]

Connecting Router to Network

Display the default configuration

rtr-01#show running-config
rtr-01#sh run

rtr-01#show ip interface brief
rtr-01#show interface status

Define a banner

rtr-01(config)#banner login %
Enter TEXT message.  End with the character '%'.
You try to access to $(hostname). %

Shortcuts

CTRL-A

beginning of a line

CTRL-E

end of a line

Down arrow

next history command

Up arrow

previous history command

CTRL-Z

back to Privileged mode

CTRL-C

interruption

CTRL-SHIFT-6

force interruption

TAB

autocompletion

CTRL-R

Ré-affichage de la ligne

CTRL-U

delete a line

CTRL-W

delete a word

ESC-B

spread a word

ESC-F

forward a word

Configure an interface

rtr-01#sh ip int brief
Interface              IP-Address      OK? Method Status                Protocol
GigabitEthernet0/0/0   unassigned      YES unset  administratively down down
GigabitEthernet0/0/1   unassigned      YES unset  administratively down down
GigabitEthernet0/0/2   unassigned      YES unset  administratively down down
Vlan1                  unassigned      YES unset  administratively down down
rtr-01#conf t
rtr-01(config)#int GigabitEthernet0/0/0
rtr-01(config-if)#no shutdown
rtr-01(config-if)#ip address 192.168.1.254 255.255.255.0
rtr-01(config-if)#exit

PacketTracer - Add end device PC

cisco_packettracer_add_pc1_01 cisco_packettracer_add_pc1_02 cisco_packettracer_add_pc1_03 cisco_packettracer_add_pc1_04

Save the configuration

rtr-01#show startup-config
startup-config is not present
rtr-01#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
rtr-01#write memory
Building configuration...
[OK]

Using Switchs

PacketTracer - Add network device swt-01

cisco_packettracer_add_swt-01

Connect to the switch

Switch>en
Switch#conf t
Switch(config)#hostname swt-01
swt-01(config)#
swt-01(config)#exit
swt-01#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]