! primero damos el nombre de la prueba, en este caso 23
! y configuramos el servicio a probar, la conexión TCP, la IP destino y desactivamos paquetes de control
! configuramos el tiempo de vida (permanente) y tiempo de arranque de la prueba (ahora)
R1(config)# ip sla 23
R1(config-ip-sla)# tcp-connect 172.10.105.1 23 control disable
R1(config-ip-sla)# exit
R1(config)# ip sla schedule 23 life forever start-time now
! verificamos las estadísticas y vemos que la conexión es exitosa y tomó 112ms en la última prueba
R1# show ip sla statistics
IPSLAs Latest Operation Statistics
IPSLA operation id: 23
Latest RTT: 112 milliseconds
Latest operation start time: 23:31:07 UTC Mon Sep 15 2014
Latest operation return code: OK
Number of successes: 4
Number of failures: 0
Operation time to live: Forever
R1# sh ip sla summ
IPSLAs Latest Operation Summary
Codes: * active, ^ inactive, ~ pending
ID Type Destination Stats Return Last
(ms) Code Run
-----------------------------------------------------------------------
*23 tcp-connect 172.10.105.1 RTT=132 OK 3 seconds ago
R1# sh ip sla conf
IP SLAs Infrastructure Engine-III
Entry number: 23
Owner:
Tag:
Operation timeout (milliseconds): 60000
Type of operation to perform: tcp-connect
Target address/Source address: 172.10.105.1/0.0.0.0
Target port/Source port: 23/0
Type Of Service parameter: 0x0
Vrf Name:
Control Packets: disabled
Schedule:
Operation frequency (seconds): 60 (not considered if randomly scheduled)
Next Scheduled Start Time: Start Time already passed
Group Scheduled : FALSE
Randomly Scheduled : FALSE
Life (seconds): Forever
Entry Ageout (seconds): never
Recurring (Starting Everyday): FALSE
Status of entry (SNMP RowStatus): Active
Threshold (milliseconds): 5000
Distribution Statistics:
Number of statistic hours kept: 2
Number of statistic distribution buckets kept: 1
Statistic distribution interval (milliseconds): 20
Enhanced History:
History Statistics:
Number of history Lives kept: 0
Number of history Buckets kept: 15
History Filter Type: None
No hay comentarios. :
Publicar un comentario