TCP/IP报头压缩的配置
4.1.comress_tcp:指定本slip端口的tcp/ip报头压缩方式。
[命令]: compress_tcp [disable|passive|enable] [rslot rslot_number] [tslot tslot_number]
disable:禁止对出入的ip数据包进行tcp/ip报头压缩。
passive:仅当从对端接收到压缩的ip数据包才进行tcp/ip报头压缩。
enable:始终对出入的ip数据包进行tcp/ip报头压缩
缺省为disable。
rslot_number为接收用的tcp/ip报头的缓冲区数目,有效范围为3-256,缺省为16。
tslot_number为发送用的tcp/ip报头的缓冲区数目,有效范围为3-256,缺省为16。
[例子]:把s1口配成slip,指定被动的tcp/ip报头压缩。
config#s1
config_s1#enca slip
config_s1#compress_tcp passive
[说明]:
为提高低速串行链路数据传输效率,rfc1144提出了一个建议对tcp/ip报头进行压缩。