You are on page 1of 30

CCNA EXPLORATION 4.

0
SIMULADO EXAME FINAL
FUNDAMENTOS

Gilberto Silva
CSE / CCNA / CCAI / CDCNI / CCNP ROUTER
Gil_silva@ig.com.br
Cel. 9335 0613

ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 1
COMANDOS DO IOS
(30 comandos)

FUNDAMENTOS DE REDE

ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 2
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 3
Console Inativo

ROTEADOR_SP con0 is now available

Press RETURN to get started.

ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 4
MODO USUARIO
Router>
Router>
Router>
MODO PRIVILEGIADO
Router>enable
Router#
Router#

Fechar sesso de console

ROTEADOR_SP#
ROTEADOR_SP#exit

ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 5
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 6
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 7
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 8
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 9
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 10
MODO DE CONFIGURAO GLOBAL

Router#
Router#conf t
Router#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#
Router(config)#

ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 11
EXIBIR ARQUIVO DE CONFIGURAO ATIVO

Router#sh running-config
Building configuration...

Current configuration : 579 bytes


!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!

!
--More--
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 12
interface FastEthernet0/0
ip address 20.0.0.1 255.0.0.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 10.0.0.1 255.0.0.0
clock rate 128000
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
line con 0
line vty 0 4
login
ITE PC v4.0
!Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 13
Verificar arquivo de configurao de back-up
antes da copia de segurana

ROTEADOR_SP#sh startup-config
startup-config is not present
ROTEADOR_SP#

Copia de segurana do arquivo de configurao

ROTEADOR_SP#copy running-config star


ROTEADOR_SP#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
ROTEADOR_SP#

ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 14
CONFIGURAO DE INTERFACE

Router(config)#int fastEthernet 0/0


Router(config-if)#ip add
Router(config-if)#ip address 20.0.0.1 255.0.0.0
Router(config-if)#no sh
Router(config-if)#no shutdown
Router(config-if)#
Router(config-if)#

ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 15
ROTEADOR_SP#sh version
Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version 12.4(15)T1,
RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 06:21 by pt_rel_team

ROM: System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)


Copyright (c) 2000 by cisco Systems, Inc.

System returned to ROM by power-on


System image file is "c2800nm-advipservicesk9-mz.124-15.T1.bin"

A interface(s)
2 Low-speed serial(sync/async) network interface(s)
239K bytes of NVRAM.
62720K bytes of summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

cisco 2811 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory
Processor board ID JAD05190MTZ (4292891495)
M860 processor: part number 0, mask 49
2 FastEthernet/IEEE 802.3 processor board System flash (Read/Write)

Configuration
ITE PC v4.0
Chapter 1
register is 0x2102 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 16
DAR NOME AO ROTEADOR

Router(config)#
Router(config)#host
Router(config)#hostname ROTEADOR_RJ
ROTEADOR_RJ(config)#end

%SYS-5-CONFIG_I: Configured from console by console


ROTEADOR_RJ#
ROTEADOR_RJ#

ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 17
CONFIGURAO DE SENHA DE CONSOLE

Router(config)#line console 0
Router(config-line)#pass
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#login
Router(config-line)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#

ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 18
CONFIGURAO DE SENHA SECRETA MODO PRIVILEGIADO

Router#
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ena
Router(config)#enable secr
Router(config)#enable secret class
Router(config)#end

%SYS-5-CONFIG_I: Configured from console by console


Router#
Router#

ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 19
ATIVAO DE CONEXO VTY E SENHA

Router(config)#
Router(config)#line
Router(config)#line vt
Router(config)#line vty 0 4
Router(config-line)#pass
Router(config-line)#password telnet
Router(config-line)#login
Router(config-line)#login
Router(config-line)#
Router(config-line)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 20
CONFIGURAO DO BANNER

Router#
Router#
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ban
Router(config)#banner mo
Router(config)#banner motd # BEM VINDO #
Router(config)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#

ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 21
Configurar gerenciamento remoto do switch

Switch(config)#interface vlan 1
Switch(config-if)#ip add
Switch(config-if)#ip address 20.0.0.2 255.0.0.0
Switch(config-if)#no shutdown

%LINK-5-CHANGED: Interface Vlan1, changed state to up


Switch(config-if)#end

%SYS-5-CONFIG_I: Configured from console by console


Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#ip def
Switch(config)#ip default-gateway 20.0.0.1
Switch(config)#end
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#
Switch#
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 22
Ver tabela mac do switch

Switch#sh mac-address-table
Mac Address Table
-------------------------------------------

Vlan Mac Address Type Ports


---- ----------- -------- -----

1 0001.96e9.b63d DYNAMIC Fa0/3


1 0006.2ad6.07bd DYNAMIC Fa0/2
1 0040.0b74.45b2 DYNAMIC Fa0/1
Switch#
Switch#

ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 23
Teste de conexo falha

ROTEADOR_SP#ping 10.0.0.10

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 10.0.0.10, timeout is 2
seconds:
.....
Success rate is 0 percent (0/5)

ROTEADOR_SP#

ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 24
Teste de conexo OK

ROTEADOR_SP#
ROTEADOR_SP#ping 10.0.0.1

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2
seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max =
47/56/62 ms

ROTEADOR_SP#
ROTEADOR_SP#

ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 25
Verificar tipo de cabo na interface serial

ROTEADOR_SP#sh controllers s0/0/0


Interface Serial0/0/0
Hardware is PowerQUICC MPC860
DCE V.35, clock rate 128000
idb at 0x81081AC4, driver data structure at 0x81084AC0
SCC Registers:

ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 26
Verificar resumo das interfaces

Router#sh ip interface brief


Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 20.0.0.1 YES manual up up

FastEthernet0/1 20.0.0.1 YES manual administratively down down

Serial0/0/0 10.0.0.1 YES manual up up

Serial0/0/1 unassigned YES unset administratively down down

Vlan1 unassigned YES unset administratively down down


Router#

ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 27
Exibir detalhes das interfaces
Router#sh interfaces
FastEthernet0/0 is up, line protocol is up (connected)
Hardware is Lance, address is 00d0.ffa0.5e01 (bia 00d0.ffa0.5e01)
Internet address is 20.0.0.1/8
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00,
Last input 00:00:08, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); 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
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier

Router#
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 28
Ver tabela de roteamento

Router#
Router#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

C 10.0.0.0/8 is directly connected, Serial0/0/0


C 20.0.0.0/8 is directly connected, FastEthernet0/0
Router#
Router#
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 29
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 30

You might also like