seayou 发表于 2010-7-28 01:47:48

ros 2.9.27 与 ros 4.02 中的语法命令完全不一致了?

请教:ros版本问题:
:put [:len ]

在只有一条adsl拨号的情况下,在2.9.27中与4.02中等到的数值完全不一样?
4.02中
> :put [:len ]
3
_______________________
2.9。27中
> :put [:len                   
1

-----------------------------
ros 4.02 中 只有一条adsl。。确信没有多建立。

> :put [:len ]
4
这就更加不明了。。。有谁有条件测试试??应该是1才对呀。。。

-----------------------------------------------------------------------------
4.02环境

> interface print
Flags: D - dynamic, X - disabled, R - running, S - slave
#   NAME                                                                                        TYPE             MTU
0Rether1                                                                                    ether            1500
1Rether2                                                                                    ether            1500
2Rpppoe-out1                                                                                  pppoe-out      1480
3 DR<pppoe-a>                                                                                 pppoe-in         1480
>

WGHBOY 发表于 2010-7-28 02:09:47

98跟xp比

seayou 发表于 2010-7-28 02:13:04

-----------------------------
ros 4.02 中 只有一条adsl。。确信没有多建立。

> :put [:len ]
4

这当中可以使用获取名字呀。。唯一性的呀

47771885 发表于 2010-7-28 11:12:44

-----------------------------
ros 4.02 中 只有一条adsl。。确信没有多建立。

> :p ...
seayou 发表于 2010-7-28 02:13 http://bbs.routerclub.com/images/common/back.gif


    或许 你应该换个版本
页: [1]
查看完整版本: ros 2.9.27 与 ros 4.02 中的语法命令完全不一致了?