© 2015 Mohamed Samir YouTube channel All rights reserved. Samir CCNP-SWITCHING Mohamed Samir YouTube channel Double CCIEs #27042(R/S&SP)
© 2015 Mohamed Samir YouTube channel All rights reserved. Samir Part V: Monitoring Campus Networks
© 2015 Mohamed Samir YouTube channel All rights reserved. Samir IP SLA
© 2015 Mohamed Samir YouTube channel All rights reserved. Samir IP SLA Overview enables you to gather realistic information about how specific types of traffic are being handled end to end across a network perform a variety of tests: simplest ICMP the echo failures (packet loss) and round-trip transit (RTT) times are calculated Switch# show ip sla statistics aggregated Round Trip Time (RTT) for Index 1 Type of operation: icmp-echo Start Time Index: 15:10: EDT Fri Aug RTT Values Number Of RTT: 24 RTT Min/Avg/Max: 1/1/4 ms Number of successes: 24 Number of failures: 0
© 2015 Mohamed Samir YouTube channel All rights reserved. Samir Other more sophisticated tests
© 2015 Mohamed Samir YouTube channel All rights reserved. Samir Other more sophisticated tests An IP SLA source device can schedule and keep track of multiple test operations An ICMP echo operation might run against target while UDP jitter operations are running against targets , , and Each test runs independently
© 2015 Mohamed Samir YouTube channel All rights reserved. Samir IP SLA advantages By leveraging IP SLA test operations, you can take advantage of some fancy features: 1- Generate SNMP traps when certain test thresholds are exceeded 2- Schedule further IP SLA tests automatically when test thresholds are crossed 3- Track an IP SLA test to trigger a next-hop gateway redundancy protocol, such as Hot Standby Router Protocol (HSRP) 4- Gather voice quality measurements from all over a network
© 2015 Mohamed Samir YouTube channel All rights reserved. Samir Configuring IP SLA Switch(config)# ip sla responder For security you can add key-chain Switch(config)# key chain chain-name Switch(config-keychain)# key key-number Switch(config-keychain-key)# key-string string Switch(config-keychain-key)# exit Switch(config-keychain)# exit Switch(config)# ip sla key-chain chain-name
© 2015 Mohamed Samir YouTube channel All rights reserved. Samir IP SLA configuration Step 1. Switch(config)# ip sla operation-number Step 2. Select the type of test operation to perform. Switch(config-ip-sla)# test-type parameters dhcp, dns, ethernet, ftp, http, icmp-echo, mpls, path-echo, path-jitter, slm, tcp-connect, udp-echo, or udp-jitter Ex. Switch(config-ip-sla)# icmp-echo destination-ip-addr [source-ip-addr] Switch(config-ip-sla)# udp-jitter destination-ip-addr dest-udp-port [source-ip source-ipaddr] [source-port source-udp-port] [num-packets number-of-packets] [interval packetinterval] You can define the UDP jitter codec operation by using the following command syntax: Switch(config-ip-sla)# udp-jitter destination-ip-addr dest-udp-port codec {g711alaw | g711ulaw | g729a} Step 3. Switch(config-ip-sla)# frequency seconds Step 4. Switch(config)# ip sla schedule operation-number [life {forever | sec onds}] [start-time {hh:mm[:ss] [month day | day month] | pending | now | after hh:mm:ss}] [ageout seconds] [recurring]
© 2015 Mohamed Samir YouTube channel All rights reserved. Samir IP SLA configuration Switch(config)# ip sla 100 Switch(config-ip-sla)# icmp-echo Switch(config-ip-sla)# frequency 5 Switch(config-ip-sla)# exit Switch(config)# ip sla schedule 100 life forever start-time now Switch# show ip sla configuration Switch# show ip sla statistics 100 Switch# show ip sla statistics aggregated 100
© 2015 Mohamed Samir YouTube channel All rights reserved. Samir you can also use an IP SLA operation to make some other switch features change behavior automatically, without any other intervention. Switch-A(config)# ip sla 10 Switch-A(config-ip-sla)# icmp-echo Switch-A(config-ip-sla)# frequency 5 Switch-A(config-ip-sla)# exit Switch-A(config)# ip sla schedule 10 life forever start-time now Switch-A(config)# track 1 ip sla 10 reachability Switch-A(config)# interface vlan10 Switch-A(config-if)# ip address Switch-A(config-if)# standby 1 priority 120 Switch-A(config-if)# standby 1 track 1 decrement 30 Switch-A(config-if)# standby 1 preempt Switch-A(config-if)# no shutdown
© 2015 Mohamed Samir YouTube channel All rights reserved. Samir Any questions ?
© 2015 Mohamed Samir YouTube channel All rights reserved. Samir Thank you for your time ! شكرا جزاكم الله خير