现场简化组网图如下,SW1和SW2堆叠,控制器连接交换机的管理口:
现场两台设备堆叠,ADDC自动下发方案,配置了openflow,但上线后openflow一直断断续续:
%Feb 26 08:07:28:242 2001 leaf-10.6.49.103 OFP/5/OFP_CONNECT: Openflow instance 1, controller 1 is connected.
%Feb 26 08:07:28:250 2001 leaf-10.6.49.103 OFP/5/OFP_DISCONNECT: Openflow instance 1, controller 1 is disconnected.disconnected reason:Epoll error.
%Feb 26 08:07:28:252 2001 leaf-10.6.49.103 OFP/5/OFP_FAIL_OPEN: Openflow instance 1 is in fail secure mode.
从控制器上ping设备,ping报文存在丢包:
ping -c 10000 -vpn-instance mgmt 10.6.49.151
Ping 10.6.49.151 (10.6.49.151): 56 data bytes, press CTRL+C to break
Request time out
56 bytes from 10.6.49.151: icmp_seq=9 ttl=64 time=0.333 ms
56 bytes from 10.6.49.151: icmp_seq=10 ttl=64 time=0.377 ms
56 bytes from 10.6.49.151: icmp_seq=11 ttl=64 time=1.718 ms
56 bytes from 10.6.49.151: icmp_seq=12 ttl=64 time=0.364 ms
56 bytes from 10.6.49.151: icmp_seq=13 ttl=64 time=0.361 ms
Request time out
Request time out
56 bytes from 10.6.49.151: icmp_seq=16 ttl=64 time=0.376 ms
56 bytes from 10.6.49.151: icmp_seq=17 ttl=64 time=0.343 ms
56 bytes from 10.6.49.151: icmp_seq=18 ttl=64 time=0.381 ms
Request time out
如果将插在管理口上的电缆接到电脑上,从电脑ping控制器无丢包现象;在设备另一个管理口上插光转电模块,插同样的电缆,ping控制器也没有丢包现象,openflow也正常。
(1)
(2)
(3) 在实验室测试,将两台5130S堆叠,配置mac永久保留,此时查看两框上物理接口mac如下,即物理接口mac堆叠后不相同:
GigabitEthernet1/0/1
Current state: DOWN
IP packet frame type: Ethernet II, hardware address: 3cf5-cc01-44f2
GigabitEthernet2/0/1
Current state: DOWN
IP packet frame type: Ethernet II, hardware address: 9ce8-954c-6c36
查看vlan虚接口mac地址如下:
Vlan-interface99
Current state: UP
Line protocol state: UP
Description: Vlan-interface99 Interface
Bandwidth: 10000000 kbps
Maximum transmission unit: 1500
Internet address: 172.31.2.63/24 (primary)
IP packet frame type: Ethernet II, hardware address: 3cf5-cc01-44f1
IPv6 packet frame type: Ethernet II, hardware address: 3cf5-cc01-44f1
直接拔掉堆叠线,查看两框上的mac地址:
Slot 1:
GigabitEthernet1/0/1
Current state: DOWN
IP packet frame type: Ethernet II, hardware address: 3cf5-cc01-44f2
Vlan-interface99
Current state: UP
Line protocol state: UP
Description: Vlan-interface99 Interface
Bandwidth: 10000000 kbps
Maximum transmission unit: 1500
Internet address: 172.31.2.63/24 (primary)
IP packet frame type: Ethernet II, hardware address: 3cf5-cc01-44f1
IPv6 packet frame type: Ethernet II, hardware address: 3cf5-cc01-44f1
Slot 2:
GigabitEthernet2/0/1
Current state: DOWN
IP packet frame type: Ethernet II, hardware address: 9ce8-954c-6c36
Vlan-interface99
Current state: DOWN
Line protocol state: DOWN
Description: Vlan-interface99 Interface
Bandwidth: 10000000 kbps
Maximum transmission unit: 1500
Internet address: 172.31.2.63/24 (primary)
IP packet frame type: Ethernet II, hardware address: 3cf5-cc01-44f1
IPv6 packet frame type: Ethernet II, hardware address: 3cf5-cc01-44f1
可以看到堆叠分裂后,三层虚接口的mac地址是保持不变的,两台设备的三层接口mac地址一样,但物理接口地址都是以自己的系统mac生成的。之后将分裂后的备框重启一下,查看mac地址,可以看到mac地址是根据该设备的系统mac重新生成的,与原主设备不一样了:
Vlan-interface99
Current state: DOWN
Line protocol state: DOWN
Description: Vlan-interface99 Interface
Bandwidth: 10000000 kbps
Maximum transmission unit: 1500
Internet address: 172.31.2.63/24 (primary)
IP packet frame type: Ethernet II, hardware address: 9ce8-954c-6c35
IPv6 packet frame type: Ethernet II, hardware address: 9ce8-954c-6c35
(4)
将分裂后的备设备(SW3)重启后,重新生成了新的mac,地址冲突解决。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作