6.4.a Implement and troubleshoot IP SLA

i turned on ip sla for icmp, http and telnet:

r1(config)#do sh run | b sla
ip sla monitor 1
type echo protocol ipIcmpEcho 192.168.23.3
request-data-size 1500
timeout 3
frequency 2
ip sla monitor schedule 1 life forever start-time now
ip sla monitor 3
type http operation get url http://4.4.4.4
ip sla monitor schedule 3 life forever start-time now
ip sla monitor 6
type tcpConnect dest-ipaddr 4.4.4.4 dest-port 23 source-port 35846 control disable
timeout 0
frequency 5
ip sla monitor schedule 6 life forever start-time now

to monitor the activity i turned nbar on the incoming ethernet port (the destination port for both telnet and http is the loopback)

r3#sh run int f0/0
Building configuration…

Current configuration : 125 bytes
!
interface FastEthernet0/0
ip address 192.168.23.3 255.255.255.0
 ip nbar protocol-discovery
duplex auto
speed auto

to see the nbar ouput:

r3#sh ip nbar protocol-disco | i telnet|icmp|http
icmp                     3480                     1
http                     290                      175
telnet                   640                      160
secure-http              0                        0
secure-telnet            0                        0
r3#sh ip nbar protocol-disco | i telnet|icmp|http
icmp                     3516                     1
http                     290                      175
telnet                   656                      164
secure-http              0                        0
secure-telnet            0                        0
r3#sh ip nbar protocol-disco | i telnet|icmp|http
icmp                     3680                     1
http                     300                      182
telnet                   724                      181
secure-http              0                        0
secure-telnet            0                        0

this is very exciting…

nbar_byte_ct

from: http://www.cisco.com/en/US/docs/ios/12_2/qos/configuration/guide/qcfnbar_ps1835_TSD_Products_Configuration_Guide_Chapter.html

Monitoring and Maintaining NBAR

NBAR can determine which protocols and applications are currently running on a network. NBAR includes the Protocol Discovery feature that provides an easy way of discovering application protocols operating on an interface so that appropriate QoS policies can be developed and applied. With Protocol Discovery, you can discover any protocol traffic supported by NBAR and obtain statistics associated with that protocol.