Вы находитесь на странице: 1из 7

Procesador de router.

MG_Sucursales_2#show event manager policy registered user

G_Sucursales_2#show event manager policy registered user

No. Class
Type
Event Type
Trap Time Registered
Name
1
applet
user
snmp
Off Wed Apr 9 10:22:11 2014 captu
re_cpu_spike
oid {1.3.6.1.4.1.9.2.1.56} get_type next entry_op ge entry_val {95} exit_time 3
00.000 poll_interval 2.000
maxrun 300.000
action 1.0 syslog msg "CPU Utilization is high"
action 2.0 cli command "en"
action 3.0 cli command "show clock | append disk0:cpuinfo_2"
action 4.0 cli command "show proc cpu sort | append disk0:cpuinfo_2"
action 5.0 cli command "show proc cpu history | append disk0:cpuinfo_2"
action 6.0 cli command "show interfaces | include line protocol|t rate|Descript
ion | append disk0:cpuinfo_2"
action 7.0 cli command "show ip eigrp topology pending | append disk0:cpuinfo_2
"
action 8.0 cli command "show logging | append disk0:cpuinfo_2"
action 9.0 cli command "show ip eigrp neighbors | append disk0:cpuinfo_2"
action 9.5 cli command "show ip route eigrp | append disk0:cpuinfo_2"
2
applet
user
timer countdown
-test
time 120.000
maxrun 20.000
action 1.0 syslog msg "Test Messages"

Off

Fri Aug 1 11:07:23 2014

timer

3
applet
user
timer watchdog
Off Fri Aug 1 15:45:14 2014 Memor
y_Leak
time 28800.000
maxrun 1800.000
action 1.0 syslog msg "Verificacion_Memory_Leak"
action 2.0 cli command "enable"
action 3.0 cli command "show clock | append disk0:memory_leak"
action 4.0 cli command "show memory allocating-process totals | append disk0:me
mory_leak"
action 5.0 cli command "show memory dead | append disk0:memory_leak"

action
action
action
action
ak"
action

6.0
7.0
8.0
9.0

cli
cli
cli
cli

command
command
command
command

"Show
"show
"show
"show

buffers | append disk0:memory_leak"


processes memory | append disk0:memory_leak"
memory summary | append disk0:memory_leak"
proc cpu sorted | ex 0.00 | append disk0:memory_le

9.1 cli command "show clock | append disk0:memory_leak"

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

MG_Sucursales_2#show event manager history events

Muestra los eventos que se generaron y a que hora.

MG_Sucursales_2#show event manager history events


No. Job Id Proc Status Time of Event
1
410
Actv success Tue Aug 5 16:48:15 2014
ture_cpu_spike
2
411
Actv success Tue Aug 5 23:45:15 2014
ory_Leak
3
413
Actv success Wed Aug 6 07:48:25 2014
ture_cpu_spike
4
412
Actv success Wed Aug 6 07:45:15 2014
ory_Leak
5
414
Actv success Wed Aug 6 15:45:15 2014
ory_Leak
6
415
Actv success Wed Aug 6 23:45:15 2014
ory_Leak
7
416
Actv success Thu Aug 7 01:49:51 2014
ture_cpu_spike
8
418
Actv success Thu Aug 7 07:49:26 2014
ture_cpu_spike
9
417
Actv success Thu Aug 7 07:45:15 2014
ory_Leak
10 419
Actv success Thu Aug 7 15:45:15 2014
ory_Leak

Event Type
snmp

Name
applet: cap

timer watchdog

applet: Mem

snmp

applet: cap

timer watchdog

applet: Mem

timer watchdog

applet: Mem

timer watchdog

applet: Mem

snmp

applet: cap

snmp

applet: cap

timer watchdog

applet: Mem

timer watchdog

applet: Mem

------------------------------------------------------------------------------------------------------------------------------------------------------Muestra los directorios dentro de DISK0:/

MG_Sucursales_2#dir
Directory of disk0:/

1 -rw-

26294272 Jun 19 2010 16:23:10 -03:00 c7600-fpd-pkg.122-33.SRB7.

pkg
2 -rw- 105074780
-mz.122-33.SRE6.bin
3 -rw41584640
pkg
4 -rw26287104
pkg
5 -rw75644452
-mz.122-33.SRB7.bin
6 -rw23411119
7 -rw216595
8 -rw26296320
9 -rw6186488
11 -rw- 180617216
10 -rw224
12 -rw4864

Jun 4 2013 14:03:56 -03:00 c7600s3223-adventerprisek9


Jun 19 2013 11:53:02 -03:00 c7600-fpd-pkg.122-33.SRE6.
Jun 19 2013 12:24:10 -03:00 c7600-fpd-pkg.122-33.SRB2.
Jun 19 2013 12:31:20 -03:00 c7600s3223-adventerprisek9
Aug 7
Mar 10
Sep 26
Mar 19
Sep 26
Sep 7
Sep 7

2014
2014
2014
2014
2014
2014
2014

16:31:14
17:24:34
16:09:36
17:35:10
23:48:14
22:11:26
22:48:34

-03:00
-03:00
-03:00
-03:00
-03:00
-03:00
-03:00

cpuinfo
ipaccounting
cpuinfo_2
c2500-i-l.120-3.T
memory_leak
telegrafia
ping

----------------------------------------------------------------------------------------------------------------------------------------------------------Con el comando MORE DISK0: se selecciona un archico del Directorio y se puede v


isualizar . Tambien se puede exportar por TFTP

MG_Sucursales_2#more disk0:cpuinfo_2

15:40:39.344 AR Fri Sep 19 2014


CPU utilization for five seconds: 95%/33%; one minute: 62%; five minutes: 58%
PID Runtime(ms)
Invoked
uSecs 5Sec 1Min 5Min TTY Process
555 232374416 1199880772
193 20.07% 3.98% 2.11% 0 EIGRP-IPv4
558 1087532472

239832275

4534 19.51% 8.93% 8.12%

0 RIP Timers

549

168230668

282719411

595 5.59% 4.70% 4.66%

0 SNMP ENGINE

220

476381736 2173827686

0 3.51% 6.41% 6.51%

547

157505680

563128381

279 2.47% 3.51% 3.59%

557

13400160

1096875

12216 1.75% 0.20% 0.09%

312

207475784

183664558

1129 1.35% 1.36% 1.37%

60

73094272

149348354

489 1.27% 0.65% 0.54%

122933584 2452051072

0 0.87% 0.68% 0.63%

556

0 IP Input
0 IP SNMP
0 RIP Send
0 CDP Protocol
0 Net Background
0 EIGRP-IPv4 Hell

o
548

28689884

270317883

106 0.55% 0.59% 0.61%

0 PDU DISPATCHER

301

2233420

112770

19805 0.55% 0.10% 0.02%

0 IP Connected Ro

14867196

23361236

636 0.47% 0.16% 0.15%

0 CEF: IPv4 proce

u
314

s
188

29848460

781891445

38 0.47% 0.47% 0.45%

0 ACE Tunnel Task

-----------------------------------------------------------------------------------------------------------------------------------------------------MG_Sucursales_2#copy disk0: tftp: (Se pone al IP del Cliente TFTP y se exoporta


a una PC)
---------------------------------------------------------------------------------------------------------------------------------------------------------Este comando permite ver los procesos actuales de los servicio que corren actual
mente en el router.
MG_Sucursales_2#show processes cpu
CPU utilization for five seconds: 96%/43%; one minute: 84%; five minutes: 81%
PID Runtime(ms)
Invoked
uSecs 5Sec 1Min 5Min TTY Process
1
52
196
265 0.00% 0.00% 0.00% 0 Chunk Manager
2

2716904

3320666

818 0.07% 0.05% 0.06%

0 Load Meter

4000 0.00% 0.00% 0.00%

0 LAPF Input

62832

2193021

28 0.00% 0.00% 0.00%

0 SCP async: Drac

12

726

16 0.00% 0.00% 0.00%

0 Retransmission

11

727 0.00% 0.00% 0.00%

0 IPC ISSU Dispat

0 0.00% 0.00% 0.00%

0 PF Redun ICC Re

98159268

5552126

17679 0.00% 0.68% 0.56%

2748

3926

699 0.00% 0.00% 0.00%

10

132

26

5076 0.00% 0.00% 0.00%

11

0 0.00% 0.00% 0.00%

o
o
c
q
0 Check heaps
0 Pool Manager
0 DiscardQ Backgr

o
0 Timers

-------------------------------------------------------------------------------------------------------------------------------------------------------Este comando permite ver los procesos actuales del los servicios que corren actu
elmente en el router desde el que consume mas al que consume menos.
MG_Sucursales_2#show processes cpu sorted
CPU utilization for five seconds: 90%/31%; one minute: 79%; five minutes: 80%
PID Runtime(ms)
Invoked
uSecs 5Sec 1Min 5Min TTY Process
549 395253984 452892728
872 16.07% 12.41% 12.56% 0 SNMP ENGINE
547

388118168 1013111253

383 12.23% 10.03% 10.39%

0 IP SNMP

558 1228528244
220

263928082

4654 10.15% 8.64% 8.71%

609758536 2626103627

0 8.07% 7.52% 7.66%

0 RIP Timers
0 IP Input

548

61263524

435407195

140 2.79% 1.56% 1.58%

98159804

5552154

17679 2.55% 0.67% 0.56%

155880580 2676531608

0 1.19% 1.00% 0.99%

0 EIGRP-IPv4 Hell

556

0 PDU DISPATCHER
0 Check heaps

o
188

41693944

861334855

48 1.03% 0.71% 0.74%

0 ACE Tunnel Task

60

90672600

166249595

545 0.87% 0.60% 0.64%

0 Net Background

555

258163612 1315375275

196 0.79% 0.72% 1.11%

0 EIGRP-IPv4

312

235840152

201614992

1169 0.71% 1.10% 1.04%

0 CDP Protocol

562

4064

4824

842 0.63% 0.05% 0.01%

1 Virtual Exec

481

48357180

179564728

269 0.31% 0.21% 0.22%

0 Port manager pe

18160180

25769204

704 0.23% 0.21% 0.21%

0 CEF: IPv4 proce

55351348

3502444

15803 0.23% 0.14% 0.14%

0 Compute load av

r
314
s
160
g

--------------------------------------------------------------------------------------------------------------------------------------------------------------Este comando permite ver un grafico de la ocupacion del procesador en tiempo de


60 Segundos 60 minutos y 72 horas.

MG_Sucursales_2#show processes cpu history

999999999999999999999998888866666222222222233333999999999999
444444442222233333000008888888888000003333344444222225555555
100
*****
90 ****************************
**********
80 ****************************
**********
70 *********************************
**********
60 *********************************
**********
50 *********************************
**********
40 *********************************
**********
30 *********************************
***************
20 **********************************************************
10 **********************************************************
0....5....1....1....2....2....3....3....4....4....5....5....6
0
5
0
5
0
5
0
5
0
5
0
CPU% per second (last 60 seconds)

-----------------------------------------------------------------------------------------------------------------------------------------------------------------Este comando permite ver los procesos en tiempo real cada 5 segundos
MG_Sucursales_2#show processes cpu monitor
CPU utilization for five seconds: 85%/32%; one minute: 83%; five minutes: 81%
PID Runtime(ms)
549 407464472
547

400268376 1036340510

558 1235543440
220

Invoked
461013370

uSecs 5Sec 1Min 5Min TTY Process


883 17.19% 14.71% 13.89% 0 SNMP ENGINE
386 13.67% 11.70% 11.20%

265086872

4660 8.63% 8.17% 8.23%

616402896 2649401721

0 7.11% 7.46% 7.05%

0 IP SNMP
0 RIP Timers
0 IP Input

548

62951516

443387047

141 2.07% 1.78% 1.72%

0 PDU DISPATCHER

312

237197624

202446998

1171 1.03% 1.54% 1.51%

555

259313008 1320903708

196 0.87% 0.98% 1.15%

556

157593780 2687202660

0 0.63% 0.93% 0.86%

0 EIGRP-IPv4 Hell

0 CDP Protocol
0 EIGRP-IPv4

o
188

42319816

865146148

48 0.47% 0.63% 0.67%

0 ACE Tunnel Task

60

91592280

167093644

548 0.39% 0.55% 0.58%

0 Net Background

314

18332204

25884613

708 0.31% 0.21% 0.22%

0 CEF: IPv4 proce

294

36249584

18716798

1936 0.15% 0.12% 0.10%

198

15381012

31932111

481 0.15% 0.06% 0.05%

0 esw_vlan_stat_p

55632160

3518389

15811 0.07% 0.15% 0.14%

0 Compute load av

4672736

330278434

14 0.07% 0.07% 0.07%

0 IP SLAs Event P

363

5800356

36529962

158 0.07% 0.07% 0.06%

0 L3 Manager

568

1216

1298

936 0.07% 0.04% 0.01%

3 Virtual Exec

535

11624800

15683944

741 0.07% 0.05% 0.05%

0 WCCP V2 Protoco

2751488

3335647

824 0.07% 0.06% 0.06%

0 Load Meter

20

19028

413982

45 0.00% 0.00% 0.00%

s
0 XDR mcast

r
160
g
313
r

End = e Freeze = f
Enter Command:

0 EEM ED Syslog

-------------------------------------------------------------------------------------------Este comando activa junto a transfer Receibe ACS|| que todo lo que hagas en el
router que copiado
en un TXT.
MG_Sucursales_2#terminal len 0
-------------------------------------------------------------------------------------------------