Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1338180
  • 博文数量: 464
  • 博客积分: 9399
  • 博客等级: 中将
  • 技术积分: 6364
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-19 09:15
文章分类

全部博文(464)

文章存档

2014年(12)

2013年(123)

2012年(173)

2011年(156)

我的朋友

分类: 系统运维

2011-05-14 20:47:08

用dynamips做ONT实验时,在做ONT实验的QOS实验,想问下下面的配置怎么去实现,我一直配置不了,请哪位高手帮忙一下
TrafGen# tgn。 

TrafGen(TGN:OFF,Fa0/0:none)#
Copy and paste the following configuration to a text editor. Replace $R1-MAC$ in the highlighted line in the configuration below with R1’s MAC address from Step 1. If you are using a different source interface for generated traffic, replace all instances of “fastethernet0/0” with the appropriate port. If you are using an outbound serial interface, you do not need to specify an l2-dest and should remove the highlighted line entirely. To exit the TGN prompt, use the end command.
fastethernet0/0 
add tcp
rate 1000
l2-dest $R1-MAC$
l3-src 172.16.10.4
l3-dest 172.16.20.4
l4-dest 23
length random 16 to 1500
burst on
burst duration off 1000 to 2000
burst duration on 1000 to 3000
add fastethernet0/0 1
l4-dest 80
data ascii 0 GET /index.h    tml HTTP/1.1
add fastethernet0/0 1
l4-dest 21
add fastethernet0/0 1
l4-dest 123
add fastethernet0/0 1
l4-dest 110  
add fastethernet0/0 1
l4-dest 25
add fastethernet0/0 1
l4-dest 22
add fastethernet0/0 1
l4-dest 6

       

阅读(625) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~