Beruflich Dokumente
Kultur Dokumente
Dicas e Toques
2- Busca IOS
2.1- FLASH
2.2- TFTP (Servidor Computador com BACKUP)
2.3- ROM
3- Busca de Arquivo de Configurao
3.1- NVRAM
3.2- SETUP (Assistente com perguntas)
Obs*
--- System Configuration Dialog --Would you like to enter the initial configuration dialog? [yes/no]: n
mtrace
Trace reverse multicast path from destination to source
name-connection Name an existing network connection
no
Disable debugging functions
pad
Open a X.29 PAD connection
ping
Send echo messages
ppp
Start IETF Point-to-Point Protocol (PPP)
pwd
Display current working directory
reload
Halt and perform a cold restart
rename
Rename a file
restart
Restart Connection
resume
Resume an active network connection
rlogin
Open an rlogin connection
rsh
Execute a remote command
rtr
RTR Exec Configuration
send
Send a message to other tty lines
setup
Run the SETUP command facility
show
Show running system information
slip
Start Serial-line IP (SLIP)
squeeze
Squeeze a filesystem
start-chat
Start a chat-script on a line
systat
Display information about terminal lines
telnet
Open a telnet connection
terminal
Set terminal line parameters
test
Test subsystems, memory, and interfaces
traceroute
Trace route to destination
tunnel
Open a tunnel connection
udptn
Open an udptn connection
undebug
Disable debugging functions (see also 'debug')
upgrade
Upgrade firmware
verify
Verify a file
where
List active connections
write
Write running configuration to memory, network, or terminal
x28
Become an X.28 PAD
x3
Set X.3 parameters on PAD
Router#
Router#Show ?
access-expression List access expression
access-lists
List access lists
accounting
Accounting data for active sessions
adjacency
Adjacent nodes
aliases
Display alias commands
appletalk
AppleTalk information
arap
Show Appletalk Remote Access statistics
arp
ARP table
async
Information on terminal lines used as router interfaces
backup
Backup status
bridge
Bridge Forwarding/Filtering Database [verbose]
buffers
Buffer pool statistics
c2600
Show c2600 information
cca
CCA information
cdapi
CDAPI information
cdp
CDP information
cef
Cisco Express Forwarding
class-map
Show QoS Class Map
clock
Display the system clock
compress
Show compression statistics
configuration
Contents of Non-Volatile memory
connection
Show Connection
context
Show context information
controllers
Interface controller status
cops
COPS information
debugging
State of each debugging option
decnet
DECnet information
derived-config
Derived operating configuration
dhcp
Dynamic Host Configuration Protocol status
diag
Show diagnostic information for port adapters/modules
dialer
Dialer parameters and statistics
dnsix
Shows Dnsix/DMDP information
dxi
atm-dxi information
entry
Queued terminal entries
environment
Environmental monitor statistics
exception
exception informations
file
Show filesystem information
flash:
display information about flash: file system
frame-relay
Frame-Relay information
history
Display the session command history
hosts
IP domain-name, lookup style, nameservers, and host
table
html
HTML helper commands
idb
List of Hardware Interface Descriptor Blocks
interfaces
Interface status and configuration
ip
IP information
ipx
Novell IPX information
key
Key information
line
TTY line information
llc2
IBM LLC2 circuit information
location
Display the system location
logging
Show the contents of logging buffers
memory
Memory statistics
modemcap
Show Modem Capabilities database
ntp
Network time protocol
parser
Display parser information
pas
Port Adaptor Information
pci
PCI Information
policy-map
Show QoS Policy Map
ppp
PPP parameters and statistics
printers
Show LPD printer information
privilege
Show current privilege level
processes
Active process statistics
protocols
Active network routing protocols
qdm
Show information about QoS Device Manager
queue
Show queue contents
queueing
Show queueing configuration
radius
Shows radius information
random-detect-group display random-detetct group
region
Region Manager Status
registry
Function registry information
reload
Scheduled reload information
rhosts
Remote-host+user equivalences
rif
RIF cache entries
rmon
rmon statistics
route-map
route-map information
rtr
Response Time Reporter (RTR)
running-config
Current operating configuration
sessions
Information about Telnet connections
smds
SMDS information
smf
Software MAC filter
smrp
Simple Multicast Routing Protocol (SMRP) information
snapshot
Snapshot parameters and statistics
snmp
snmp statistics
spanning-tree
Spanning tree topology
stacks
Process stack utilization
standby
Hot Standby Router Protocol (HSRP) information
startup-config
Contents of startup configuration
subscriber-policy Subscriber policy
subsys
Show subsystem information
tacacs
Shows tacacs+ server statistics
tcp
Status of TCP connections
tech-support
Show system information for Tech-Support
template
Template information
terminal
Display terminal configuration parameters
tgrm
Trunk Group Resource Mananger info
time-range
Time range
traffic-shape
traffic rate shaping configuration
users
Display information about terminal lines
version
System hardware and software status
vlans
Virtual LANs Information
vtemplate
Virtual Template interface information
whoami
Info on current tty line
x25
X.25 information
x29
X.29 information
Router>enable
Router#show interfaces
FastEthernet0/0 is administratively down, line protocol is down
Hardware is AmdFE, address is 000b.5f63.1f00 (bia 000b.5f63.1f00)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
Router#show 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, su - IS-IS summary, 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
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
interface Serial0/0
bandwidth 56
ip address 199.6.13.1 255.255.255.0
no ip directed-broadcast
clockrate 56000
no shutdown
interface Serial0/1
ip address 201.100.11.2 255.255.255.0
no ip directed-broadcast
no shutdown
router rip
network 219.17.100.0
network 199.6.13.0
network 201.100.11.2
ip http server
no ip classless
line con 0
password cisco
transport input none
line aux 0
line vty 0 4
password telnet
login
end
Transferncia Completa
User
Mode
Lab_B#show users
Line
User
Host(s)
* 0 con 0
idle
66 vty 0
idle
Interface
User
Mode
Idle
Location
00:00:00
Idle
Peer Address
Idle
Location
00:00:00
00:00:06 219.17.100.3
Idle
Peer Address
Lab_B#clear line 66
[confirm]
[OK]
Lab_B#
Lab_B#show users
Line
User
Host(s)
* 0 con 0
idle
66 vty 0
idle
Interface
User
Mode
Idle
Location
00:00:00
00:00:03 219.17.100.3
Idle
Peer Address
Lab_B#send 66
Enter message, end with CTRL/Z; abort with CTRL/C:
O Link esta ON LINE
Configura a PORTA F0/0 com o IP 200.100.10.12
Leandro Ramos
^Z
Send message? [confirm]
Lab_B#
Mensagem recebida
***
***
*** Message from tty66 to tty0:
***
Porta configurada
Link OK
Faa o teste
Lab_B#show starrtup-config
^
% Invalid input detected at '^' marker.
Lab_B#
C
R
C
R
C
R
Lab_C>show version
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-D-M), Version 12.2(17a), RELEASE SOFTWARE
(fc1)
Copyright (c) 1986-2003 by cisco Systems, Inc.
Compiled Thu 19-Jun-03 16:34 by pwade
Image text-base: 0x8000808C, data-base: 0x80B55190
ROM: System Bootstrap, Version 12.2(7r) [cmong 7r], RELEASE SOFTWARE (fc1)
Lab_C uptime is 20 minutes
System returned to ROM by reload
System image file is "flash:c2600-d-mz.122-17a.bin"
cisco 2620XM (MPC860P) processor (revision 0x100) with 28672K/4096K bytes of
mem
ory.
Processor board ID JAD06450GSV (3223792012)
M860 processor: part number 5, mask 2
Bridging software.
X.25 software, Version 3.0.0.
1 FastEthernet/IEEE 802.3 interface(s)
2 Serial(sync/async) network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read/Write)
Configuration register is 0x2102
Lab_C>
O Comando interface serial 0/0 acessa a interface serial 0/0 para acessar
outra interface mude o nome da interface e o seu numero (ex.
interface fastEthernet 0/0). O Comando no shutdown levanta a
porta.,O comando shutdown desabilita a porta.
Lab_C#show interfaces
FastEthernet0/0 is up, line protocol is up
Hardware is AmdFE, address is 000b.5f76.7900 (bia 000b.5f76.7900)
Description: Conectado ao SW
Internet address is 223.8.151.1/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:08, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); 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
2064 packets input, 253354 bytes
Received 1185 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog
0 input packets with dribble condition detected
1293 packets output, 202255 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
3 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Serial0/0 is up, line protocol is up
Hardware is PowerQUICC Serial
Internet address is 204.204.7.1/24
MTU 1500 bytes, BW 56 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set
Keepalive set (10 sec)
Last input 00:00:02, output 00:00:02, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/1/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 42 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
613 packets input, 41356 bytes, 0 no buffer
Received 597 broadcasts, 0 runts, 0 giants, 0 throttles
1 input errors, 0 CRC, 1 frame, 0 overrun, 0 ignored, 0 abort
614 packets output, 49668 bytes, 0 underruns
Parmetros da Interface
MTU
RELY
LOAD
RUNT
GIANT
Lab_C#show history
ENA
show interfaces
show clock
clock
clock set 13/08/2003
clock set 12:42:09 13 aug 2003
show clock
show users
show history
Lab_C#
Lab_C#show arp
Protocol Address
Age (min) Hardware Addr Type Interface
Internet 223.8.151.1
- 000b.5f76.7900 ARPA FastEthernet0/0
Internet 223.8.151.3
8 0001.02c6.a589 ARPA FastEthernet0/0
Internet 223.8.151.5
0 0001.0287.f076 ARPA FastEthernet0/0
Internet 223.8.151.24
23 0001.0287.f109 ARPA FastEthernet0/0
Lab_C#show protocols
Global values:
Internet Protocol routing is enabled
FastEthernet0/0 is up, line protocol is up
Internet address is 223.8.151.1/24
Serial0/0 is up, line protocol is up
Internet address is 204.204.7.1/24
Serial0/1 is up, line protocol is up
Internet address is 199.6.13.2/24
Para copiar do servidor TFTP use o comando copy tftp run , onde run pode
ser substitudo por qualquer tipo de memria do roteador.
Lab_C#telnet lab_a
Trying LAB_A (192.5.5.1)... Open
ine
Bem vindo Ao Leandro Ramos - Roteador A
User Access Verification
Password:
Lab_A>
Exemplo em sucedido
Lab_C#ping 192.168.10.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/78/116 ms
Exemplo de falha
Lab_C#ping 200.100.10.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.100.10.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Reniniciar o Roteador
Lab_B#reload
--"
Lab_B(config)#
Lab_B#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Lab_B(config)#boot system tftp c2600-d-mz.122-17a(2620XM).bin
219.17.100.3
Lab_B(config)#^Z
Lab_B#
00:51:27: %SYS-5-CONFIG_I: Configured from console by console
Lab_B#copy run star
Destination filename [startup-config]?
Building configuration...
[OK]
Lab_B#
Lab_B#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Lab_B(config)#router rip
Lab_B(config-router)#network 219.17.100.0
Lab_B(config-router)#network 199.6.13.0
Lab_B(config-router)#network 201.100.11.2
Lab_B(config-router)#^Z
Lab_B#
Lab_B#show run
Building configuration...
router rip
network 199.6.13.0
network 201.100.11.0
network 219.17.100.0
IP
MASK
200.16.45.0
255.255.255.240
/28
24 2 14 Subredes
24 2 14 Hosts em cada subrede
1 SubRede entre roteadores 5
1 SubRede para cada porta Ethernet 6
Total de Subredes 11
Portas do Roteador SubRedes Endereo de Rede 1 Host Ultimo Host Broadcast
0
1
14
15
A (F0/0)
1
16
17
30
31
A (F0/1)
2
32
33
46
47
A (S0/0) B (S0/1)
3
48
49
62
63
A (S0/1) E(S0/0)
4
64
65
78
79
B F0/0
5
80
81
94
95
B (S0/0) C(S0/1)
6
96
97
110
111
C (F0/0)
7
112
113
126
127
C (S0/0) D(S0/1)
8
128
129
142
143
D (F0/1)
9
144
145
158
159
D(S0/0) E(S0/1)
10
160
161
174
175
E (F0/0)
11
176
177
190
191
12
192
193
206
207
13
208
209
222
223
14
224
225
238
239
Router(config-if)#exit
Router(config)#hostname Lab_B
Lab_B(config)#router rip
Lab_B(config-router)#network 200.16.45.96
Lab_B(config-router)#network 200.16.45.48
Lab_B(config-router)#network 200.16.45.80
Lab_B(config-router)#exit
Lab_B(config)#enable secret class
Lab_B(config)#enable password cisco
Lab_B(config)#no ip domain lookup
Lab_B(config)#ip host Lab_A 200.16.45.33 200.16.45.65 200.16.45.49 200.16.45.17
Lab_B(config)#ip host Lab_B 200.16.45.97 200.16.45.50 200.16.45.81
Lab_B(config)#ip host Lab_C 200.16.45.98 200.16.45.129 200.16.45.113
Lab_B(config)#ip host Lab_D 200.16.45.130 200.16.45.145 200.16.45.161
Lab_B(config)#ip host Lab_E 200.16.45.162 200.16.45.66 200.16.45.177
Lab_B(config)#exit
Lab_B#
00:17:03: %SYS-5-CONFIG_I: Configured from console by console
Lab_B#copy run star
Destination filename [startup-config]?
Building configuration...
[OK]
Lab_B#sh star
Using 890 out of 29688 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Lab_B
!
enable secret 5 $1$jPuB$E6k3C.o3Z0b8zAbbJRfYm.
enable password cisco
!
ip subnet-zero
!
!
no ip domain-lookup
ip host Lab_E 200.16.45.162 200.16.45.66 200.16.45.177
ip host Lab_D 200.16.45.130 200.16.45.145 200.16.45.161
ip host Lab_C 200.16.45.98 200.16.45.129 200.16.45.113
ip host Lab_B 200.16.45.97 200.16.45.50 200.16.45.81
ip host Lab_A 200.16.45.33 200.16.45.65 200.16.45.49 200.16.45.17
!
!
!
!
interface FastEthernet0/0
ip address 200.16.45.81 255.255.255.240
duplex auto
speed auto
!
interface Serial0/0
ip address 200.16.45.97 255.255.255.240
no fair-queue
clockrate 56000
!
interface Serial0/1
ip address 200.16.45.50 255.255.255.240
!
router rip
network 200.16.45.0
!
ip classless
ip http server
!
!
line con 0
line aux 0
line vty 0 4
!
end
Lab_B#ping Lab_E
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.16.45.162, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 92/95/96 ms
Lab_B#traceroute Lab_C
Type escape sequence to abort.
Tracing the route to Lab_C (200.16.45.98)
1 Lab_C (200.16.45.98) 16 msec * 16 msec
Lab_B#
Lab_B#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Lab_B(config)#username leandro password paocomovo
Lab_B(config)#username joilson password 123senha
Lab_B(config)#line vty 0 4
Lab_B(config-line)#login local
Lab_B(config-line)#exit
Lab_B(config)#line con 0
Lab_B(config-line)#login local
Lab_B(config)#service password-encryption
Antes
Lab_B#show run
Depois
Lab_B#show run
Lab_B#traceroute lab_e
Type escape sequence to abort.
Tracing the route to Lab_E (210.93.105.1)
1 Lab_C (199.6.13.2) 16 msec 16 msec 16 msec
2 Lab_D (204.204.7.2) 32 msec 32 msec 28 msec
3 193.114.41.2 48 msec * 44 msec
RIP
Update (Atualizao)
Invalid (Invalidar)
HoldDown (Contador para Remover)
Flush (Descartado)
Distancia Administrativa
30
180
180
240
120
Lab_B#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 16 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive any version
Interface
Send Recv Triggered RIP Key-chain
FastEthernet0/0
1 12
Serial0/0
1 12
Serial0/1
1 12
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
199.6.13.0
200.16.45.0
201.100.11.0
219.17.100.0
Routing Information Sources:
Gateway
Distance
Last Update
199.6.13.2
120
00:00:18
Lab_B#show 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, su - IS-IS summary, 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
S 210.93.105.0/24 [1/0] via 199.6.13.2
S 211.93.105.0/24 is directly connected, Serial0/0
R 205.7.5.0/24 [120/1] via 201.100.11.1, 00:00:01, Serial0/1
C 219.17.100.0/24 is directly connected, FastEthernet0/0
R 192.168.10.0/24 [120/1] via 201.100.11.1, 00:00:01, Serial0/1
C 199.6.13.0/24 is directly connected, Serial0/0
R 193.114.41.0/24 [120/2] via 199.6.13.2, 00:00:10, Serial0/0
[120/2] via 201.100.11.1, 00:00:01, Serial0/1
R 204.204.7.0/24 [120/1] via 199.6.13.2, 00:00:11, Serial0/0
R 192.5.5.0/24 [120/1] via 201.100.11.1, 00:00:02, Serial0/1
S 223.8.151.0/24 [1/0] via 199.6.13.2
C 201.100.11.0/24 is directly connected, Serial0/1
Lab_B#
Lab_B#debug ip rip
RIP protocol debugging is on
06:47:14: RIP: sending v1 update to 255.255.255.255 via FastEthernet0/0 (219.17.
100.1)
06:47:14: RIP: build update entries
06:47:14:
network 192.5.5.0 metric 2
06:47:14:
network 192.168.10.0 metric 2
06:47:14:
network 193.114.41.0 metric 3
06:47:14:
network 199.6.13.0 metric 1
06:47:14:
network 201.100.11.0 metric 1
06:47:14:
network 204.204.7.0 metric 2
06:47:14:
network 205.7.5.0 metric 2
06:47:14: RIP: sending v1 update to 255.255.255.255 via Serial0/0 (199.6.13.1)
06:47:14: RIP: build update entries
06:47:14:
network 192.5.5.0 metric 2
06:47:14:
network 192.168.10.0 metric 2
06:47:14:
network 201.100.11.0 metric 1
06:47:14:
network 205.7.5.0 metric 2
06:47:14:
network 219.17.100.0 metric 1
06:47:27: 204.204.7.0 in 1 hops
06:47:27: 211.93.105.0 in 2 hops
06:47:27: 223.8.151.0 in 1 hops
Lab_B#no debug ip rip
RIP protocol debugging is off
Alterar a verso do protocolo RIP para verso 2.0 que trabalha com SubRedes.
Lab_B(config)#router rip
Lab_B(config-router)#version ?
<1-2> version
Lab_B(config-router)#version 2
Lab_B(config)#router igrp ?
<1-65535> Autonomous system number
Lab_B(config)#router igrp 100
Lab_B(config-router)#network 199.6.13.0
Lab_B(config-router)#network 201.100.11.0
Lab_B(config-router)#network 219.17.100.0
Lab_B(config-router)#^Z
Lab_B#sh run
www.professorramos.com
Leandro Ramos leandro@professorramos.com