Sie sind auf Seite 1von 5

R4:

config t
hostname R4
enable secret pass
no ip domain-lookup
no logging console
no service config
alias exec bp show ip int brief | ex una
alias exec sr show ip route
alias exec cn show cdp nei
alias exec sp show ip protocols
line console 0
no login
exec-timeout 0 0
line vty 0 14
no login
exec-timeout 0 0
end
no ip domain-lookup
no logging console
int fa 1/0
ip add 43.0.0.4 255.0.0.0
no shut
int fa 1/1
ip add 41.0.0.4 255.0.0.0
no shut
***
R3:
config t
hostname R3
enable secret pass
no ip domain-lookup
no logging console
no service config
alias exec bp show ip int brief | ex una
alias exec sr show ip route
alias exec cn show cdp nei
alias exec sp show ip protocols
line console 0
no login
exec-timeout 0 0
line vty 0 14
no login
exec-timeout 0 0
end
no ip domain-lookup
no logging console
int fa 1/0
ip add 43.0.0.3 255.0.0.0
no shut
int fa 1/1
ip add 31.0.0.3 255.0.0.0
no shut
***
R1:
config t
hostname R1
enable secret pass
no ip domain-lookup
no logging console
no service config
alias exec bp show ip int brief | ex una
alias exec sr show ip route
alias exec cn show cdp nei
alias exec sp show ip protocols
line console 0
no login
exec-timeout 0 0
line vty 0 14
no login
exec-timeout 0 0
end
no ip domain-lookup
no logging console
int fa 1/0
ip add 41.0.0.1 255.0.0.0
no shut
int fa 1/1
ip add 31.0.0.1 255.0.0.0
no shut
int fa 2/0
ip add 12.0.0.1 255.0.0.0
no shut
***
R2:
config t
hostname r2
enable secret pass
no ip domain-lookup
no logging console
no service config
alias exec bp show ip int brief | ex una
alias exec sr show ip route
alias exec cn show cdp nei
alias exec sp show ip protocols
line console 0
no login
exec-timeout 0 0
line vty 0 14
no login
exec-timeout 0 0
end
no ip domain-lookup
no logging console
ip route 0.0.0.0 0.0.0.0 12.0.0.1
int fa 1/0
ip add 12.0.0.2 255.0.0.0
no shut
*******
R4:
ip route 0.0.0.0 0.0.0.0 41.0.0.1
R3:
ip route 0.0.0.0 0.0.0.0 31.0.0.1

*******this is it**************************
nat on R1:
config t
int fa 1/0
ip nat outside
int fa 1/1
ip nat outside
int fa 2/0
ip nat inside
ip policy route-map PBR
exit
!
ip sla 1
icmp-echo 41.0.0.4
timeout 500
frequency 1
ip sla schedule 1 life forever start-time now
!
ip sla 2
icmp-echo 31.0.0.3
timeout 500
frequency 1
ip sla schedule 2 life forever start-time now
!
track 10 rtr 1 reachability
delay down 1 up 1
!
track 20 rtr 2 reachability
delay down 1 up 1
!
ip route 0.0.0.0 0.0.0.0 41.0.0.4 11 track 10
ip route 0.0.0.0 0.0.0.0 31.0.0.3 22 track 20
!
access-list 10 permit 12.0.0.0 0.0.0.255
access-list 20 permit 12.0.0.0 0.0.0.255
!
access-list 110 permit ip any any
access-list 120 permit ip any any
!
!
ip nat inside source route-map ISPR4 interface fastethernet 1/0 overload
ip nat inside source route-map ISPR3 interface fastethernet 1/1 overload
!
route-map PBR permit 10
match ip address 110
set ip next-hop verify-availability 41.0.0.4 1 track 10
exit
route-map PBR permit 20
match ip address 120
set ip next-hop verify-availability 31.0.0.3 2 track 20
exit
route-map ISPR4 permit 10
match ip address 10
match interface fastethernet 1/0
route-map ISPR3 permit 10
match ip address 20
match interface fastethernet 1/1
exit

r1#sh ip sla statistics


Round Trip Time (RTT) for Index 1
Latest RTT: 32 milliseconds
Latest operation start time: *09:01:14.995 UTC Fri Jun 14 2013
Latest operation return code: OK
Number of successes: 1514
Number of failures: 271
Operation time to live: Forever

r1#sh ip sla statistics


Round Trip Time (RTT) for Index 1
Latest RTT: 32 milliseconds
Latest operation start time: *09:01:14.995 UTC Fri Jun 14 2013
Latest operation return code: OK
Number of successes: 1514
Number of failures: 271
Operation time to live: Forever
Round Trip Time (RTT) for Index 2
Latest RTT: 40 milliseconds
Latest operation start time: *09:01:15.167 UTC Fri Jun 14 2013
Latest operation return code: OK
Number of successes: 1784
Number of failures: 1
Operation time to live: Forever

r1#sh ip sla application


IP Service Level Agreements
Version: Round Trip Time MIB 2.2.0, Infrastructure Engine-II
Time of last change in whole IP SLAs: *08:31:31.151 UTC Fri Jun 14 2013
Estimated system max number of entries: 19256

Estimated number of configurable operations: 19254


Number of Entries configured : 2
Number of active Entries : 2
Number of pending Entries : 0
Number of inactive Entries : 0

*************GNS3: ************************

task1: What is SLA


using cisco IP SLA. the performance of the network can be monitored.
this can be performed w/o deploying a physical probe. A router can be
configured to send a generated packet to the destination device and once
the destination device receives this packet, the device will respond with
time-stamp info. for the source so that the source can make the calculation
metric.

Das könnte Ihnen auch gefallen