A-A+

思科路由器的IP SLA特性集和配置实例

2015年11月19日 站长资讯 暂无评论

思科路由器上基本上都会内置了一个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 配置实例

  1. r1(config)#ip sla 1  
  2.   
  3. r1(config-ip-sla)#tcp-connect 11.11.1.1 23 source-ip 11.11.245.4  
  4.   
  5. r1(config-ip-sla-tcp)#frequency ?  
  6.   
  7. r1(config-ip-sla-tcp)#frequency 3600  
  8.   
  9. r1(config)#ip sla schedule 1 life forever start-time new  
  10.   
  11. r1(config)#ip sla schedule 1 life forever start-time now  

验证:

  1. r1#sh ip sla configuration  
  2.   
  3. IP SLAs Infrastructure Engine-II  
  4.   
  5. Entry number: 1  
  6.   
  7. Owner:  
  8.   
  9. Tag:  
  10.   
  11. Type of operation to perform: tcp-connect  
  12.   
  13. Target address/Source address: 11.11.1.1/11.11.245.4  
  14.   
  15. Target port/Source port: 23/0  
  16.   
  17. Operation timeout (milliseconds): 60000  
  18.   
  19. Type Of Service parameters: 0x0  
  20.   
  21. Control Packets: enabled  
  22.   
  23. Schedule:  
  24.   
  25.    Operation frequency (seconds): 3600 (not considered if randomly scheduled)  
  26.   
  27.    Next Scheduled Start Time: Start Time already passed  
  28.   
  29.    Group Scheduled : FALSE  
  30.   
  31.    Randomly Scheduled : FALSE  
  32.   
  33.    Life (seconds): Forever  
  34.   
  35.    Entry Ageout (seconds): never  
  36.   
  37.    Recurring (Starting Everyday): FALSE  
  38.   
  39.    Status of entry (SNMP RowStatus): Active  
  40.   
  41. Threshold (milliseconds): 5000  
  42.   
  43. Distribution Statistics:  
  44.   
  45.    Number of statistic hours kept: 2  
  46.   
  47.    Number of statistic distribution buckets kept: 1  
  48.   
  49.    Statistic distribution interval (milliseconds): 20  
  50.   
  51. History Statistics:  
  52.   
  53.    Number of history Lives kept: 0  
  54.   
  55.    Number of history Buckets kept: 15  
  56.   
  57.    History Filter Type: None  
  58.   
  59. Enhanced History:  
标签:

给我留言