frame-relay实验2

王朝other·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

四、 帧中继的流量整形

实验拓扑

1. 在还没进行下面的实验以前,先用扩展ping命令:

RouterA#ping

Protocol [ip]:

Target IP address: 192.168.2.1

Repeat count [5]: 55

Datagram size [100]: 1111

Timeout in seconds [2]:

Extended commands [n]: y

Source address or interface: 192.168.1.1

Type of service [0]:

Set DF bit in IP header? [no]:

Validate reply data? [no]:

Data pattern [0xABCD]:

Loose, Strict, Record, Timestamp, Verbose[none]:

Sweep range of sizes [n]:

Type escape sequence to abort.

Sending 55, 1111-byte ICMP Echoes to 192.168.2.1, timeout is 2

seconds:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Success rate is 100 percent (55/55), round-trip min/avg/max =

176/179/192 ms

记录下他们的返回时间;

2. 在同一条pvc之间(如RouterARouterB)创建一个map-class,定义pvc的CIR(committed information rate)命令如下:

RouterA(config)#map-class frame-relay CIR

RouterA(config-map-class)#frame-relay traffic-rate 2000

RouterB(config)#map-class frame-relay CIR

RouterB(config-map-class)#frame-relay traffic-rate 2000

3. 将该map-class应用到端口上:

RouterA(config)#interface serial 0

RouterA(config-if)#frame-relay traffic-shaping

RouterA(config-if)#interface serial 0.1 multipoint

RouterA(config-subif)#frame-relay class CIR

RouterB(config)#interface serial 0

RouterB(config-if)#frame-relay traffic-shaping

RouterB(config-if)#interface serial 0.16 point-to-point

RouterB(config-subif)#frame-relay class CIR

4. 用show frame-relay pvc验证CIR的配置;

5. 再一次用扩展ping命令,验证返回的时间是否比原来的要长?

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航