标签:sla

cisco的ip sla

No Comments 网络技术 ,

Cisco的路由器上内置了IP SLA特性集,我们可以利用他产生实验所需的流量,其支持的流量类型很多,尤其是在IOS12.4T版本中,支持所需的各种流量!
不同的IOS版本中的SLA命令是不一样的阿,自己注意!~入12.4是IP SLA Monitor而12.4T则变为IP SLA了!
在12.3中,也许回事RTR。

配置R1和R4
R4的Telnet来源是yy245.4对R4与目的地是yy1.1对R1的, R1的是回复者。
测试将出现一次小时,并会不断的重复操作

12.4T 配置实例

r1(config)#ip sla 1

r1(config-ip-sla)#tcp-connect 11.11.1.1 23 source-ip 11.11.245.4
r1(config-ip-sla-tcp)#frequency ?
r1(config-ip-sla-tcp)#frequency 3600

r1(config)#ip sla schedule 1 life forever start-time new
r1(config)#ip sla schedule 1 life forever start-time now

验证

r1#sh ip sla configuration
IP SLAs Infrastructure Engine-II
Entry number: 1
Owner:
Tag:
Type of operation to perform: tcp-connect
Target address/Source address: 11.11.1.1/11.11.245.4
Target port/Source port: 23/0
Operation timeout (milliseconds): 60000
Type Of Service parameters: 0x0
Control Packets: enabled
Schedule:
   Operation frequency (seconds): 3600 (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
History Statistics:
   Number of history Lives kept: 0
   Number of history Buckets kept: 15
   History Filter Type: None
Enhanced History: