思科G0/25—华为G0/0/1
思科G0/27—华为G0/0/2
华为互换机配置链路聚合有两种模式,别离是manual和lacp-static,若是不做配置,互换机默认是manual,所以肯定要手动将模式改为lacp-static,这点很沉要,不然无法跟思科互换机成功协商LACP。
华为互换机
#interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
mode lacp-static??? //批改链路聚合模式
max active-linknumber 2???//设置最大活动链接数为2
bpdu enable????????//开启BPDU
#lacp priority 100
#interface GigabitEthernet0/0/1
eth-trunk 1
undo ntdp enable
undo ndp enable
(在配置端口前,肯定要将端口原有配置清空,全数undo掉,不然无法利用eth-trunk号令。若是之前端口配置过trunk口,能够使用undo port link-type断根trunk状态)
#interface GigabitEthernet0/0/2
eth-trunk 1
undo ntdp enable
undo ndp enable
思科互换机
interface port-channel1
switchport trunk encapsulation dot1q
switchport?mode trunk
interface g0/25
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group?1 mode active
interface g0/27
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group?1 mode active








