CISCO 3750 BUG

 

今天在测试cisco 3750的时候发现一个bug

Switch Ports Model              SW Version            SW Image                
------ ----- -----              ----------            ----------              
*    3 28    WS-C3750G-24TS     12.2(55)SE5           C3750-IPSERVICESK9-M    
 

这是release版本信息

我关掉RIP中的validate-update-source 这个功能,从一个接口发送一个不是相邻源ip的RIP数据包,从接口0/2 (ip地址10.0.0.1)发送如下数据包

Packet Info:
    Packet Number:                      000005
    Packet Length:                      70
    Captured Length:                    66
    时间差                                 0.000100 秒
以太网 - II                                [0/14]
    目标地址:                               01:00:5E:00:00:09  [0/6]
    源地址:                                C4:3D:C7:A0:F6:84  [6/6]
    协议类型:                               0x0800  (Internet IP(IPv4))  [12/2]
IP - 因特网协议                              [14/20]
    版本:                                 4  [14/1]  0x00F0
    头部长度:                               5  (20 字节)  [14/1]  0x000F
    区分服务字段:                             0000 0000  [15/1]  0x00FF
        不同的服务代码:                        0000 00..  [15/1]  0x00FC
        传输协议忽略CE位:                      .... ..0.  (忽略)  [15/1]  0x0002
        拥塞:                             .... ...0  (不拥塞)  [15/1]  0x0001
    总长度:                                52  (52 字节)  [16/2]
    标识:                                 0x53E2  (21474)  [18/2]
    分段标志:                               000. ....  [20/1]  0x00E0
        保留:                             0... ....  [20/1]  0x0080
        分段:                             .0.. ....  (可能分段)  [20/1]  0x0040
        更多分段:                           ..0. ....  (最后一个段)  [20/1]  0x0020
    分段偏移量:                              0  [20/2]  0x1FFF
    生存时间:                               1  [22/1]
    上层协议:                               17  (UDP)  [23/1]
    校验和:                                0xBDBC  (正确)  [24/2]
    源IP地址:                              200.0.0.17  [26/4]
    目标IP地址:                             224.0.0.9  [30/4]
UDP - 用户数据报协议                           [34/8]
    源端口:                                520  [34/2]
    目标端口:                               520  [36/2]
    长度:                                 32  [38/2]
    检验和:                                0x90D4  (正确)  [40/2]
RIP - 路由信息协议                            [42/24]
    命令:                                 2  (应答全部或者部分路由表)  [42/1]
    版本:                                 2  [43/1]
    未使用:                                0  [44/2]
    RIP 路由信息 - 1                        [46/20]
        地址簇:                            2  [46/2]
        路由标记:                           0  [48/2]
        目的地址:                           192.168.1.0  [50/4]
        子网掩码:                           255.255.255.0  [54/4]
        下一个路由节点:                        0.0.0.0  [58/4]
        跳数:                             1  [62/4]
FCS:
    FCS:                                0x5A7740D4  (Calculated)
 

 

 

最后路由表显示如下:

 

 

cisoc3750#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

R    192.168.1.0/24 [120/1] via 200.0.0.17, 00:22:07

 

可以看到这条路由的时间为22m,都没删掉,而且我拔掉所有的网线,端口down掉,这条路由都没删掉,这条路由的格式也好像不对。