设为首页收藏本站

Network Confederation! 中国网络技术联盟

 找回密码
 用户注册

QQ登录

只需一步,快速开始

查看: 1688|回复: 23

[共享] L2IOU详解以及自己总结的一点使用Bug     [复制链接]

Rank: 8Rank: 8

签到
203
发表于 6-14-2011 12:18:30 |显示全部楼层 |          |
相比于L3IOU,这个L2IOU显然支持交换特性比较出色。

我搭建的平台如下:
RedHat Linux 5.4环境,没有使用CoLinux或者AndLinux。除了破解crack需要安装python2.7之外并未安装其他插件。
机器内存1.5GB。

有人使用了安装包方式,我个人觉得不管什么方式都可以,但是纯Linux环境可操作性更强。

版本i86bi_linux-adventerprisek9-ms以及i86bi_linuxl2-upk9-ms.M。所有的IOU均分配128M内存,完美模拟CCIE RS4.0 K1K2机架包括BB
当11台设备全部启用之后,有一些问题在这里提醒一下各位。

1,BB路由器的配置最好给本路由器分多一点NVRAM,目前这台BB上有10K左右的配置。

./wrapper-linux -m ./i86bi_linux-adventerprisek9-ms -p 11000 -- -e 1 -s 4 -n 48 -m 128 -c r20 100 &

2,虽说是L2IOU,但是估计是在L3IOU的基础上增加了L2的特性,因为从接口配置看,仍然采用的是Ethernet的方式,这里不太人性,有点类似HWIC的配法,而且起始编号和路由器一样,为0。

3,一定注意,要启用2层特性需要敲switchport,另外,和交换机不一样的是,这里的端口默认都是shutdown一定要no shut

4,Ether-Channel配置有问题,成员口和channel口经常性无法关联。
如下:
Router(config-if-range)#int range e5/2 , e6/2
Router(config-if-range)#sw
Router(config-if-range)#sw tr en do
Router(config-if-range)#sw mo tr
Router(config-if-range)#channel-group 1 mode ac
Router(config-if-range)#no shut
Router(config-if-range)#exit

*Jun 14 04:21:56.823: %LINK-3-UPDOWN: Interface Ethernet1/1, changed state to up
*Jun 14 04:21:56.823: %LINK-3-UPDOWN: Interface Ethernet2/1, changed state to up
Router(config)#int port-channel 1
*Jun 14 04:22:06.031: %PM-4-BAD_COOKIE: bad cookie data was detected
-Traceback= 9FADBA7 9FAD307 9FA8D0E 9F9BD72 809E955 9F9523A 809E8DD 9F95026 9F89CB5 A0A3401 A0A3107 A0A71E0 A0A98CB A09026C A08F386 809E91D
*Jun 14 04:22:06.031: %PM-4-BAD_COOKIE: bad cookie data was detected
-Traceback= 9FADBA7 9FCEF3A 9F5CBC0 9FB3FDB 809E955 9FB4CA8 9FB9E72 9FB9BE9 9FB9B80 809E955 9FB9636 809E955 9FBA559 9FB59D5 9FB57CD 9FA8D26
*Jun 14 04:22:06.031: %PM-4-BAD_COOKIE: bad cookie data was detected
-Traceback= 9FADBA7 A13710B 9F5D0B3 9F783A6 9F78306 A03F3A9 A03EF7B 9F7C3E3 9F9BFD2 809E955 9F9523A 809E8DD 9F95026 9F89CB5 A0A3401 A0A3107
*Jun 14 04:22:06.031: %PM-4-BAD_COOKIE: bad cookie data was detected
-Traceback= 9FADBA7 A0C1BB5 9F5D0B3 9F783A6 9F78306 A03F3A9 A03EF7B 9F7C3E3 9F9BFD2 809E955 9F9523A 809E8DD 9F95026 9F89CB5 A0A3401 A0A3107
*Jun 14 04:22:06.031: %PM-4-BAD_COOKIE: bad cookie data was detected
-Traceback= 9FADBA7 9FCF10D 9F5D233 9F785DC 9F78306 A03F3A9 A03EF7B 9F7C3EE 9F9BFD2 809E955 9F9523A 809E8DD 9F95026 9F89CB5 A0A3401 A0A3107
*Jun 14 04:22:06.031: %PM-4-BAD_COOKIE: bad cookie data was detected
-Traceback= 9FADBA7 9F3937E 9F5D233 9F785DC 9F78306 A03F3A9 A03EF7B 9F7C3EE 9F9BFD2 809E955 9F9523A 809E8DD 9F95026 9F89CB5 A0A3401 A0A3107
Router(config)#int port-channel 1
Router(config-if)#
Router(config-if)#
*Jun 14 04:22:06.031: %PM-4-BAD_COOKIE: bad cookie data was detected
-Traceback= 9FB2FF1 9F40AE7 9F26ADB 992C643 992C7D3 9924434 9931243 9F257C6 9F25513 9931D99 9F39B37 9F39568 9F5D233 9F785DC 9F78306 A03F3A9

不过结果倒是挺好
Router#show etherch su
Flags:  D - down        P - bundled in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        R - Layer3      S - Layer2
        U - in use      N - not in use, no aggregation
        f - failed to allocate aggregator

        M - not in use, no aggregation due to minimum links not met
        m - not in use, port not aggregated due to minimum links not met
        u - unsuitable for bundling
        d - default port

        w - waiting to be aggregated
Number of channel-groups in use: 1
Number of aggregators:           1

Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
1     Po12(SU)        LACP      Et5/2(P)       Et6/2(P)
      

5,比较崩溃的是L2IOU修改了一些命令,印象较深的是spanning-tree Portfast BPDUGuard defaut,现修改为:
Spanning-Tree PortFast Edge BPDUGuard Default。可能是新命令吧。

6,很不爽的,默认的系统名仍然叫做Router!!!!!!!!!!!!!

7,更新一个,Ethernet接口容易出问题,如果是128的Ram,默认L2IOU分配内存为256M,L3IOU分配内存128M,这两个值不到万不得已不要动。

8,更新一个,DAI没有!

目前先发这么多,做个备忘。

再更新一个,L2IOU没法支持MLS QOS系列指令。不过可以理解,MLS是交换机特有的技术,这个L2IOU模拟的肯定有问题。







If A thru Z are scored 1 thru 26.
Your knowledge has a score of only 96 (11+14+15+23+12+5+4+7+5)
And your hardwork just scores 98 (8+1+18+4+23+15+18+11)
While your attitude is what determines everything of yo
百度谷歌雅虎搜狗搜搜

使用道具 举报

Rank: 8Rank: 8

NC之神 CCNP CCSP CCIE RS CCIE Security CCIE ISP CCIE Voice CCA CCXX CCNA

发表于 6-15-2011 14:43:55 |显示全部楼层
这个得顶!!!

使用道具 举报

Rank: 3Rank: 3

CCNP CCNA

发表于 6-22-2011 22:15:55 |显示全部楼层
本帖最后由 mscq515 于 2011-6-22 22:19 编辑

经过测试L2IOU发现的问题:
1、没有port security
2、ip dhcp snooping 绑定表显示为“空”

使用道具 举报

Rank: 8Rank: 8

CCXX CCA CCIE RS CCNP CCNA

发表于 6-23-2011 20:13:01 |显示全部楼层
这个还真是没有发现啊

使用道具 举报

Rank: 6Rank: 6

CCXX CCIE RS CCNP CCNA

发表于 7-24-2011 00:31:42 |显示全部楼层
无语了无语了,先弄L2的,不管L3,OK了,L2正常。放入L3启不动,说License有问题,换0101010101010101之后L3可以了,L2又不行了。删除License文件重新来也不行。

使用道具 举报

Rank: 8Rank: 8

发表于 7-24-2011 20:36:13 |显示全部楼层
mscq515 发表于 6-22-2011 22:15
经过测试L2IOU发现的问题:
1、没有port security
2、ip dhcp snooping 绑定表显示为“空”

Good~
我再补充一下,接口配置为Trunk时,一旦Trunk配置OK,必定报错!
不过,可以无视。
If A thru Z are scored 1 thru 26.
Your knowledge has a score of only 96 (11+14+15+23+12+5+4+7+5)
And your hardwork just scores 98 (8+1+18+4+23+15+18+11)
While your attitude is what determines everything of yo

使用道具 举报

Rank: 8Rank: 8

发表于 7-24-2011 20:37:03 |显示全部楼层
Port-Security这个待查。印象里好像有的。
另外,这个东西做Interface range非常想死。。。。。。。
If A thru Z are scored 1 thru 26.
Your knowledge has a score of only 96 (11+14+15+23+12+5+4+7+5)
And your hardwork just scores 98 (8+1+18+4+23+15+18+11)
While your attitude is what determines everything of yo

使用道具 举报

Rank: 8Rank: 8

发表于 7-24-2011 20:41:25 |显示全部楼层
mmorange 发表于 7-24-2011 00:31
无语了无语了,先弄L2的,不管L3,OK了,L2正常。放入L3启不动,说License有问题,换0101010101010101之后L ...

我上次给你说的办法不行?!~~~~~~

试试这个步骤,严格来:
1,将L2和L3一起放到一个目录下;
2,将上层目录里隐藏的iouce删除;这个很重要!
3,运行一下L2和L3,肯定会报错,然后按照它的要求在上级目录创建一个iourc;
4,按照L2IOU的license编辑IOURC。
再试试看看。我这么做OK。
If A thru Z are scored 1 thru 26.
Your knowledge has a score of only 96 (11+14+15+23+12+5+4+7+5)
And your hardwork just scores 98 (8+1+18+4+23+15+18+11)
While your attitude is what determines everything of yo

使用道具 举报

Rank: 6Rank: 6

CCXX CCIE RS CCNP CCNA

发表于 7-24-2011 22:15:31 |显示全部楼层
小马 发表于 7-24-2011 20:41
我上次给你说的办法不行?!~~~~~~

试试这个步骤,严格来:

这个我试过了,只有L2可以起来,L3起不来,如果改用0101010101010101,L3就可以起来,L2又起不来了。

附件: 你需要登录才可以下载或查看附件。没有帐号?用户注册

使用道具 举报

Rank: 8Rank: 8

发表于 7-25-2011 21:00:05 |显示全部楼层
人品啊人品啊
搬机器!
我来~
If A thru Z are scored 1 thru 26.
Your knowledge has a score of only 96 (11+14+15+23+12+5+4+7+5)
And your hardwork just scores 98 (8+1+18+4+23+15+18+11)
While your attitude is what determines everything of yo

使用道具 举报

Rank: 6Rank: 6

CCXX CCIE RS CCNP CCNA

发表于 7-25-2011 21:41:24 |显示全部楼层

使用道具 举报

Rank: 8Rank: 8

发表于 7-30-2011 19:13:48 |显示全部楼层
严重测试发现这个L2IOU对Pvlan的支持完全是~!~~~
YTSH
If A thru Z are scored 1 thru 26.
Your knowledge has a score of only 96 (11+14+15+23+12+5+4+7+5)
And your hardwork just scores 98 (8+1+18+4+23+15+18+11)
While your attitude is what determines everything of yo

使用道具 举报

您需要登录后才可以回帖 登录 | 用户注册

手机版|Archiver|NetConfed ( 苏ICP备12003708号 )  

GMT+8, 5-21-2012 18:40 , Processed in 0.123254 second(s), 19 queries , Gzip On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部