Professional Documents
Culture Documents
To watch our Cisco CCNA Video Trainings Please Check out the link below:
www.asmed.com/c1
Cisco IP SLA (Service Level Agreement) is very similar to concept of Frame-relay – Like
Committed information rate. That is your Service Provider ISP, will tell you that you are
guaranteed to get particular BW from them , with Min value of something ; but can go to
higher value. Same Concept apply to Ip SLA
It is like Agreement between source and responder, we will do a lab on it but we will use
the concept of ping , as we see when I put ? , I will see choice of ftp , Http and so on.
Cisco CCNA IP SLA Configuration
R1(config)#ip sla 1
R1(config-ip-sla)#?
IP SLAs entry configuration commands:
dhcp DHCP Operation
dns DNS Query Operation
ethernet Ethernet Operations
exit Exit Operation Configuration
frame-relay Frame-relay Operation
ftp FTP Operation
http HTTP Operation
icmp-echo ICMP Echo Operation
icmp-jitter ICMP Jitter Operation
path-echo Path Discovered ICMP Echo Operation
path-jitter Path Discovered ICMP Jitter Operation
tcp-connect TCP Connect Operation
udp-echo UDP Echo Operation
udp-jitter UDP Jitter Operation
voip Voice Over IP Operation
Cisco CCNA IP SLA Configuration
as we see we can do a lots of stuff but we will do simple Ping ( and test it with icmp-echo)
Also in here I can use the source address , but i press enter ( sicne it will be 200.1.1.1)
R1(config-ip-sla)#
R1(config-ip-sla)#icmp-echo ?
Hostname or A.B.C.D Destination IP address or hostname, broadcast disallowed
R1(config-ip-sla)#icmp-echo 200.1.1.2 ?
source-interface Source Interface (ingress icmp packet interface)
source-ip Source Address
<cr>
R1(config-ip-sla)#icmp-echo 200.1.1.2
R1(config-ip-sla-echo)#
Cisco CCNA IP SLA Configuration
Step 2) Now set the frequency test between R1 and R2 , Default value=60 sec ,
R1(config-ip-sla-echo)#?
IP SLAs echo Configuration Commands:
default Set a command to its defaults
exit Exit operation configuration
frequency Frequency of an operation
history History and Distribution Data
no Negate a command or set its defaults
owner Owner of Entry
request-data-size Request data size
tag User defined tag
threshold Operation threshold in milliseconds
timeout Timeout of an operation
tos Type Of Service
verify-data Verify data
vrf Configure IP SLAs for a VPN Routing/Forwarding instance
Cisco CCNA IP SLA Configuration
R1(config-ip-sla-echo)#frequency ?
<1-604800> Frequency in seconds (default 60)
R1(config-ip-sla-echo)#frequency 60 ?
<cr>
R1(config-ip-sla-echo)#frequency 60
R1(config-ip-sla-echo)#
R1#show run
ip sla 1
icmp-echo 200.1.1.2
Cisco CCNA IP SLA Configuration
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip sl
R1(config)#ip sla 1
R1(config-ip-sla-echo)#fr
R1(config-ip-sla-echo)#frequency 30
R1(config-ip-sla-echo)#
ip sla 1
icmp-echo 200.1.1.2
frequency 30
!
Cisco CCNA IP SLA Configuration
step 3) Now we go to global configuration and schedule this test to run right now----
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip sla ?
<1-2147483647> Entry Number
enable Enable Event Notifications
ethernet-monitor IP SLAs Auto Ethernet configuration
group Group Configuration or Group Scheduling
key-chain Use MD5 authentication for IP SLAs Control Messages
logging Enable Syslog
low-memory Configure Low Water Memory Mark
reaction-configuration IP SLAs Reaction-Configuration
reaction-trigger IP SLAs Trigger Assignment
reset IP SLAs Reset
responder Enable IP SLAs Responder
restart Restart An Active Entry
schedule IP SLAs Entry Scheduling
R1(config)#ip sla sch
R1(config)#ip sla schedule ?
<1-2147483647> Entry number
Cisco CCNA IP SLA Configuration
ip sla 1
icmp-echo 200.1.1.2
frequency 30
ip sla schedule 1 start-time now
!
!
Cisco CCNA IP SLA Configuration
Schedule:
Operation frequency (seconds): 30 (not considered if randomly scheduled)
Next Scheduled Start Time: Start Time already passed
Group Scheduled : FALSE
Randomly Scheduled : FALSE
Life (seconds): 3600
Entry Ageout (seconds): never
Recurring (Starting Everyday): FALSE
Status of entry (SNMP RowStatus): Active
Threshold (milliseconds): 5000 (not considered if react RTT is configured)
Distribution Statistics:
Number of statistic hours kept: 2
Number of statistic distribution buckets kept: 1
Statistic distribution interval (milliseconds): 20
History Statistics:
Number of history Lives kept: 0
Number of history Buckets kept: 15
History Filter Type: None
Enhanced History:
Cisco CCNA IP SLA Configuration
R1#show ip sla st
R1#show ip sla statistics
IPSLAs Latest Operation Statistics
IPSLA operation id: 1
Latest RTT: 1 milliseconds
Latest operation start time: *01:05:08.035 UTC Thu Dec 8 2016
Latest operation return code: OK
Number of successes: 22
Number of failures: 1
Operation time to live: 2924 sec
Cisco CCNA IP SLA Configuration
R1#
ip sla 1
icmp-echo 200.1.1.2
frequency 30
ip sla schedule 1 start-time now
R1(config)#ip sla 1
%Entry already running and cannot be modified
(only can delete (no) and start over)
(check to see if the probe has finished exiting)
Cisco CCNA IP SLA Configuration
notice That I did not go to destination R2 and do Ip SLA responder , since I was running
the basic ICMP echo test, and i did not need to do it ,since the responder can handle
pinging , for other test , we need go to R2 and do the commands IP SLA responder
Cisco CCNA IP SLA Configuration
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int f0/0
R2(config-if)#shut
Cisco CCNA IP SLA Configuration
Now it went to 3
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int f0/0
R2(config-if)#no shut
R2(config-if)#
*Dec 7 21:08:37.623: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Dec 7 21:08:38.623: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed
state to up
R2(config-if)#
Cisco CCNA IP SLA Configuration
R2(config)#ip sla ?
<1-2147483647> Entry Number
enable Enable Event Notifications
ethernet-monitor IP SLAs Auto Ethernet configuration
group Group Configuration or Group Scheduling
key-chain Use MD5 authentication for IP SLAs Control Messages
logging Enable Syslog
low-memory Configure Low Water Memory Mark
reaction-configuration IP SLAs Reaction-Configuration
reaction-trigger IP SLAs Trigger Assignment
reset IP SLAs Reset
responder Enable IP SLAs Responder
restart Restart An Active Entry
schedule IP SLAs Entry Scheduling
make sure the key-string ( which is your password is the same) the name which is CCNP1 and CCNP2
are local significance ; but key has be same
First I do R1
R1#
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#key ?
chain Key-chain management
config-key Set a private configuration key for general use
R1(config)#key ch
R1(config)#key chain ?
WORD Key-chain name
R1(config-keychain)#key ?
<0-2147483647> Key identifier
R1(config-keychain)#key 1
R1(config-keychain-key)#?
Key-chain key configuration commands:
accept-lifetime Set accept lifetime of key
default Set a command to its defaults
exit Exit from key-chain key configuration mode
key-string Set key string
no Negate a command or set its defaults
send-lifetime Set send lifetime of key
Cisco CCNA IP SLA Configuration
R1(config-keychain-key)#key
R1(config-keychain-key)#key-string TEST
R1(config-keychain-key)#
R1(config-keychain-key)#exit
R1(config-keychain)#exit
R1(config)#
R1(config)#
R1(config)#ip sla key
R1(config)#ip sla key-chain CCNP1
R1(config)#
Cisco CCNA IP SLA Configuration
Here is show run on R1:
R1#show run
R2#
R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#key ?
chain Key-chain management
config-key Set a private configuration key for general use
R2(config)#key ch
R2(config)#key chain ?
WORD Key-chain name
Cisco CCNA IP SLA Configuration
R2(config)#key chain CCNP2
R2(config-keychain)#?
Key-chain configuration commands:
default Set a command to its defaults
exit Exit from key-chain configuration mode
key Configure a key
no Negate a command or set its defaults
Cisco CCNA IP SLA Configuration
R2(config-keychain)#key 1 ?
<cr>
R2(config-keychain)#key 1
R2(config-keychain-key)#?
Key-chain key configuration commands:
accept-lifetime Set accept lifetime of key
default Set a command to its defaults
exit Exit from key-chain key configuration mode
key-string Set key string
no Negate a command or set its defaults
send-lifetime Set send lifetime of key
Cisco CCNA IP SLA Configuration
R2(config-keychain-key)#keys
R2(config-keychain-key)#key-
R2(config-keychain-key)#key-string ?
0 Specifies an UNENCRYPTED password will follow
7 Specifies a HIDDEN password will follow
LINE The UNENCRYPTED (cleartext) user password
R2(config-keychain-key)#key-string TEST
R2(config-keychain-key)#exit
R2(config-keychain)#exit
R2(config)#
R2(config)#
R2(config)#ip sla key-
R2(config)#ip sla key-chain CCNP2
R2(config)#
Cisco CCNA IP SLA Configuration
Here is show run:
R2#
!
ip sla responder
ip sla key-chain CCNP2
To watch our Cisco CCNA Video Trainings Please Check out the link below:
www.asmed.com/c1
Phone: (301) 984-7400