CE12812与阿朗DSLAMETH-TRUNK对接问题

发布时间:  2014-12-12 浏览次数:  746 下载次数:  0
问题描述

组网图:数通   华为CE12812两台做集群,阿朗的dslam双上行做链路聚合,下挂与CE12812集群下,如果单上行,不会出现MAC地址漂移,改为双上行后则出现MAC地址漂移
客户要求:
Dslam下挂与集群,实现链路冗余,业务正常   

告警信息
进入设备查看 logbuffer信息如下:
Sep3201415:15:48SX_DT_CXQ_S12812 %%01FEI_COMM/4/hwMflpVlanLoopAlarm_active(l):CID=0x807f0551-alarmID=0x095e0012;MAC flapping detected, VlanId = 94, Original-Port = 10GE2/3/0/5, Flapping port = 10GE1/3/0/23,Eth-Trunk100.Check the network connected to the interface learning a flapping MAC address : d89d-6717-547c.
Sep3201415:15:44SX_DT_CXQ_S12812 %%01FEI_COMM/4/hwMflpVlanLoopAlarm_clear(l):CID=0x807f052b-alarmID=0x095e0012-clearType=service_resume;Mac flapping detection recovered in vlan 90.
Sep3201415:15:41SX_DT_CXQ_S12812 %%01FEI_COMM/4/hwMflpVlanLoopAlarm_clear(l):CID=0x807f0551-alarmID=0x095e0012-clearType=service_resume;Mac flapping detection recovered in vlan 94.
Sep3201414:59:57SX_DT_CXQ_S12812 %%01FEI_COMM/4/hwMflpVlanLoopAlarm_active(l):CID=0x807f053e-alarmID=0x095e0012;MAC flapping detected, VlanId = 94, Original-Port = 10GE2/3/0/5, Flapping port = 10GE1/3/0/23,Eth-Trunk100.Check the network connected to the interface learning a flapping MAC address : d89d-6717-547c.
Sep3201414:59:45SX_DT_CXQ_S12812 %%01FEI_COMM/4/hwMflpVlanLoopAlarm_active(l):CID=0x807f052b-alarmID=0x095e0012;MAC flapping detected, VlanId = 90, Original-Port = 10GE2/3/0/5, Flapping port = Eth-Trunk42,Eth-Trunk41.Check the network connected to the interface learning a flapping MAC address : 00e0-fc4c-2bcc.
Sep3201414:59:44SX_DT_CXQ_S12812 %%01FEI_COMM/4/hwMflpVlanLoopAlarm_clear(l):CID=0x807f052b-alarmID=0x095e0012-clearType=service_resume;Mac flapping detection recovered in vlan 90.
[~SX_DT_CXQ_S12812]dis mac-address | in 00e0-fc4c-2bcc
---- Flags: * - Backup 
-------------------------------------------------------------------------------
MAC Address    VLAN/VSI                          Learned-From        Type
-------------------------------------------------------------------------------
00e0-fc4c-2bcc 90/-                              10GE2/3/0/5         dynamic 
00e0-fc4c-2bcc 94/-                              Eth-Trunk100        dynamic 
<SX_DT_CXQ_S12812>dis mac-address | in 00e0-fc4c-2bcc
---- Flags: * - Backup 
-------------------------------------------------------------------------------
MAC Address    VLAN/VSI                          Learned-From        Type
-------------------------------------------------------------------------------
00e0-fc4c-2bcc 90/-                              10GE2/3/0/5         dynamic 
00e0-fc4c-2bcc 94/-                              10GE1/3/0/23        dynamic  
处理过程
一、CE12812的链路聚合的模式为手工静态
  此时,eth-trunk建立不正常,双链路聚合不成功,出现了MAC地址漂移问题。
此时CE12812的配置为
#
interface Eth-Trunk4
description DTSQQQAL7302-A00
port link-type hybrid
port hybrid pvid vlan 726
port hybrid tagged vlan 94
port hybrid untagged vlan 726
port vlan-stacking vlan 1001 to 1768 stack-vlan 726
local-preference disable
#

interface GE1/1/0/4
description DTSQQQAL7302-A00
eth-trunk 4
negotiation disable
#
interface GE1/1/0/5
description DTSQPQAL7302-A00
eth-trunk 5
negotiation disable

此时阿朗的Dslam配置如下:

configure interface shub port 0 port-type unused
admin equipment port 1 copy-to-port 0
configure la no disable-lacp
configure la aggregator-port 1 lacp-mode enable-lacp active-lacp actor-key 12345
configure la aggregator-port 0 lacp-mode enable-lacp active-lacp actor-key 12345
此时的现象
[~SX_DT_CXQ_S12812]dis mac-address | in 00e0-fc4c-2bcc
---- Flags: * - Backup 
-------------------------------------------------------------------------------
MAC Address    VLAN/VSI                          Learned-From        Type
-------------------------------------------------------------------------------
00e0-fc4c-2bcc 90/-                              10GE2/3/0/5         dynamic 
00e0-fc4c-2bcc 94/-                              Eth-Trunk100        dynamic 


二、将CE12812聚合修改为LACP模式
   配置修改后,eth-trunk建立还是不正常,双链路聚合还是不成功,还会出现MAC地址漂移问题
此时现象
[~SX_DT_CXQ_S12812]dis mac-address | in 00e0-fc4c-2bcc
---- Flags: * - Backup 
-------------------------------------------------------------------------------
MAC Address    VLAN/VSI                          Learned-From        Type
-------------------------------------------------------------------------------
00e0-fc4c-2bcc 90/-                              10GE2/3/0/5         dynamic 
00e0-fc4c-2bcc 94/-                              Eth-Trunk100        dynamic 

三、将阿朗的Dslam的端口配置作修改后
增加了主动模式改为被动模式,并将端口加入到聚合组中,配置修改后,eth-trunk建立正常,双链路建立成功,未出现MAC地址漂移问题,业务正常。
此时阿朗dslam的配置如下
configure la aggregator-port 1 lacp-mode enable-lacp  actor-key 12345
configure la aggregator-port 1 aggregatable
configure la aggregator-port 0 lacp-mode enable-lacp  actor-key 12345
configure la aggregator-port 0 aggregatable
根因
1、  在单链路上行时没有出现mac漂移问题

2、 在改为双链路上行做聚合,出现了mac地址问题

3、 此时CE12812的eth-trunk建立只是物理状态正常,实际两种设备之间协议并未协调成功
解决方案
CE12812与阿朗设备采用eth-trunk链路做对接,阿朗设备与CE12812连接的端口必须加入到聚合组中且不能使用动态的LACP。
建议与总结
如果日后遇到与不同厂商的设备做对接,首先了解对端设备的端口特性,参数。根据现象,查看相关的Logbutter信息,端口状态,确定华为设备配置无问题后,应当从对端设备查找问题,请对接方确定配置的准确性,以便更快的解决问题。

END